]> git.wh0rd.org Git - nano.git/log
nano.git
10 years agoUpdating the docs for the narrower meaning of 'all' when rebinding keys.
Benno Schulenberg [Fri, 27 Jun 2014 16:27:52 +0000 (16:27 +0000)]
Updating the docs for the narrower meaning of 'all' when rebinding keys.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5023 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing only those menus where the bound function is actually present,
Benno Schulenberg [Fri, 27 Jun 2014 16:14:52 +0000 (16:14 +0000)]
Allowing only those menus where the bound function is actually present,
when rebinding keys.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5022 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding default keybindings for Cut, PrevWord and NextWord in the prompt input lines.
Benno Schulenberg [Fri, 27 Jun 2014 15:51:24 +0000 (15:51 +0000)]
Adding default keybindings for Cut, PrevWord and NextWord in the prompt input lines.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5021 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing 'firstline' and 'lastline' to be rebound to Ctrl keys.
Benno Schulenberg [Wed, 25 Jun 2014 09:17:38 +0000 (09:17 +0000)]
Allowing 'firstline' and 'lastline' to be rebound to Ctrl keys.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5020 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing 'firstfile' and 'lastfile' to be rebound to Ctrl keys.
Benno Schulenberg [Wed, 25 Jun 2014 09:05:55 +0000 (09:05 +0000)]
Allowing 'firstfile' and 'lastfile' to be rebound to Ctrl keys.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5019 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGiving audible feedback when flipping the new buffer to off
Benno Schulenberg [Mon, 23 Jun 2014 20:30:23 +0000 (20:30 +0000)]
Giving audible feedback when flipping the new buffer to off
is not allowed in view mode.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5018 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNormalizing the indentation in do_help().
Benno Schulenberg [Mon, 23 Jun 2014 20:22:42 +0000 (20:22 +0000)]
Normalizing the indentation in do_help().

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5017 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoShowing Ins and Del as valid rebindable keys in the nanorc syntax colouring.
Benno Schulenberg [Mon, 23 Jun 2014 20:17:00 +0000 (20:17 +0000)]
Showing Ins and Del as valid rebindable keys in the nanorc syntax colouring.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5016 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding the bindable function 'gotodir', documenting it, and also
Benno Schulenberg [Mon, 23 Jun 2014 20:03:25 +0000 (20:03 +0000)]
Adding the bindable function 'gotodir', documenting it, and also
documenting 'tofiles' and 'flipnewbuffer', and correcting the
description of 'gototext' (not being about the file browser).

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5015 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming 'no_replace_void()' to 'flip_replace_void()',
Benno Schulenberg [Mon, 23 Jun 2014 18:30:35 +0000 (18:30 +0000)]
Renaming 'no_replace_void()' to 'flip_replace_void()',
to show what it actually does.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5014 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming UP_DIR and DOWN_DIR to UPWARD and DOWNWARD, for clarity,
Benno Schulenberg [Mon, 23 Jun 2014 18:20:12 +0000 (18:20 +0000)]
Renaming UP_DIR and DOWN_DIR to UPWARD and DOWNWARD, for clarity,
to reduce the slight confusion with DIR meaning directory.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5013 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming 'undidmsg' to 'redidmsg', to be apt.
Benno Schulenberg [Sun, 22 Jun 2014 21:26:56 +0000 (21:26 +0000)]
Renaming 'undidmsg' to 'redidmsg', to be apt.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5012 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving a superfluous abortion variable, and placing two comments better.
Benno Schulenberg [Sun, 22 Jun 2014 21:21:00 +0000 (21:21 +0000)]
Removing a superfluous abortion variable, and placing two comments better.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5011 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWhen toggling softwrap, only the edit window needs to be refreshed,
Benno Schulenberg [Sun, 22 Jun 2014 19:23:54 +0000 (19:23 +0000)]
When toggling softwrap, only the edit window needs to be refreshed,
not the entire screen.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5010 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving two pointless calls of get_shortcut(), and adjusting the comments.
Benno Schulenberg [Sun, 22 Jun 2014 19:17:02 +0000 (19:17 +0000)]
Removing two pointless calls of get_shortcut(), and adjusting the comments.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5009 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing three leaks of the cutbuffer, shortening and regrouping some stuff,
Benno Schulenberg [Sun, 22 Jun 2014 11:03:49 +0000 (11:03 +0000)]
Fixing three leaks of the cutbuffer, shortening and regrouping some stuff,
and removing an unneeded iteration of cutbottom.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5008 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWhen redoing a line join at the tail of the file,
Benno Schulenberg [Sun, 22 Jun 2014 10:14:48 +0000 (10:14 +0000)]
When redoing a line join at the tail of the file,
make sure openfile->filebot is updated.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5007 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWhen undoing a line break at the tail of the file,
Benno Schulenberg [Sat, 21 Jun 2014 19:40:30 +0000 (19:40 +0000)]
When undoing a line break at the tail of the file,
make sure openfile->filebot is updated.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5006 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWhen undoing a cut-till-end-of-file, put the cursor back
Benno Schulenberg [Sat, 21 Jun 2014 19:32:17 +0000 (19:32 +0000)]
When undoing a cut-till-end-of-file, put the cursor back
where the cut started, and not at the bottom of the file.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5005 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMiscellaneous whitespace fixes, one type fix, and one more #ifdef NANO_TINY.
Benno Schulenberg [Sat, 21 Jun 2014 19:01:51 +0000 (19:01 +0000)]
Miscellaneous whitespace fixes, one type fix, and one more #ifdef NANO_TINY.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5004 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoLetting +1 and +,1 make nano start on line one column one, overriding
Benno Schulenberg [Fri, 20 Jun 2014 19:10:24 +0000 (19:10 +0000)]
Letting +1 and +,1 make nano start on line one column one, overriding
a position from history.  This fixes Savannah bug #42538.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5003 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoExplaining better what "all" means when rebinding keys.
Benno Schulenberg [Fri, 20 Jun 2014 18:40:34 +0000 (18:40 +0000)]
Explaining better what "all" means when rebinding keys.
This is a soft fix for Savannah bug #42552.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5002 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation with --enable-tiny --enable-mouse.
Benno Schulenberg [Fri, 20 Jun 2014 18:06:22 +0000 (18:06 +0000)]
Fixing compilation with --enable-tiny --enable-mouse.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5001 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation with --enable-tiny --enable-histories --enable-multibuffer.
Benno Schulenberg [Fri, 20 Jun 2014 16:33:12 +0000 (16:33 +0000)]
Fixing compilation with --enable-tiny --enable-histories --enable-multibuffer.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5000 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation with --enable-tiny --enable-wrapping.
Benno Schulenberg [Fri, 20 Jun 2014 16:13:54 +0000 (16:13 +0000)]
Fixing compilation with --enable-tiny --enable-wrapping.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4999 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation with --enable-tiny --enable-histories --enable-nanorc.
Benno Schulenberg [Fri, 20 Jun 2014 16:03:38 +0000 (16:03 +0000)]
Fixing compilation with --enable-tiny --enable-histories --enable-nanorc.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4998 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoHistory logging is no longer dependent upon nanorc support,
Benno Schulenberg [Fri, 20 Jun 2014 15:56:31 +0000 (15:56 +0000)]
History logging is no longer dependent upon nanorc support,
plus many other documentation tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4997 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation with --enable-tiny --enable-browser.
Benno Schulenberg [Fri, 20 Jun 2014 15:35:26 +0000 (15:35 +0000)]
Fixing compilation with --enable-tiny --enable-browser.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4996 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMiscellaneous whitespace adjustments and comment tweaks.
Benno Schulenberg [Fri, 20 Jun 2014 10:48:26 +0000 (10:48 +0000)]
Miscellaneous whitespace adjustments and comment tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4995 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWrapping long lines and actually reporting the name that is not a directory.
Benno Schulenberg [Fri, 20 Jun 2014 10:39:31 +0000 (10:39 +0000)]
Wrapping long lines and actually reporting the name that is not a directory.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4994 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAnother removal and more regrouping.
Benno Schulenberg [Fri, 20 Jun 2014 10:34:52 +0000 (10:34 +0000)]
Another removal and more regrouping.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4993 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving two obsolete variables and regrouping some stuff.
Benno Schulenberg [Fri, 20 Jun 2014 07:55:24 +0000 (07:55 +0000)]
Removing two obsolete variables and regrouping some stuff.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4992 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoHuh!? Why doesn't the build fail here without this change?
Benno Schulenberg [Thu, 19 Jun 2014 21:01:39 +0000 (21:01 +0000)]
Huh!?  Why doesn't the build fail here without this change?

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4991 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPfff... Getting all iterations right is difficult.
Benno Schulenberg [Thu, 19 Jun 2014 20:19:22 +0000 (20:19 +0000)]
Pfff...  Getting all iterations right is difficult.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4990 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTransform many DISABLE_NANORC #ifdefs to the new DISABLE_HISTORIES.
Benno Schulenberg [Thu, 19 Jun 2014 20:05:24 +0000 (20:05 +0000)]
Transform many DISABLE_NANORC #ifdefs to the new DISABLE_HISTORIES.
This completes the fix for Savannah bug #42539.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4989 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding a --disable-histories flag, to disable the code for
Benno Schulenberg [Thu, 19 Jun 2014 17:39:26 +0000 (17:39 +0000)]
Adding a --disable-histories flag, to disable the code for
the histories of search/replace strings and cursor positions.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4988 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing --historylog and --poslog to function
Benno Schulenberg [Thu, 19 Jun 2014 15:09:23 +0000 (15:09 +0000)]
Allowing --historylog and --poslog to function
also when --ignorercfiles is given.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4987 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdating some comments to match the current state of affairs.
Benno Schulenberg [Thu, 19 Jun 2014 13:08:23 +0000 (13:08 +0000)]
Updating some comments to match the current state of affairs.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4986 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming 'no_more_space()' to 'more_space()' for consistency.
Benno Schulenberg [Thu, 19 Jun 2014 11:58:11 +0000 (11:58 +0000)]
Renaming 'no_more_space()' to 'more_space()' for consistency.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4985 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving a condition and a break that cancel each other.
Benno Schulenberg [Wed, 18 Jun 2014 21:23:50 +0000 (21:23 +0000)]
Removing a condition and a break that cancel each other.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4984 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming 'function_type' to 'key_type', for clarity.
Benno Schulenberg [Wed, 18 Jun 2014 20:43:05 +0000 (20:43 +0000)]
Renaming 'function_type' to 'key_type', for clarity.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4983 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming the undo type UNSPLIT to JOIN, for clarity.
Benno Schulenberg [Wed, 18 Jun 2014 20:11:52 +0000 (20:11 +0000)]
Renaming the undo type UNSPLIT to JOIN, for clarity.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4982 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAnd eliding a totally unused 'strdata2'.
Benno Schulenberg [Wed, 18 Jun 2014 20:01:30 +0000 (20:01 +0000)]
And eliding a totally unused 'strdata2'.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4981 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEliding the in fact unneeded 'to_eof'
Benno Schulenberg [Wed, 18 Jun 2014 19:59:12 +0000 (19:59 +0000)]
Eliding the in fact unneeded 'to_eof'

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4980 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming 'to_end' to 'to_eof', to lessen confusion with CUT_TO_END.
Benno Schulenberg [Wed, 18 Jun 2014 19:46:35 +0000 (19:46 +0000)]
Renaming 'to_end' to 'to_eof', to lessen confusion with CUT_TO_END.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4979 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking sure the cutbuffer is cleared at the appropriate moments.
Benno Schulenberg [Wed, 18 Jun 2014 19:04:35 +0000 (19:04 +0000)]
Making sure the cutbuffer is cleared at the appropriate moments.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4978 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoReplacing SYSCONFDIR with an absolute path or a circumlocution,
Benno Schulenberg [Tue, 17 Jun 2014 20:30:59 +0000 (20:30 +0000)]
Replacing SYSCONFDIR with an absolute path or a circumlocution,
as suggested by Mike Frysinger, plus some other tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4977 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAfter an undo or redo, update the 'placewewant'.
Benno Schulenberg [Tue, 17 Jun 2014 15:50:34 +0000 (15:50 +0000)]
After an undo or redo, update the 'placewewant'.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4976 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving an obsolete boolean variable.
Benno Schulenberg [Tue, 17 Jun 2014 15:37:34 +0000 (15:37 +0000)]
Removing an obsolete boolean variable.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4975 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDisplaying "No file name" on the statusbar for two seconds
Benno Schulenberg [Mon, 16 Jun 2014 20:44:34 +0000 (20:44 +0000)]
Displaying "No file name" on the statusbar for two seconds
when --tempfile was given and the current buffer has no name.
This fixes Savannah bug #41750.  Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4974 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoChanging some wordings, to be more precise or clear.
Benno Schulenberg [Mon, 16 Jun 2014 15:24:28 +0000 (15:24 +0000)]
Changing some wordings, to be more precise or clear.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4973 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdating the docs for the changed location of nano's search history.
Benno Schulenberg [Mon, 16 Jun 2014 15:02:58 +0000 (15:02 +0000)]
Updating the docs for the changed location of nano's search history.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4972 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTrimming the contents of EXTRA_DIST to what is beyond normal.
Benno Schulenberg [Mon, 16 Jun 2014 12:54:06 +0000 (12:54 +0000)]
Trimming the contents of EXTRA_DIST to what is beyond normal.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4971 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving an "-I m4" flag; it is needed only at the top level.
Benno Schulenberg [Mon, 16 Jun 2014 12:45:03 +0000 (12:45 +0000)]
Removing an "-I m4" flag; it is needed only at the top level.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4970 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPutting a common statement outside of the then/else branches.
Benno Schulenberg [Mon, 16 Jun 2014 12:40:14 +0000 (12:40 +0000)]
Putting a common statement outside of the then/else branches.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4969 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAvoiding an "Unknown Command" on every cursor-positioning mouse click.
Benno Schulenberg [Mon, 16 Jun 2014 12:30:35 +0000 (12:30 +0000)]
Avoiding an "Unknown Command" on every cursor-positioning mouse click.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4968 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking sure the compiler also links against libz, which is used by libmagic.
Benno Schulenberg [Mon, 16 Jun 2014 12:06:58 +0000 (12:06 +0000)]
Making sure the compiler also links against libz, which is used by libmagic.
This fixes Savannah bug #38378, reported by Alan Hourihane.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4967 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPutting the cursor back in front of a backwards cut,
Benno Schulenberg [Sat, 14 Jun 2014 14:08:28 +0000 (14:08 +0000)]
Putting the cursor back in front of a backwards cut,
where it was when the cut was made.
Patch by Mark Majeres, edited by Benno Schulenberg.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4966 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving the useless info dir file from the build directory,
Benno Schulenberg [Fri, 13 Jun 2014 20:52:39 +0000 (20:52 +0000)]
Removing the useless info dir file from the build directory,
plus some other tweaks of the spec file.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4965 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving the --undo option, having the undo functions always enabled.
Benno Schulenberg [Fri, 13 Jun 2014 15:20:26 +0000 (15:20 +0000)]
Removing the --undo option, having the undo functions always enabled.
If wished, the user can unbind them.  This fixes Savannah bug #42456.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4964 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNot treating the holding of both Control and Meta the same as only Control.
Benno Schulenberg [Fri, 13 Jun 2014 14:58:02 +0000 (14:58 +0000)]
Not treating the holding of both Control and Meta the same as only Control.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4963 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoLetting a toggle not break a series of ^Ks.
Benno Schulenberg [Fri, 13 Jun 2014 12:28:33 +0000 (12:28 +0000)]
Letting a toggle not break a series of ^Ks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4962 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoLetting a click on titlebar or statusbar not break a series of ^Ks.
Benno Schulenberg [Fri, 13 Jun 2014 12:19:44 +0000 (12:19 +0000)]
Letting a click on titlebar or statusbar not break a series of ^Ks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4961 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoLetting a mousal repositioning of the cursor break a series of ^Ks.
Benno Schulenberg [Fri, 13 Jun 2014 12:07:18 +0000 (12:07 +0000)]
Letting a mousal repositioning of the cursor break a series of ^Ks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4960 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoSetting not just the meta_key but also the func_key boolean when a key is
Benno Schulenberg [Wed, 11 Jun 2014 19:24:38 +0000 (19:24 +0000)]
Setting not just the meta_key but also the func_key boolean when a key is
reinserted into the keyboard buffer.  This fixes Savannah bug #42092.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4959 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving a superfluous switch statement.
Benno Schulenberg [Wed, 11 Jun 2014 18:34:35 +0000 (18:34 +0000)]
Removing a superfluous switch statement.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4958 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAlways accepting mouse events, also when just looking for Unjustify.
Benno Schulenberg [Wed, 11 Jun 2014 18:23:29 +0000 (18:23 +0000)]
Always accepting mouse events, also when just looking for Unjustify.
This fixes Savannah bug #42322.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4957 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoProducing the correct return value for when a mouse event reinserted something
Benno Schulenberg [Wed, 11 Jun 2014 18:04:36 +0000 (18:04 +0000)]
Producing the correct return value for when a mouse event reinserted something
into the keyboard buffer.  And not continuing but getting out when there is a
spurious  mouse event.  Continuing would result in the cutbuffer being cleared
upon the next cut.  These two changes together fix Savannah bug #42326.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4956 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUsing the right type to avoid a compiler warning.
Benno Schulenberg [Tue, 10 Jun 2014 19:50:44 +0000 (19:50 +0000)]
Using the right type to avoid a compiler warning.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4955 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking a couple of minimalistic whitespace adjustments.
Benno Schulenberg [Tue, 10 Jun 2014 19:12:14 +0000 (19:12 +0000)]
Making a couple of minimalistic whitespace adjustments.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4954 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoOne more type fix and two tiny message tweaks.
Benno Schulenberg [Tue, 10 Jun 2014 19:07:47 +0000 (19:07 +0000)]
One more type fix and two tiny message tweaks.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4953 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA few more cosmetic tweaks and type fixes.
Benno Schulenberg [Mon, 9 Jun 2014 20:41:15 +0000 (20:41 +0000)]
A few more cosmetic tweaks and type fixes.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4952 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking tiny nano a bit tinier by preening out some soft-wrap stuff.
Benno Schulenberg [Mon, 9 Jun 2014 20:26:54 +0000 (20:26 +0000)]
Making tiny nano a bit tinier by preening out some soft-wrap stuff.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4951 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA bunch of type fixes, mostly in debugging messages --
Benno Schulenberg [Mon, 9 Jun 2014 15:08:59 +0000 (15:08 +0000)]
A bunch of type fixes, mostly in debugging messages --
line numbers are long, x positions unsigned long.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4950 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEliding four function calls by not comparing with an
Benno Schulenberg [Mon, 9 Jun 2014 14:33:00 +0000 (14:33 +0000)]
Eliding four function calls by not comparing with an
empty string but checking for the terminating '\0'.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4949 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA few cosmetic tweaks of comments and whitespace.
Benno Schulenberg [Mon, 9 Jun 2014 14:23:53 +0000 (14:23 +0000)]
A few cosmetic tweaks of comments and whitespace.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4948 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAvoiding a compiler warning with --disable-wrapping.
Benno Schulenberg [Mon, 9 Jun 2014 10:35:44 +0000 (10:35 +0000)]
Avoiding a compiler warning with --disable-wrapping.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4947 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving two superfluous conditions.
Benno Schulenberg [Mon, 9 Jun 2014 10:28:23 +0000 (10:28 +0000)]
Removing two superfluous conditions.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4946 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRewriting the line-wrapping code to make use of the existing line-break code.
Benno Schulenberg [Mon, 9 Jun 2014 10:01:54 +0000 (10:01 +0000)]
Rewriting the line-wrapping code to make use of the existing line-break code.
And undoing line wraps together with their causal text additions, and not as
separate actions because the user did not make them.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4945 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDifferentiating between undoing a Delete and undoing a Backspace -- the
Benno Schulenberg [Sun, 8 Jun 2014 19:02:12 +0000 (19:02 +0000)]
Differentiating between undoing a Delete and undoing a Backspace -- the
cursor should be in a slightly but significantly different position.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPutting back the "-svn" tag on the version number.
Benno Schulenberg [Thu, 5 Jun 2014 08:20:54 +0000 (08:20 +0000)]
Putting back the "-svn" tag on the version number.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNoting nano 2.3.3 and 2.3.4 in the Changelog.
Benno Schulenberg [Thu, 5 Jun 2014 07:57:04 +0000 (07:57 +0000)]
Noting nano 2.3.3 and 2.3.4 in the Changelog.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4942 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing the toggle between Read File and Execute Command to be rebound.
Benno Schulenberg [Wed, 4 Jun 2014 19:15:16 +0000 (19:15 +0000)]
Allowing the toggle between Read File and Execute Command to be rebound.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4941 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTiny ChangeLog tweaks.
Benno Schulenberg [Wed, 4 Jun 2014 16:32:45 +0000 (16:32 +0000)]
Tiny ChangeLog tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4940 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking use of the macros charalloc() and charealloc(), making use of
Benno Schulenberg [Wed, 4 Jun 2014 16:30:11 +0000 (16:30 +0000)]
Making use of the macros charalloc() and charealloc(), making use of
null_at(), adding a cast, and using an unsigned type for a length.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNormalizing whitespace, comments and interpunction, in various places.
Benno Schulenberg [Wed, 4 Jun 2014 16:02:51 +0000 (16:02 +0000)]
Normalizing whitespace, comments and interpunction, in various places.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGNU nano 2.3.4 release v2.3.4
Chris Allegretta [Mon, 2 Jun 2014 15:17:35 +0000 (15:17 +0000)]
GNU nano 2.3.4 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4936 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-06-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 2 Jun 2014 14:35:21 +0000 (14:35 +0000)]
2014-06-02 Chris Allegretta <chrisa@asty.org>
        * doc/syntax/default.nanorc: Can't do trailing spaces in the
          default syntax or it will hilight the spaces as you type
          them into a new file, which for non-programming is infuriating.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4935 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDifferentiating (for the undo structure) between
Benno Schulenberg [Thu, 29 May 2014 18:50:13 +0000 (18:50 +0000)]
Differentiating (for the undo structure) between
deleting a newline and any other character.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4934 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 29 May 2014 18:30:23 +0000 (18:30 +0000)]
2014-05-29  Chris Allegretta <chrisa@asty.org>
        * src/chars.c (addstrings): Needs to be available even on
          non-utf-8 sustems.
        * nano-regress: Added --disable-utf8 to regression check

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4933 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoBack to SVN
Chris Allegretta [Thu, 29 May 2014 05:25:44 +0000 (05:25 +0000)]
Back to SVN

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4932 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGNU nano 2.3.3 release v2.3.3
Chris Allegretta [Thu, 29 May 2014 05:10:20 +0000 (05:10 +0000)]
GNU nano 2.3.3 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4930 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 29 May 2014 04:38:16 +0000 (04:38 +0000)]
2014-05-28  Chris Allegretta <chrisa@asty.org>
        * doc/syntax/mutt.nanorc: Include Benno's awesome signature
          matcher, modified slightly to also work for quoted sigs.
        * doc/syntax/default.nanorc: Be far more gentle with something
          which affects every file which doesn't match another syntax, and
          the user may not be able to override if their distro turns on
          highlighting by default.\

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4929 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoStandardizing the calls of add_to_funcs(),
Benno Schulenberg [Wed, 28 May 2014 21:02:39 +0000 (21:02 +0000)]
Standardizing the calls of add_to_funcs(),
breaking always between menu and tag.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4928 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking tiny nano again just a tiny bit tinier.
Benno Schulenberg [Wed, 28 May 2014 20:31:06 +0000 (20:31 +0000)]
Making tiny nano again just a tiny bit tinier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4927 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for German, Dutch, and Esperanto.
Benno Schulenberg [Wed, 28 May 2014 20:27:37 +0000 (20:27 +0000)]
Updates from the TP for German, Dutch, and Esperanto.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEliding four unneeded tags.
Benno Schulenberg [Wed, 28 May 2014 19:02:00 +0000 (19:02 +0000)]
Eliding four unneeded tags.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4925 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding a translator comment for the --help output.
Benno Schulenberg [Wed, 28 May 2014 15:44:11 +0000 (15:44 +0000)]
Adding a translator comment for the --help output.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4924 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving an unneeded format specifier.
Benno Schulenberg [Wed, 28 May 2014 15:40:24 +0000 (15:40 +0000)]
Removing an unneeded format specifier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4923 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking ^X in the Read-File menu toggle between
Benno Schulenberg [Wed, 28 May 2014 15:35:00 +0000 (15:35 +0000)]
Making ^X in the Read-File menu toggle between
executing a command and inserting a file.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4922 35c25a1d-7b9e-4130-9fde-d3aeb78583b8