nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 48ac0a64c65b36f90fa295bfa4187390ee8b37ae
parent cf4901da2d8f72a99d8575fd6ac8b3a3687cf9ea
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue,  8 Sep 2020 08:58:29 +0200

tweaks: dummy commit, to add some info about the previous one

The previous commit fixed https://savannah.gnu.org/bugs/?59071.

That bug existed since version 5.1, commit cc6d1d59.

But before that, a capital Ñ could not be typed (when built with Slang)
and would enter an invalid byte upon the next keystroke.

That bug existed since version 2.8.6, commit 43a5c876.

Diffstat:
Msrc/global.c | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -728,7 +728,6 @@ void shortcut_init(void) #endif /* Start populating the different menus with functions. */ - add_to_funcs(do_help, (MMOST | MBROWSER) & ~MFINDINHELP, /* TRANSLATORS: Try to keep the next thirteen strings at most 10 characters. */ N_("Help"), WITHORSANS(help_gist), TOGETHER, VIEW); @@ -827,7 +826,6 @@ void shortcut_init(void) add_to_funcs(flip_replace, MWHEREIS, N_("Replace"), WITHORSANS(replace_gist), BLANKAFTER, VIEW); - add_to_funcs(flip_replace, MREPLACE, N_("No Replace"), WITHORSANS(whereis_gist), BLANKAFTER, VIEW); @@ -1002,6 +1000,7 @@ void shortcut_init(void) add_to_funcs(complete_a_word, MMAIN, N_("Complete"), WITHORSANS(completion_gist), BLANKAFTER, NOVIEW); #endif + #ifndef NANO_TINY add_to_funcs(record_macro, MMAIN, N_("Record"), WITHORSANS(recordmacro_gist), TOGETHER, VIEW); @@ -1032,10 +1031,12 @@ void shortcut_init(void) #endif } #endif /* !NANO_TINY */ + #ifdef NANO_TINY add_to_funcs(do_search_backward, MMAIN, N_("Where Was"), WITHORSANS(wherewas_gist), BLANKAFTER, VIEW); #endif + #if !defined(NANO_TINY) || defined(ENABLE_HELP) add_to_funcs(do_center, MMAIN, N_("Center"), WITHORSANS(center_gist), BLANKAFTER, VIEW); @@ -1108,6 +1109,7 @@ void shortcut_init(void) N_("Suspend"), WITHORSANS(suspend_gist), BLANKAFTER, VIEW); } #endif /* !NANO_TINY */ + #ifdef ENABLE_BROWSER /* The file browser is only available when not in restricted mode. */ if (!ISSET(RESTRICTED)) @@ -1124,6 +1126,7 @@ void shortcut_init(void) N_("First File"), WITHORSANS(firstfile_gist), TOGETHER, VIEW); add_to_funcs(to_last_file, MBROWSER|MWHEREISFILE, N_("Last File"), WITHORSANS(lastfile_gist), BLANKAFTER, VIEW); + #ifndef NANO_TINY add_to_funcs(to_prev_word, MBROWSER, N_("Left Column"), WITHORSANS(browserlefthand_gist), TOGETHER, VIEW);