]> git.wh0rd.org Git - nano.git/log
nano.git
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

9 years agoNot setting the modified flag when an external spell checker
Benno Schulenberg [Tue, 17 Mar 2015 20:10:59 +0000 (20:10 +0000)]
Not setting the modified flag when an external spell checker
didn't make any changes.

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

9 years agoAdding full name of bug reporter.
Benno Schulenberg [Sun, 15 Mar 2015 19:48:50 +0000 (19:48 +0000)]
Adding full name of bug reporter.

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

9 years agoFixing a mistaken message plus a few comments too.
Benno Schulenberg [Sat, 14 Mar 2015 20:17:21 +0000 (20:17 +0000)]
Fixing a mistaken message plus a few comments too.

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

9 years agoGetting out if there is nothing to renumber,
Benno Schulenberg [Sat, 14 Mar 2015 15:59:01 +0000 (15:59 +0000)]
Getting out if there is nothing to renumber,
to prevent do_undo() from falling over when trying to renumber emptiness.
Patch basically by Mark Majeres.

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

9 years agoDropping compile time from version information to enable a reproducible
Benno Schulenberg [Sun, 8 Mar 2015 20:14:10 +0000 (20:14 +0000)]
Dropping compile time from version information to enable a reproducible
build.  Proposed by Jérémy Bobbio and Jordi Mallach.

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

9 years agoUpdating years and version numbers in the docs
Benno Schulenberg [Sun, 8 Mar 2015 15:59:15 +0000 (15:59 +0000)]
Updating years and version numbers in the docs
in anticipation of a release.

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

9 years agoFixing the rebinding of toggles.
Benno Schulenberg [Sun, 8 Mar 2015 15:42:52 +0000 (15:42 +0000)]
Fixing the rebinding of toggles.

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

9 years agoFixing compilation with --enable-tiny plus --enable-nanorc.
Benno Schulenberg [Sun, 8 Mar 2015 12:10:52 +0000 (12:10 +0000)]
Fixing compilation with --enable-tiny plus --enable-nanorc.

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

9 years agoRemoving the mistaken square brackets around the arguments
Benno Schulenberg [Sat, 7 Mar 2015 22:11:56 +0000 (22:11 +0000)]
Removing the mistaken  square brackets around the arguments
of "header" and "magic" -- those regexes are not optional.

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

9 years agoOops.
Benno Schulenberg [Sat, 7 Mar 2015 21:51:01 +0000 (21:51 +0000)]
Oops.

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

9 years agoImproving the indentation of some lists in the nanorc man page.
Benno Schulenberg [Sat, 7 Mar 2015 21:48:15 +0000 (21:48 +0000)]
Improving the indentation of some lists in the nanorc man page.

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

9 years agoAdding a note about the inherent imperfection of using regular expressions
Benno Schulenberg [Sat, 7 Mar 2015 21:30:36 +0000 (21:30 +0000)]
Adding a note about the inherent imperfection of using regular expressions
for syntax highlighting, as suggested by Mike Frysinger.

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

9 years ago Typo fixing and whitespace adjusting of the NEWS file.
Benno Schulenberg [Sat, 7 Mar 2015 20:46:11 +0000 (20:46 +0000)]
  Typo fixing and whitespace adjusting of the NEWS file.

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

9 years agoBack to SVN
Chris Allegretta [Fri, 27 Feb 2015 17:00:11 +0000 (17:00 +0000)]
Back to SVN

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

9 years agoGNU nano 2.3.99pre3 release v2.3.99pre3
Chris Allegretta [Fri, 27 Feb 2015 16:57:55 +0000 (16:57 +0000)]
GNU nano 2.3.99pre3 release

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

9 years ago2015-02-25 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 25 Feb 2015 19:04:53 +0000 (19:04 +0000)]
2015-02-25  Chris Allegretta <chrisa@asty.org>
        * src/rcfile.c (parse_binding): Add exception for do_toggle as
        rebinding toggles broke with r5022.

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

9 years agoOops -- created that typo myself.
Benno Schulenberg [Sat, 21 Feb 2015 11:31:56 +0000 (11:31 +0000)]
Oops -- created that typo myself.

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

9 years agoWrapping some overlong lines, and fixing a typo in the Java file.
Benno Schulenberg [Sat, 21 Feb 2015 10:34:15 +0000 (10:34 +0000)]
Wrapping some overlong lines, and fixing a typo in the Java file.

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

9 years agoFixing the explanation of how to subscribe to a mailing list.
Benno Schulenberg [Sat, 21 Feb 2015 09:45:53 +0000 (09:45 +0000)]
Fixing the explanation of how to subscribe to a mailing list.

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

9 years agoRecognizing also dash, openrc and runscript as shell scripts.
Benno Schulenberg [Wed, 18 Feb 2015 20:01:30 +0000 (20:01 +0000)]
Recognizing also dash, openrc and runscript as shell scripts.
Patch by Mike Frysinger.

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

9 years agoIgnoring the autotools 'compile' file. Patch by Mike Frysinger.
Benno Schulenberg [Mon, 16 Feb 2015 20:13:29 +0000 (20:13 +0000)]
Ignoring the autotools 'compile' file.  Patch by Mike Frysinger.

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

9 years agoThe user does the editing, not the editor. So rephrasing.
Benno Schulenberg [Sun, 15 Feb 2015 16:28:08 +0000 (16:28 +0000)]
The user does the editing, not the editor.  So rephrasing.

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

9 years agoAlso showing the name of the affected file when finding a lock file,
Benno Schulenberg [Sun, 15 Feb 2015 16:20:09 +0000 (16:20 +0000)]
Also showing the name of the affected file when finding a lock file,
for when many files are opened at once.

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

9 years ago2015-02-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 9 Feb 2015 19:53:29 +0000 (19:53 +0000)]
2015-02-09  Chris Allegretta <chrisa@asty.org>
        * nano.spec.in: Add dependency on texinfo, docdir files for
        RPM file creation.

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

9 years agoBack to SVN
Chris Allegretta [Sat, 7 Feb 2015 03:33:14 +0000 (03:33 +0000)]
Back to SVN

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

9 years agoGNU nano 2.3.99pre2 release v2.3.99pre2
Chris Allegretta [Sat, 7 Feb 2015 00:26:43 +0000 (00:26 +0000)]
GNU nano 2.3.99pre2 release

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

9 years ago2015-02-03 Alex Henrie <alexhenrie24@gmail.com>
Chris Allegretta [Tue, 3 Feb 2015 22:49:57 +0000 (22:49 +0000)]
2015-02-03 Alex Henrie <alexhenrie24@gmail.com>
        * src/cut.c (do_cut_text): Make sure to set modified even when
        using --enable-tiny.

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

9 years agoAvoiding to trim the nano version number on the status bar.
Benno Schulenberg [Sun, 1 Feb 2015 10:07:08 +0000 (10:07 +0000)]
Avoiding to trim the nano version number on the status bar.
Patch by Kamil Dudka.

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

9 years agoAvoiding to print a wrong PID on the status bar.
Benno Schulenberg [Sun, 1 Feb 2015 09:58:02 +0000 (09:58 +0000)]
Avoiding to print a wrong PID on the status bar.
Patch by Kamil Dudka.  Bug reported by Don Swaner.

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

9 years agoMaking sure that 'lockprog' and 'lockuser' are properly terminated.
Benno Schulenberg [Sun, 1 Feb 2015 09:48:50 +0000 (09:48 +0000)]
Making sure that 'lockprog' and 'lockuser' are properly terminated.
Patch by Kamil Dudka.

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

9 years agoAvoiding to write uninitialized bytes to the lock file.
Benno Schulenberg [Sun, 1 Feb 2015 09:39:27 +0000 (09:39 +0000)]
Avoiding to write uninitialized bytes to the lock file.
Patch by Kamil Dudka.

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

9 years agoUpdating the copyright years to include 2015.
Benno Schulenberg [Sun, 1 Feb 2015 09:32:02 +0000 (09:32 +0000)]
Updating the copyright years to include 2015.

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

9 years agoAdding a general entry for all translators plus the TP.
Benno Schulenberg [Sun, 1 Feb 2015 09:19:58 +0000 (09:19 +0000)]
Adding a general entry for all translators plus the TP.

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

9 years agoTake 2 at file locking fixes. New args to close_buffer() and
Chris Allegretta [Tue, 20 Jan 2015 06:15:34 +0000 (06:15 +0000)]
Take 2 at file locking fixes.  New args to close_buffer() and
switch_to_prevnext_buffer() to support message passthrough
when trying to lock files using multibuffer.

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

9 years ago2015-01-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Jan 2015 02:36:30 +0000 (02:36 +0000)]
2015-01-13  Chris Allegretta <chrisa@asty.org>
        * src/files.c (open_buffer): Check here for locking and properly
        handle choosing to not open a file when locked instead of in
        open_file().  Fixes Savannah bug 42373 reported by Benno Schulenberg

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

9 years agoBack to SVN version
Chris Allegretta [Tue, 6 Jan 2015 15:28:02 +0000 (15:28 +0000)]
Back to SVN version

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

9 years agoGNU nano 2.3.99pre1 release v2.3.99pre1
Chris Allegretta [Tue, 6 Jan 2015 15:20:04 +0000 (15:20 +0000)]
GNU nano 2.3.99pre1 release

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

9 years ago2015-01-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 3 Jan 2015 07:24:17 +0000 (07:24 +0000)]
2015-01-03  Chris Allegretta <chrisa@asty.org>
        * New formatter code to support syntaxes like
        go which have tools to automatically lint and reformat the text for
        you (gofmt), which is lovely.  rcfile option formatter, function
        text.c:do_formatter() and some other calls.

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

9 years agoAdding Mark to the scroll.
Benno Schulenberg [Sun, 28 Dec 2014 22:27:56 +0000 (22:27 +0000)]
Adding Mark to the scroll.

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

9 years agoRemoving the names of past translators from the Easter-egg scroll.
Benno Schulenberg [Sun, 28 Dec 2014 22:23:31 +0000 (22:23 +0000)]
Removing the names of past translators from the Easter-egg scroll.

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

9 years agoGettextizing the "File being edited" prompt,
Benno Schulenberg [Sun, 28 Dec 2014 21:58:27 +0000 (21:58 +0000)]
Gettextizing the "File being edited" prompt,
and improving its wording.

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

9 years agoColorizing the section headers %pretrans and %posttrans fully.
Benno Schulenberg [Sun, 30 Nov 2014 12:05:13 +0000 (12:05 +0000)]
Colorizing the section headers %pretrans and %posttrans fully.
Original patch from Savannah patch #8573 by Daniel Vrátil.

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

10 years agoRecognizing also header lines that use "/usr/bin/env" to call
Benno Schulenberg [Sun, 21 Sep 2014 15:29:40 +0000 (15:29 +0000)]
Recognizing also header lines that use "/usr/bin/env" to call
the program, instead of just a direct call via "/bin/program".
Doing this for Shell scripts, and for Python, Perl and Ruby.
This fixes Savannah bug #43270 reported by Kitty.

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

10 years agoReplacing the old get_shortcut() wrapper with the new func_from_key().
Benno Schulenberg [Fri, 29 Aug 2014 20:03:58 +0000 (20:03 +0000)]
Replacing the old get_shortcut() wrapper with the new func_from_key().

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

10 years agoAdding name of reporter.
Benno Schulenberg [Fri, 29 Aug 2014 19:22:15 +0000 (19:22 +0000)]
Adding name of reporter.

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

10 years agoImproving some wordings and formatting in the texinfo document.
Benno Schulenberg [Sun, 10 Aug 2014 16:27:30 +0000 (16:27 +0000)]
Improving some wordings and formatting in the texinfo document.

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

10 years agoRemoving a mistaken doubled-up | which causes
Benno Schulenberg [Thu, 7 Aug 2014 20:27:21 +0000 (20:27 +0000)]
Removing a mistaken doubled-up | which causes
an 'empty (sub)expression' error on MacOS X.
This fixes Savannah bug #42929.

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

10 years agoImproving some of the wordings and formatting of the nanorc manpage.
Benno Schulenberg [Sun, 3 Aug 2014 20:57:15 +0000 (20:57 +0000)]
Improving some of the wordings and formatting of the nanorc manpage.

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

10 years agoTweaking the formatting of the man pages a bit
Benno Schulenberg [Sun, 3 Aug 2014 20:25:16 +0000 (20:25 +0000)]
Tweaking the formatting of the man pages a bit
so that po4a will create a nicer POT file.

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

10 years agoStandardizing the formatting of command-line options -- each one separately.
Benno Schulenberg [Sat, 2 Aug 2014 20:47:35 +0000 (20:47 +0000)]
Standardizing the formatting of command-line options -- each one separately.

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

10 years agoSeparating short and long option by a customary comma
Benno Schulenberg [Fri, 1 Aug 2014 21:04:35 +0000 (21:04 +0000)]
Separating short and long option by a customary comma
instead of putting the long one between parentheses.

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

10 years agoReordering a few things, and adjusting some whitespace.
Benno Schulenberg [Thu, 31 Jul 2014 20:49:32 +0000 (20:49 +0000)]
Reordering a few things, and adjusting some whitespace.

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

10 years agoAdjusting some indentation.
Benno Schulenberg [Thu, 31 Jul 2014 20:44:19 +0000 (20:44 +0000)]
Adjusting some indentation.

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

10 years agoUsing still further the func_from_key() wrapper instead of get_shortcut().
Benno Schulenberg [Sun, 27 Jul 2014 21:07:15 +0000 (21:07 +0000)]
Using still further the func_from_key() wrapper instead of get_shortcut().

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

10 years agoUsing still more the func_from_key() wrapper instead of get_shortcut().
Benno Schulenberg [Sun, 27 Jul 2014 20:16:28 +0000 (20:16 +0000)]
Using still more the func_from_key() wrapper instead of get_shortcut().

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

10 years agoUsing the more direct func_from_key() wrapper instead of get_shortcut().
Benno Schulenberg [Sun, 27 Jul 2014 19:32:03 +0000 (19:32 +0000)]
Using the more direct func_from_key() wrapper instead of get_shortcut().

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

10 years agoMoving first_sc_for() next to its sister function too.
Benno Schulenberg [Sun, 27 Jul 2014 19:23:41 +0000 (19:23 +0000)]
Moving first_sc_for() next to its sister function too.

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

10 years agoMoving strtokeytype() next to its sister function.
Benno Schulenberg [Sun, 27 Jul 2014 19:18:00 +0000 (19:18 +0000)]
Moving strtokeytype() next to its sister function.

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

10 years agoRemoving the now unused and unneeded addition ability to the shortcut list.
Benno Schulenberg [Sun, 27 Jul 2014 19:13:46 +0000 (19:13 +0000)]
Removing the now unused and unneeded addition ability to the shortcut list.

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

10 years ago* doc/texinfo/nano.texi, doc/man/nanorc.5: Typo fix.
Jordi Mallach [Thu, 24 Jul 2014 16:11:20 +0000 (16:11 +0000)]
* doc/texinfo/nano.texi, doc/man/nanorc.5: Typo fix.

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

10 years agoRemoving 'undo' from the valid options, so it gets coloured brightred.
Benno Schulenberg [Tue, 22 Jul 2014 08:17:20 +0000 (08:17 +0000)]
Removing 'undo' from the valid options, so it gets coloured brightred.

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

10 years ago* doc/nanorc.sample.in: Remove ‘undo’ section which is now obsolete.
Jordi Mallach [Mon, 21 Jul 2014 21:27:15 +0000 (21:27 +0000)]
* doc/nanorc.sample.in: Remove ‘undo’ section which is now obsolete.

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

10 years agoAdd release to ChangeLog and back to svn version
Chris Allegretta [Thu, 17 Jul 2014 15:32:28 +0000 (15:32 +0000)]
Add release to ChangeLog and back to svn version

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

10 years agoGNU nano 2.3.6 release v2.3.6
Chris Allegretta [Thu, 17 Jul 2014 15:17:49 +0000 (15:17 +0000)]
GNU nano 2.3.6 release

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

10 years ago* doc/man/rnano.1: Additional printing formatting improvement from
Jordi Mallach [Thu, 17 Jul 2014 06:27:08 +0000 (06:27 +0000)]
* doc/man/rnano.1: Additional printing formatting improvement from
Bjarni Ingi Gislason.

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

10 years ago* doc/man/fr/nano.1, doc/man/fr/rnano.1: Apply similar escaping fixes
Jordi Mallach [Wed, 16 Jul 2014 17:25:55 +0000 (17:25 +0000)]
* doc/man/fr/nano.1, doc/man/fr/rnano.1: Apply similar escaping fixes
to French manpages.
* doc/man/fr/nano.1, doc/man/fr/rnano.1, doc/man/fr/nanorc.5: Recode
as UTF-8.

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

10 years ago* doc/syntax/debian.nanorc: Add https, tor and spacewalk to supported
Jordi Mallach [Wed, 16 Jul 2014 11:22:02 +0000 (11:22 +0000)]
* doc/syntax/debian.nanorc: Add https, tor and spacewalk to supported
APT methods.
* doc/syntax/debian.nanorc: Apply the syntax to apt/sources.list.d/
entries as well, as reported by Rodolphe Pelloux-Prayer.

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

10 years agodoc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting
Jordi Mallach [Wed, 16 Jul 2014 11:07:08 +0000 (11:07 +0000)]
doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting
fixes as suggested Bjarni Ingi Gislason <bjarniig@rhi.hi.is> in
Debian bugs #662842 and #726956.

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

10 years agoNormalizing some tabbing.
Benno Schulenberg [Wed, 16 Jul 2014 08:53:16 +0000 (08:53 +0000)]
Normalizing some tabbing.

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

10 years agoMaking sure line renumbering starts far enough back after
Benno Schulenberg [Wed, 16 Jul 2014 08:46:42 +0000 (08:46 +0000)]
Making sure line renumbering starts far enough back after
undoing a cut or paste.  And fixing two memory leaks.
Patch by Mark Majeres.

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

10 years ago2014-07-13 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Sun, 13 Jul 2014 19:46:32 +0000 (19:46 +0000)]
2014-07-13  David Lawrence Ramsey  <pooka109@gmail.com>
        * ChangeLog: Typo fix

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

10 years agoNot silencing the warning about datarootdir being ignored --
Benno Schulenberg [Sat, 12 Jul 2014 08:17:52 +0000 (08:17 +0000)]
Not silencing the warning about datarootdir being ignored --
it is not merely a warning, it also activates a workaround.

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

10 years agoNot speaking of "line wrap" but of "text add" when undoing/redoing
Benno Schulenberg [Fri, 11 Jul 2014 19:14:25 +0000 (19:14 +0000)]
Not speaking of "line wrap" but of "text add" when undoing/redoing
text additions that caused automatic line breaks.
Patch by Mark Majeres.

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

10 years agoRefixing a typo in a statusbar error message.
Benno Schulenberg [Fri, 11 Jul 2014 18:35:08 +0000 (18:35 +0000)]
Refixing a typo in a statusbar error message.

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

10 years agoAdd 2.3.5 to ChangeLog, and back to svn version
Chris Allegretta [Fri, 11 Jul 2014 13:46:32 +0000 (13:46 +0000)]
Add 2.3.5 to ChangeLog, and back to svn version

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

10 years agoGNU nano 2.3.5 release v2.3.5
Chris Allegretta [Fri, 11 Jul 2014 12:45:42 +0000 (12:45 +0000)]
GNU nano 2.3.5 release

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

10 years ago2014-07-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 11 Jul 2014 11:16:15 +0000 (11:16 +0000)]
2014-07-11  Chris Allegretta <chrisa@asty.org>
        * src/files.c (do_lockfile, open_file): If locking fails,
        allow the lock failure message to be preserved AND
        preserve the filename passed on the cmdline.  Fixes
        Savannah bug #42668.

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

10 years agofiles.c:do_lockfile(): Actually reference the variable we're using for the dir.
Chris Allegretta [Fri, 11 Jul 2014 10:39:38 +0000 (10:39 +0000)]
files.c:do_lockfile(): Actually reference the variable we're using for the dir.
Also name it more appropriately.

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

10 years agoTiny ChangeLog fixes, and marking the 2.2.6 release.
Benno Schulenberg [Mon, 7 Jul 2014 18:46:47 +0000 (18:46 +0000)]
Tiny ChangeLog fixes, and marking the 2.2.6 release.

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

10 years ago2014-07-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Jul 2014 03:54:22 +0000 (03:54 +0000)]
2014-07-02  Chris Allegretta <chrisa@asty.org>
        * src/files.c (do_lockfile): Check whether the directory
          of the file we're trying to lock exists, and make the
          resulting error message more intuitive.  Fixes
          Savannah bug 42639 by bens.

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

10 years agoFreeing the cutbuffer after use.
Benno Schulenberg [Wed, 2 Jul 2014 20:52:27 +0000 (20:52 +0000)]
Freeing the cutbuffer after use.

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

10 years agoHandling the cases of cutting-from-cursor-to-end-of-line
Benno Schulenberg [Wed, 2 Jul 2014 20:29:57 +0000 (20:29 +0000)]
Handling the cases of cutting-from-cursor-to-end-of-line
(that is, when CUT_TO_END is set) properly.
Patch by Mark Majeres.

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

10 years agoProperly excluding the --quiet option when --disable-nanorc was given.
Benno Schulenberg [Wed, 2 Jul 2014 19:57:23 +0000 (19:57 +0000)]
Properly excluding the --quiet option when --disable-nanorc was given.

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

10 years agoDeleting old wrapper 'getfuncfromkey()', and replacing its call
Benno Schulenberg [Wed, 2 Jul 2014 19:12:38 +0000 (19:12 +0000)]
Deleting old wrapper 'getfuncfromkey()', and replacing its call
with a call of the new wrapper 'func_from_key()'.

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

10 years agoMaking use of the new wrapper in the help viewer and the file browser.
Benno Schulenberg [Wed, 2 Jul 2014 09:29:05 +0000 (09:29 +0000)]
Making use of the new wrapper in the help viewer and the file browser.

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

10 years agoAdding a typedef for a pointer to a function: functionptrtype.
Benno Schulenberg [Wed, 2 Jul 2014 08:47:09 +0000 (08:47 +0000)]
Adding a typedef for a pointer to a function: functionptrtype.
And starting to use this to make the code a bit cleaner.

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

10 years agoAdding two defines to make the functions list clearer.
Benno Schulenberg [Tue, 1 Jul 2014 18:52:21 +0000 (18:52 +0000)]
Adding two defines to make the functions list clearer.

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

10 years agoNow delete these case-sensitive, regular-expressive and backwards
Benno Schulenberg [Tue, 1 Jul 2014 16:24:01 +0000 (16:24 +0000)]
Now delete these case-sensitive, regular-expressive and backwards
file-searching capabilities again and all provisions for them.

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

10 years agoShowing that it is possible to have case-sensitive, regular-expressive,
Benno Schulenberg [Tue, 1 Jul 2014 15:42:08 +0000 (15:42 +0000)]
Showing that it is possible to have case-sensitive, regular-expressive,
and backwards searching in the file browser.

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