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

10 years agoGrouping the arguments better.
Benno Schulenberg [Tue, 1 Jul 2014 11:50:35 +0000 (11:50 +0000)]
Grouping the arguments better.

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

10 years agoNot passing the menu but setting it earlier.
Benno Schulenberg [Tue, 1 Jul 2014 11:42:28 +0000 (11:42 +0000)]
Not passing the menu but setting it earlier.

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

10 years agoThere are no tagless functions, so there is no need to check.
Benno Schulenberg [Tue, 1 Jul 2014 10:52:07 +0000 (10:52 +0000)]
There are no tagless functions, so there is no need to check.

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

10 years agoNow that 'currmenu' is really global, stop passing it around.
Benno Schulenberg [Tue, 1 Jul 2014 10:41:10 +0000 (10:41 +0000)]
Now that 'currmenu' is really global, stop passing it around.

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

10 years agoMaking sure to always set 'currmenu', so that we can rely on it.
Benno Schulenberg [Tue, 1 Jul 2014 08:38:08 +0000 (08:38 +0000)]
Making sure to always set 'currmenu', so that we can rely on it.

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

10 years agoRenaming '*cut_till_end' to '*cut_till_eof', to reduce
Benno Schulenberg [Mon, 30 Jun 2014 20:39:27 +0000 (20:39 +0000)]
Renaming '*cut_till_end' to '*cut_till_eof', to reduce
confusion with CUT_TO_END, which is about end-of-line.
Patch by Mark Majeres.

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

10 years agoFixing a bug where binding a movement function to a Meta key would make
Benno Schulenberg [Mon, 30 Jun 2014 18:20:32 +0000 (18:20 +0000)]
Fixing a bug where binding a movement function to a Meta key would make
the corresponding Arrow key stop working (producing a character instead).

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

10 years agoMaking 'meta_key' and 'func_key' into global variables, instead of
Benno Schulenberg [Mon, 30 Jun 2014 18:04:33 +0000 (18:04 +0000)]
Making 'meta_key' and 'func_key' into global variables, instead of
having them declared everywhere and passing them around endlessly.

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

10 years agoMoving some variables to a better place.
Benno Schulenberg [Mon, 30 Jun 2014 17:49:53 +0000 (17:49 +0000)]
Moving some variables to a better place.

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

10 years agoWhen there are no syntaxes, for example with --ignorercfiles,
Benno Schulenberg [Mon, 30 Jun 2014 17:47:07 +0000 (17:47 +0000)]
When there are no syntaxes, for example with --ignorercfiles,
do not try to find one, because that would lead to the magic
database being searched, which slows down startup a lot.

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

10 years agoMaking Ctrl-Left and Ctrl-Right produce special codes,
Benno Schulenberg [Sun, 29 Jun 2014 20:53:00 +0000 (20:53 +0000)]
Making Ctrl-Left and Ctrl-Right produce special codes,
and mapping these codes to Prevword and Nextword.

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

10 years agoFixing compilation with --enable-tiny --enable-nanorc.
Benno Schulenberg [Sun, 29 Jun 2014 09:33:51 +0000 (09:33 +0000)]
Fixing compilation with --enable-tiny --enable-nanorc.

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

10 years agoTiny ChangeLog tweaks.
Benno Schulenberg [Sun, 29 Jun 2014 09:32:04 +0000 (09:32 +0000)]
Tiny ChangeLog tweaks.

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

10 years agoUpdating the pointer to the bottom of the file
Benno Schulenberg [Sun, 29 Jun 2014 08:49:06 +0000 (08:49 +0000)]
Updating the pointer to the bottom of the file
when undoing line deletions at file's end.
Patch by Mark Majeres.

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

10 years agoNow trimming the superfluous braces.
Benno Schulenberg [Sat, 28 Jun 2014 15:34:10 +0000 (15:34 +0000)]
Now trimming the superfluous braces.

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

10 years agoUsing a single assignment of do_toggle_void.
Benno Schulenberg [Sat, 28 Jun 2014 15:22:41 +0000 (15:22 +0000)]
Using a single assignment of do_toggle_void.

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

10 years agoMoving (the recognition of) the toggles to the end, like everywhere else.
Benno Schulenberg [Sat, 28 Jun 2014 15:00:29 +0000 (15:00 +0000)]
Moving (the recognition of) the toggles to the end, like everywhere else.

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

10 years agoEradicating the execute flag -- it is almost always TRUE, and when it's FALSE
Benno Schulenberg [Sat, 28 Jun 2014 14:42:18 +0000 (14:42 +0000)]
Eradicating the execute flag -- it is almost always TRUE, and when it's FALSE
then it's for a function that is an empty placeholder, so executing it will
not do anything anyway.  Handling the one exception (do_gotolinecolumn_void)
specially, just like the other one (do_cancel) already is.

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

10 years agoRemoving the useless parameters 'have_shortcut and 'allow_funcs'.
Benno Schulenberg [Sat, 28 Jun 2014 08:29:18 +0000 (08:29 +0000)]
Removing the useless parameters 'have_shortcut and 'allow_funcs'.

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

10 years agoSilencing a useless warning about seemingly ignoring a datarootdir setting.
Benno Schulenberg [Fri, 27 Jun 2014 20:35:37 +0000 (20:35 +0000)]
Silencing a useless warning about seemingly ignoring a datarootdir setting.

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

10 years agoStopping to distribute the obsolete BUGS file, and removing it from SVN.
Benno Schulenberg [Fri, 27 Jun 2014 20:20:14 +0000 (20:20 +0000)]
Stopping to distribute the obsolete BUGS file, and removing it from SVN.

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

10 years agoNormalizing some indentation and whitespace.
Benno Schulenberg [Fri, 27 Jun 2014 20:01:27 +0000 (20:01 +0000)]
Normalizing some indentation and whitespace.

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

10 years agoRemoving the ability to search for a matching bracket in a prompt input line.
Benno Schulenberg [Fri, 27 Jun 2014 19:32:12 +0000 (19:32 +0000)]
Removing the ability to search for a matching bracket in a prompt input line.

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

10 years agoUpdating the docs for the narrower meaning of 'all' when rebinding keys.
Benno Schulenberg [Fri, 27 Jun 2014 16:27:52 +0000 (16:27 +0000)]
Updating the docs for the narrower meaning of 'all' when rebinding keys.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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