]> git.wh0rd.org Git - nano.git/log
nano.git
9 years agoBackport of r5338 - r5340 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:43:54 +0000 (06:43 +0000)]
Backport of r5338 - r5340 from trunk.

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

9 years agoBackport r5335 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:42:19 +0000 (06:42 +0000)]
Backport r5335 from trunk.

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

9 years agoBackport r5326 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:39:14 +0000 (06:39 +0000)]
Backport r5326 from trunk.

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

9 years agoBackport r5316 and r5319 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:35:13 +0000 (06:35 +0000)]
Backport r5316 and r5319 from trunk.

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

9 years agoBackport of r5304 and r5307 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:28:19 +0000 (06:28 +0000)]
Backport of r5304 and r5307 from trunk.

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

9 years agoBackport r5287 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:10:04 +0000 (06:10 +0000)]
Backport r5287 from trunk.

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

9 years agoBackport of r5282 from trunk.
Chris Allegretta [Sun, 15 Nov 2015 06:07:15 +0000 (06:07 +0000)]
Backport of r5282 from trunk.

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

9 years agoCreate 2.4 branch
Chris Allegretta [Sun, 5 Jul 2015 07:59:50 +0000 (07:59 +0000)]
Create 2.4 branch

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

9 years agoRecognizing several more kinds of XML files.
Benno Schulenberg [Sun, 28 Jun 2015 18:15:41 +0000 (18:15 +0000)]
Recognizing several more kinds of XML files.

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

9 years agoUnwrapping some lines, rewrapping some others more logically,
Benno Schulenberg [Sun, 28 Jun 2015 14:12:25 +0000 (14:12 +0000)]
Unwrapping some lines, rewrapping some others more logically,
plus several other esthetic tweaks.

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

9 years agoNot checking again for a condition that was checked before.
Benno Schulenberg [Sun, 28 Jun 2015 14:04:03 +0000 (14:04 +0000)]
Not checking again for a condition that was checked before.

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

9 years agoLimiting the selected file to the available ones in the list.
Benno Schulenberg [Sun, 28 Jun 2015 06:32:56 +0000 (06:32 +0000)]
Limiting the selected file to the available ones in the list.

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

9 years agoRemoving a duplicate binding of ^T, to prevent it being shown twice.
Benno Schulenberg [Sat, 27 Jun 2015 15:58:20 +0000 (15:58 +0000)]
Removing a duplicate binding of ^T, to prevent it being shown twice.

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

9 years agoRemoving the obsolete execute flag from the shortcut struct.
Benno Schulenberg [Sat, 27 Jun 2015 15:47:39 +0000 (15:47 +0000)]
Removing the obsolete execute flag from the shortcut struct.

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

9 years agoNormalizing the whitespace and some comments in src/files.c.
Benno Schulenberg [Sat, 27 Jun 2015 15:10:58 +0000 (15:10 +0000)]
Normalizing the whitespace and some comments in src/files.c.

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

9 years agoForgetting the case of an empty filename for replace_buffer(),
Benno Schulenberg [Sat, 27 Jun 2015 15:03:45 +0000 (15:03 +0000)]
Forgetting the case of an empty filename for replace_buffer(),
and not bothering to put the pointer at the top.

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

9 years agoRenaming three flags for clarity.
Benno Schulenberg [Sat, 27 Jun 2015 09:27:19 +0000 (09:27 +0000)]
Renaming three flags for clarity.

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

9 years agoSkipping the undo of a backspace *only* when it really
Benno Schulenberg [Sat, 27 Jun 2015 09:17:36 +0000 (09:17 +0000)]
Skipping the undo of a backspace *only* when it really
tried to delete the final, magic newline.

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

9 years agoVerifying that there exists multidata for the found starting line
Benno Schulenberg [Tue, 23 Jun 2015 18:06:30 +0000 (18:06 +0000)]
Verifying that there exists multidata for the found starting line
before trying to use this multidata -- when a file is inserted, all
its lines will not have any multidata associated with them.

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

9 years agoRemoving the obsolete long option --undo, and sorting some things.
Benno Schulenberg [Sat, 20 Jun 2015 18:48:43 +0000 (18:48 +0000)]
Removing the obsolete long option --undo, and sorting some things.

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

9 years agoAdding a bug reference.
Benno Schulenberg [Sat, 20 Jun 2015 12:53:27 +0000 (12:53 +0000)]
Adding a bug reference.

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

9 years agoReverting the last commit, as it is making things worse:
Benno Schulenberg [Sat, 20 Jun 2015 09:42:26 +0000 (09:42 +0000)]
Reverting the last commit, as it is making things worse:
backspacing at the tail of the file no longer has any efffect.

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

9 years agoNot deleting the magic line, instead of removing and then re-adding it.
Benno Schulenberg [Sat, 20 Jun 2015 09:00:22 +0000 (09:00 +0000)]
Not deleting the magic line, instead of removing and then re-adding it.

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

9 years agoStopping the changed-files colour from spilling beyond an empty line.
Benno Schulenberg [Sat, 20 Jun 2015 08:44:31 +0000 (08:44 +0000)]
Stopping the changed-files colour from spilling beyond an empty line.

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

9 years agoColouring key-binding lines in a nanorc file affirmatively
Benno Schulenberg [Sat, 20 Jun 2015 08:31:27 +0000 (08:31 +0000)]
Colouring key-binding lines in a nanorc file affirmatively
only when the specified menu name is an existing one.

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

9 years agoKeeping homedir NULL when no home directory could be determined,
Benno Schulenberg [Sat, 20 Jun 2015 08:21:35 +0000 (08:21 +0000)]
Keeping homedir NULL when no home directory could be determined,
so that nano will show a message about it.

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

9 years agoMaking M-W work also right after startup.
Benno Schulenberg [Sat, 20 Jun 2015 08:10:25 +0000 (08:10 +0000)]
Making M-W work also right after startup.

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

9 years agoDeleting two unused things, and adding two comments.
Benno Schulenberg [Thu, 18 Jun 2015 19:07:56 +0000 (19:07 +0000)]
Deleting two unused things, and adding two comments.

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

9 years agoAllowing a tiny nano to enable search and position histories.
Benno Schulenberg [Thu, 18 Jun 2015 18:51:27 +0000 (18:51 +0000)]
Allowing a tiny nano to enable search and position histories.

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

9 years agoImproving the visibility of the undo-related debugging messages.
Benno Schulenberg [Wed, 17 Jun 2015 15:17:09 +0000 (15:17 +0000)]
Improving the visibility of the undo-related debugging messages.

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

9 years agoRenaming the parameter 'current_action' to 'action',
Benno Schulenberg [Wed, 17 Jun 2015 11:18:20 +0000 (11:18 +0000)]
Renaming the parameter 'current_action' to 'action',
in order to match the other functions.

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

9 years agoOops! Misplaced a closing parenthesis.
Benno Schulenberg [Wed, 17 Jun 2015 11:12:42 +0000 (11:12 +0000)]
Oops!  Misplaced a closing parenthesis.

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

9 years agoEliding an unneeded variable and correcting two comments.
Benno Schulenberg [Wed, 17 Jun 2015 10:59:16 +0000 (10:59 +0000)]
Eliding an unneeded variable and correcting two comments.
And putting the more frequent condition first.

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

9 years agoAdjusting whitespace after the previous change.
Benno Schulenberg [Wed, 17 Jun 2015 10:47:00 +0000 (10:47 +0000)]
Adjusting whitespace after the previous change.

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

9 years agoPreventing the addition of an extra newline when undoing a Backspace or Delete
Benno Schulenberg [Wed, 17 Jun 2015 10:41:57 +0000 (10:41 +0000)]
Preventing the addition of an extra newline when undoing a Backspace or Delete
at the tail of the file while nonewlines is not set.

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

9 years agoNot checking for non-NULL before freeing a variable, as it's unnecessary.
Benno Schulenberg [Sun, 14 Jun 2015 19:14:41 +0000 (19:14 +0000)]
Not checking for non-NULL before freeing a variable, as it's unnecessary.

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

9 years agoNot bothering to look for any starting matches on the current line
Benno Schulenberg [Sun, 14 Jun 2015 18:06:36 +0000 (18:06 +0000)]
Not bothering to look for any starting matches on the current line
when the whole line has already been coloured.

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

9 years agoSkipping to the next step when a found start has been qualified as
Benno Schulenberg [Sun, 14 Jun 2015 17:56:44 +0000 (17:56 +0000)]
Skipping to the next step when a found start has been qualified as
an end earlier.  This helps with Python's triple-quoted strings.

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

9 years agoAdding some debugging code to track which multidata codes get assigned.
Benno Schulenberg [Sun, 14 Jun 2015 15:58:57 +0000 (15:58 +0000)]
Adding some debugging code to track which multidata codes get assigned.

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

9 years agoMaking it easy to see what codes a key stroke produces when debugging.
Benno Schulenberg [Thu, 11 Jun 2015 19:01:28 +0000 (19:01 +0000)]
Making it easy to see what codes a key stroke produces when debugging.

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

9 years agoAdding a section to the man page on the non-obvious functioning of
Benno Schulenberg [Sun, 7 Jun 2015 20:14:41 +0000 (20:14 +0000)]
Adding a section to the man page on the non-obvious functioning of
the cutbuffer and the mark.

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

9 years agoClarifying the meaning of the --backupdir option.
Benno Schulenberg [Sun, 7 Jun 2015 18:45:34 +0000 (18:45 +0000)]
Clarifying the meaning of the --backupdir option.

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

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