]> git.wh0rd.org Git - nano.git/log
nano.git
9 years agoImproving some formatting, hyphenation, wording and dashes.
Benno Schulenberg [Sun, 7 Jun 2015 16:45:09 +0000 (16:45 +0000)]
Improving some formatting, hyphenation, wording and dashes.
And removing some confusing, historical text.

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

9 years agoShowing the node with the command-line options in the main menu.
Benno Schulenberg [Sun, 7 Jun 2015 10:02:31 +0000 (10:02 +0000)]
Showing the node with the command-line options in the main menu.

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

9 years agoAdding the post-install and pre-uninstall rules for the Info document,
Benno Schulenberg [Thu, 4 Jun 2015 18:05:27 +0000 (18:05 +0000)]
Adding the post-install and pre-uninstall rules for the Info document,
plus some tweaks.  (Patch was tested by Kamil Dudka.)

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

9 years agoFixing compilation with --enable-tiny.
Benno Schulenberg [Thu, 4 Jun 2015 17:59:50 +0000 (17:59 +0000)]
Fixing compilation with --enable-tiny.

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

9 years agoRequiring again that the triple quote that starts a docstring
Benno Schulenberg [Tue, 2 Jun 2015 14:53:48 +0000 (14:53 +0000)]
Requiring again that the triple quote that starts a docstring
is followed by some character.

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

9 years agoColouring also an optional option in apt's sources.list on Debian.
Benno Schulenberg [Tue, 2 Jun 2015 14:35:21 +0000 (14:35 +0000)]
Colouring also an optional option in apt's sources.list on Debian.

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

9 years agoTweaking some wordings, adding some missing formatting to the Info document,
Benno Schulenberg [Tue, 2 Jun 2015 14:24:19 +0000 (14:24 +0000)]
Tweaking some wordings, adding some missing formatting to the Info document,
and fixing an mdash.

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

9 years agoPreventing a floating-point exception when the available length
Benno Schulenberg [Sun, 31 May 2015 08:45:17 +0000 (08:45 +0000)]
Preventing a floating-point exception when the available length
for an answer becomes zero.  The answer will instead wrap to the
next line, which does not look nice but is better than crashing.
Patch by Mahyar Abbaspour.

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

9 years agoAh, fixing name.
Benno Schulenberg [Thu, 28 May 2015 18:59:41 +0000 (18:59 +0000)]
Ah, fixing name.

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

9 years agoAllowing a CD name to contain any character.
Benno Schulenberg [Thu, 28 May 2015 18:56:31 +0000 (18:56 +0000)]
Allowing a CD name to contain any character.
Changes were suggested by Dani Moller.

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

9 years agoMarking window resizes and better file-type detection as done.
Benno Schulenberg [Thu, 28 May 2015 14:56:38 +0000 (14:56 +0000)]
Marking window resizes and better file-type detection as done.

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

9 years agoBack to SVN.
Benno Schulenberg [Thu, 28 May 2015 13:51:32 +0000 (13:51 +0000)]
Back to SVN.

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

9 years agoUsing 'width' instead of hardcoded 16. And doing things in the same order
Benno Schulenberg [Thu, 28 May 2015 13:51:03 +0000 (13:51 +0000)]
Using 'width' instead of hardcoded 16.  And doing things in the same order
for all three cases: setting the string and then positioning the cursor.

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

9 years agoNormalizing the whitespace after the recent changes in logic.
Benno Schulenberg [Thu, 28 May 2015 13:28:37 +0000 (13:28 +0000)]
Normalizing the whitespace after the recent changes in logic.

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

9 years agoHandling a SIGWINCH (which signals a change in window size) not when it
Benno Schulenberg [Thu, 28 May 2015 13:02:29 +0000 (13:02 +0000)]
Handling a SIGWINCH (which signals a change in window size) not when it
happens but only when checking for keyboard input.  It now reports the
SIGWINCH via a special key value to the calling routine, to allow not
only the main editor but also the help viewer and the file browser to
adapt their display to the new size.
Patch by Mahyar Abbaspour, somewhat edited by Benno.

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

9 years agoBleh. Adding postgresql to the Makefile.
Benno Schulenberg [Thu, 21 May 2015 07:46:01 +0000 (07:46 +0000)]
Bleh.  Adding postgresql to the Makefile.

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

9 years agoAdding one file: syntax highlighting for PostgreSQL.
Benno Schulenberg [Wed, 20 May 2015 18:57:18 +0000 (18:57 +0000)]
Adding one file: syntax highlighting for PostgreSQL.
Original file by Devrim Gündüz.  (Tweaked by Benno.)

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

9 years agoLimiting the number of backup files to one hundred thousand, well
Benno Schulenberg [Fri, 8 May 2015 21:11:30 +0000 (21:11 +0000)]
Limiting the number of backup files to one hundred thousand, well
before finding a unused filename takes an annoying amount of time.

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

9 years agoTaking the distant possibility of terabyte files into account,
Benno Schulenberg [Fri, 8 May 2015 19:35:47 +0000 (19:35 +0000)]
Taking the distant possibility of terabyte files into account,
and in the bargain getting rid of the need to calculate the
number of digits in UINT_MAX.

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

9 years agoUsing character classes correctly.
Benno Schulenberg [Sun, 3 May 2015 15:47:05 +0000 (15:47 +0000)]
Using character classes correctly.

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

9 years agoAdjusting a few comments and line wrappings.
Benno Schulenberg [Sun, 3 May 2015 13:56:51 +0000 (13:56 +0000)]
Adjusting a few comments and line wrappings.

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

9 years agoDisplaying an ellipsis only when the filename is longer than
Benno Schulenberg [Sun, 3 May 2015 13:25:24 +0000 (13:25 +0000)]
Displaying an ellipsis only when the filename is longer than
the available space, not when it still fits.

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

9 years agoUnwrapping a bunch of comments.
Benno Schulenberg [Tue, 28 Apr 2015 20:09:40 +0000 (20:09 +0000)]
Unwrapping a bunch of comments.

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

9 years agoImproving the colouring of message tags in PO files.
Benno Schulenberg [Tue, 28 Apr 2015 19:22:11 +0000 (19:22 +0000)]
Improving the colouring of message tags in PO files.

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

9 years agoMatching the file regex of a syntax against the absolute,
Benno Schulenberg [Tue, 28 Apr 2015 19:18:38 +0000 (19:18 +0000)]
Matching the file regex of a syntax against the absolute,
canonical path instead of against the path the user gave.
This fixes Savannah bug #44288, reported by Mike Frysinger.

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

9 years agoAdding a cross reference.
Benno Schulenberg [Sat, 25 Apr 2015 15:47:08 +0000 (15:47 +0000)]
Adding a cross reference.

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

9 years agoRenaming the parameter 'whole_word' to 'whole_word_only',
Benno Schulenberg [Sat, 25 Apr 2015 15:26:09 +0000 (15:26 +0000)]
Renaming the parameter 'whole_word' to 'whole_word_only',
because the first sounds too much like "found_whole" to me.

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

9 years agoDeleting an always-FALSE parameter.
Benno Schulenberg [Sat, 25 Apr 2015 15:17:22 +0000 (15:17 +0000)]
Deleting an always-FALSE parameter.

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

9 years agoRemoving the unintended special case for replacing
Benno Schulenberg [Sat, 25 Apr 2015 14:52:58 +0000 (14:52 +0000)]
Removing the unintended special case for replacing
multiple occurrences of a literal ^ or $.

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

9 years agoEliding another tiny function.
Benno Schulenberg [Tue, 21 Apr 2015 18:47:58 +0000 (18:47 +0000)]
Eliding another tiny function.

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

9 years agoInitializing the search and replace strings in a central place.
Benno Schulenberg [Tue, 21 Apr 2015 18:42:11 +0000 (18:42 +0000)]
Initializing the search and replace strings in a central place.

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

9 years agoSaving and restoring the global flags the short and quick way.
Benno Schulenberg [Tue, 21 Apr 2015 17:37:59 +0000 (17:37 +0000)]
Saving and restoring the global flags the short and quick way.

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

9 years agoSaving the settings of the global case-sens, direction, and regexp flags,
Benno Schulenberg [Tue, 21 Apr 2015 17:27:33 +0000 (17:27 +0000)]
Saving the settings of the global case-sens, direction, and regexp flags,
and restoring them on exit.

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

9 years agoDeleting redundant reprises of a bol/eol regular-expression search.
Benno Schulenberg [Mon, 20 Apr 2015 18:01:06 +0000 (18:01 +0000)]
Deleting redundant reprises of a bol/eol regular-expression search.

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

9 years agoRenaming a function to the simpler 'need_statusbar_update()'
Benno Schulenberg [Mon, 20 Apr 2015 08:35:41 +0000 (08:35 +0000)]
Renaming a function to the simpler 'need_statusbar_update()'
as there is no vertical counterpart.

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

9 years agoFusing two identical functions into one: need_screen_update().
Benno Schulenberg [Mon, 20 Apr 2015 08:16:41 +0000 (08:16 +0000)]
Fusing two identical functions into one: need_screen_update().

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

9 years agoMaking sure an invalid starting byte of a multibyte sequence is properly
Benno Schulenberg [Sat, 18 Apr 2015 20:07:31 +0000 (20:07 +0000)]
Making sure an invalid starting byte of a multibyte sequence is properly
terminated, to prevent the displaying of ghost characters.

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

9 years agoMaking the descriptions of the multibuffer feature more accurate.
Benno Schulenberg [Sat, 18 Apr 2015 16:07:53 +0000 (16:07 +0000)]
Making the descriptions of the multibuffer feature more accurate.

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

9 years agoAdding two files: syntax highlighting for Emacs Lisp and Guile Scheme.
Benno Schulenberg [Sat, 18 Apr 2015 13:04:57 +0000 (13:04 +0000)]
Adding two files: syntax highlighting for Emacs Lisp and Guile Scheme.
Patch by Mark Oteiza.  (Tweaked by Benno.)

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

9 years agoAdding a linter definition to four of the syntax files.
Benno Schulenberg [Sat, 18 Apr 2015 11:35:23 +0000 (11:35 +0000)]
Adding a linter definition to four of the syntax files.
Patch by Mark Oteiza.

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

9 years agoArranging the movement keys in the File Browser in the order of
Benno Schulenberg [Fri, 17 Apr 2015 10:06:03 +0000 (10:06 +0000)]
Arranging the movement keys in the File Browser in the order of
ascending stride, as in the Help Viewer.

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

9 years agoBinding the unbound Home and End keys to goto_top and goto_bottom in the
Benno Schulenberg [Fri, 17 Apr 2015 09:42:04 +0000 (09:42 +0000)]
Binding the unbound Home and End keys to goto_top and goto_bottom in the
Help Viewer and the File Browswer, to mimic the behaviour of these keys
in file viewers and web browsers.

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

9 years agoAdding the 2.4.1 release marker to the Changelog.
Benno Schulenberg [Fri, 17 Apr 2015 09:28:18 +0000 (09:28 +0000)]
Adding the 2.4.1 release marker to the Changelog.

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

9 years agoDistinguishing a failure to launch the linter from receiving 0 parsable lines.
Benno Schulenberg [Fri, 17 Apr 2015 09:24:17 +0000 (09:24 +0000)]
Distinguishing a failure to launch the linter from receiving 0 parsable lines.
Adding a new function to glue together the invocation-error string.

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

9 years agoGNU nano 2.4.1 release v2.4.1
Chris Allegretta [Tue, 14 Apr 2015 18:03:44 +0000 (18:03 +0000)]
GNU nano 2.4.1 release

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

9 years agoGo even farther on the bug report front in README and only mention
Chris Allegretta [Tue, 14 Apr 2015 16:07:23 +0000 (16:07 +0000)]
Go even farther on the bug report front in README and only mention
about the Savannah page, based on Benno's excellent suggestion.

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

9 years agoFixing compilation with --enable-tiny (oops), and mentioning
Benno Schulenberg [Mon, 13 Apr 2015 10:59:12 +0000 (10:59 +0000)]
Fixing compilation with --enable-tiny (oops), and mentioning
also the Savannah page as a place for reporting bugs.

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

9 years agoOops. Correcting an oversight in the Changelog:
Benno Schulenberg [Sun, 12 Apr 2015 11:29:35 +0000 (11:29 +0000)]
Oops.  Correcting an oversight in the Changelog:
the original recent undo fix was by Mark Majeres.

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

9 years agoUsing mallocstrcpy() in a correct manner and
Benno Schulenberg [Sun, 12 Apr 2015 11:15:57 +0000 (11:15 +0000)]
Using mallocstrcpy() in a correct manner and
not letting it free an unrelated string.

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

9 years agoRemoving an unused variable, and adjusting the introductory comment
Benno Schulenberg [Sun, 12 Apr 2015 09:04:30 +0000 (09:04 +0000)]
Removing an unused variable, and adjusting the introductory comment
for the recently tweaked logic.

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

9 years agoRebinding ^Y and ^V in the WhereisFile menu
Benno Schulenberg [Sun, 12 Apr 2015 08:44:37 +0000 (08:44 +0000)]
Rebinding ^Y and ^V in the WhereisFile menu
to the effective and consistent first_file() and last_file().

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

9 years agoStopping M-\ and M-/ in the WhereisFile menu from doing also an
Benno Schulenberg [Sun, 12 Apr 2015 08:31:53 +0000 (08:31 +0000)]
Stopping M-\ and M-/ in the WhereisFile menu from doing also an
unrequested search after having performed their function.
Fixes Savannah bug #44790.

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

9 years agoNot splitting off the marked region into a separate partition, but
Benno Schulenberg [Sat, 11 Apr 2015 15:21:08 +0000 (15:21 +0000)]
Not splitting off the marked region into a separate partition, but
doing the replacings in situ in the current one, to fix an undo bug.

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

9 years agoCorrecting and adjusting some comments.
Benno Schulenberg [Wed, 8 Apr 2015 19:57:31 +0000 (19:57 +0000)]
Correcting and adjusting some comments.

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

9 years agoRenaming some things, for more contrast or to be more fitting.
Benno Schulenberg [Wed, 8 Apr 2015 18:40:40 +0000 (18:40 +0000)]
Renaming some things, for more contrast or to be more fitting.
And condensing the renamed function, and making it void because
the result isn't used anyway.

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

9 years agoGiving the file a neater layout, plus two table headers.
Benno Schulenberg [Tue, 7 Apr 2015 15:37:07 +0000 (15:37 +0000)]
Giving the file a neater layout, plus two table headers.

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

9 years agoAdding the names of recent translators, and sorting them.
Benno Schulenberg [Tue, 7 Apr 2015 15:23:12 +0000 (15:23 +0000)]
Adding the names of recent translators, and sorting them.

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

9 years agoEliding another miniscule function.
Benno Schulenberg [Tue, 7 Apr 2015 14:24:18 +0000 (14:24 +0000)]
Eliding another miniscule function.

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

9 years agoLetting bottombars() set the global variable 'currmenu'.
Benno Schulenberg [Tue, 7 Apr 2015 14:16:07 +0000 (14:16 +0000)]
Letting bottombars() set the global variable 'currmenu'.

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

9 years agoGreatly simplifying the searching for the next matching filename.
Benno Schulenberg [Tue, 7 Apr 2015 13:34:12 +0000 (13:34 +0000)]
Greatly simplifying the searching for the next matching filename.

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

9 years agoAvoiding to set 'focusing' when searching for filenames;
Benno Schulenberg [Tue, 7 Apr 2015 11:04:32 +0000 (11:04 +0000)]
Avoiding to set 'focusing' when searching for filenames;
it should be set only when searching/replacing text.

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

9 years agoEliding a miniscule function, and renaming a variable for clarity.
Benno Schulenberg [Tue, 7 Apr 2015 10:41:00 +0000 (10:41 +0000)]
Eliding a miniscule function, and renaming a variable for clarity.

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

9 years agoConsistently using the appropriate variable in the appropriate function.
Benno Schulenberg [Tue, 7 Apr 2015 08:44:24 +0000 (08:44 +0000)]
Consistently using the appropriate variable in the appropriate function.

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

9 years agoRemoving an unfitting comment and tweaking some others.
Benno Schulenberg [Tue, 7 Apr 2015 08:23:52 +0000 (08:23 +0000)]
Removing an unfitting comment and tweaking some others.

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

9 years agoNot searching for the empty string when nothing was sought yet
Benno Schulenberg [Tue, 7 Apr 2015 08:19:04 +0000 (08:19 +0000)]
Not searching for the empty string when nothing was sought yet
in the file browser (when historylig is set).

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

9 years agoExpanding on nano's features, and condensing the synopsis,
Benno Schulenberg [Sun, 5 Apr 2015 09:14:13 +0000 (09:14 +0000)]
Expanding on nano's features, and condensing the synopsis,

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

9 years agoIgnoring magic without libmagic, and ignoring formatter without spell checking.
Benno Schulenberg [Fri, 3 Apr 2015 17:28:30 +0000 (17:28 +0000)]
Ignoring magic without libmagic, and ignoring formatter without spell checking.

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

9 years agoRemoving two superfluous #ifndefs.
Benno Schulenberg [Fri, 3 Apr 2015 15:57:22 +0000 (15:57 +0000)]
Removing two superfluous #ifndefs.

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

9 years agoUpdating the README text to the fifth milestone: 2.4.x.
Benno Schulenberg [Fri, 3 Apr 2015 15:48:57 +0000 (15:48 +0000)]
Updating the README text to the fifth milestone: 2.4.x.

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

9 years agoAlso colouring a series of changed files that spans more than one line.
Benno Schulenberg [Sat, 28 Mar 2015 19:56:41 +0000 (19:56 +0000)]
Also colouring a series of changed files that spans more than one line.

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

9 years agoOnly scrolling the required number of lines
Benno Schulenberg [Sat, 28 Mar 2015 17:11:28 +0000 (17:11 +0000)]
Only scrolling the required number of lines
when pasting lines onto the bottom line.

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

9 years agoWhen searching, put a found off-screen string on the center line
Benno Schulenberg [Sat, 28 Mar 2015 17:01:46 +0000 (17:01 +0000)]
When searching, put a found off-screen string on the center line
instead of at the bottom or top, to show it in context.

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

9 years agoAdjusting the end point of the marked region to compensate
Benno Schulenberg [Fri, 27 Mar 2015 20:16:36 +0000 (20:16 +0000)]
Adjusting the end point of the marked region to compensate
for any change in length of the region's last line.
Patch by Mark Majeres.

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

9 years agoTreating the formatter like a speller,
Benno Schulenberg [Fri, 27 Mar 2015 16:55:49 +0000 (16:55 +0000)]
Treating the formatter like a speller,
to fix compilation with --disable-speller.
This fixes Savannah bug #44607.

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

9 years agoThe linter is only available when colour is.
Benno Schulenberg [Fri, 27 Mar 2015 15:34:41 +0000 (15:34 +0000)]
The linter is only available when colour is.

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

9 years agoNormalizing some whitespace.
Benno Schulenberg [Fri, 27 Mar 2015 13:46:50 +0000 (13:46 +0000)]
Normalizing some whitespace.

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

9 years agoRemoving two unneeded calls to edit_refresh(), to greatly speed up nano
Benno Schulenberg [Fri, 27 Mar 2015 11:29:23 +0000 (11:29 +0000)]
Removing two unneeded calls to edit_refresh(), to greatly speed up nano
when doing a Replace All with *lots* of occurrences.

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

9 years agoAdjusting some whitespace and wrapping.
Benno Schulenberg [Fri, 27 Mar 2015 10:49:19 +0000 (10:49 +0000)]
Adjusting some whitespace and wrapping.

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

9 years agoRecognizing also Debian package diffs.
Benno Schulenberg [Fri, 27 Mar 2015 09:14:21 +0000 (09:14 +0000)]
Recognizing also Debian package diffs.

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

9 years agoAllowing to rebind the linter when nano was configured with --disable-speller.
Benno Schulenberg [Wed, 25 Mar 2015 19:33:00 +0000 (19:33 +0000)]
Allowing to rebind the linter when nano was configured with --disable-speller.

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

9 years agoRemoving unneeded statement -- nothing has changed the value of 'currmenu'.
Benno Schulenberg [Wed, 25 Mar 2015 16:23:45 +0000 (16:23 +0000)]
Removing unneeded statement -- nothing has changed the value of 'currmenu'.

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

9 years agoRemoving a mistaken menu name -- as the formatter allows no interaction
Benno Schulenberg [Wed, 25 Mar 2015 16:20:45 +0000 (16:20 +0000)]
Removing a mistaken menu name -- as the formatter allows no interaction
it needs no associated menu.

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

9 years agoNot letting hashes inside triple-quoted strings cause comment colouring.
Benno Schulenberg [Wed, 25 Mar 2015 13:50:12 +0000 (13:50 +0000)]
Not letting hashes inside triple-quoted strings cause comment colouring.

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

9 years agoSlightly widening and relaxing the header regex.
Benno Schulenberg [Wed, 25 Mar 2015 13:42:40 +0000 (13:42 +0000)]
Slightly widening and relaxing the header regex.

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

9 years agoCorrecting the description of option --noread,
Benno Schulenberg [Mon, 23 Mar 2015 18:16:37 +0000 (18:16 +0000)]
Correcting the description of option --noread,
allowing writing to named pipes.

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

9 years agoNot unsetting the mark before the possible bailout for zero size.
Benno Schulenberg [Mon, 23 Mar 2015 17:12:49 +0000 (17:12 +0000)]
Not unsetting the mark before the possible bailout for zero size.

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

9 years agoAvoiding a spell-check error when the marked region is zero bytes long.
Benno Schulenberg [Mon, 23 Mar 2015 17:01:25 +0000 (17:01 +0000)]
Avoiding a spell-check error when the marked region is zero bytes long.

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

9 years agoThree tiny Changelog fixes.
Benno Schulenberg [Mon, 23 Mar 2015 13:06:07 +0000 (13:06 +0000)]
Three tiny Changelog fixes.

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

9 years ago2015-02-25 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 23 Mar 2015 04:32:45 +0000 (04:32 +0000)]
2015-02-25  Chris Allegretta <chrisa@asty.org>
        * src/text.c (do_alt_speller): timestamp can just be a __time_t.
        Fixes compilation on win32.

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

9 years agoBack to SVN
Chris Allegretta [Mon, 23 Mar 2015 04:23:32 +0000 (04:23 +0000)]
Back to SVN

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

9 years agoGNU nano 2.4.0 release v2.4.0
Chris Allegretta [Mon, 23 Mar 2015 03:49:37 +0000 (03:49 +0000)]
GNU nano 2.4.0 release

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

9 years agoNot centering the current line when smooth scrolling is used.
Benno Schulenberg [Sun, 22 Mar 2015 13:23:42 +0000 (13:23 +0000)]
Not centering the current line when smooth scrolling is used.
This fixes Savannah bug #42654.

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

9 years agoStepping backward or forward not simply one byte
Benno Schulenberg [Sun, 22 Mar 2015 11:42:29 +0000 (11:42 +0000)]
Stepping backward or forward not simply one byte
but one character (possibly multibyte).
This fixes Savannah bug #42175.

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

9 years agoStarting to look for a multibyte character not at the start of the string,
Benno Schulenberg [Sun, 22 Mar 2015 11:20:02 +0000 (11:20 +0000)]
Starting to look for a multibyte character not at the start of the string,
but only as far back as such a character can possibly be.
Speedup suggested by Mark Majeres.

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

9 years agoPlacing some comments better and unwrapping some lines.
Benno Schulenberg [Sat, 21 Mar 2015 21:40:56 +0000 (21:40 +0000)]
Placing some comments better and unwrapping some lines.

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

9 years agoRemoving some leftovers after Mark's patch.
Benno Schulenberg [Sat, 21 Mar 2015 21:13:03 +0000 (21:13 +0000)]
Removing some leftovers after Mark's patch.

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

9 years agoRestoring the positions of the mark and the cursor in a better way.
Benno Schulenberg [Sat, 21 Mar 2015 21:02:13 +0000 (21:02 +0000)]
Restoring the positions of the mark and the cursor in a better way.
Patch by Mark Majeres.

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

9 years agoKeeping related items together in the ^G help screen.
Benno Schulenberg [Fri, 20 Mar 2015 12:22:49 +0000 (12:22 +0000)]
Keeping related items together in the ^G help screen.

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

9 years agoMaking a message equal to another one.
Benno Schulenberg [Fri, 20 Mar 2015 11:37:53 +0000 (11:37 +0000)]
Making a message equal to another one.

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

9 years agoNormalizing some whitespace, removing an old comment,
Benno Schulenberg [Fri, 20 Mar 2015 11:18:22 +0000 (11:18 +0000)]
Normalizing some whitespace, removing an old comment,
and placing another one better.

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