]>
git.wh0rd.org Git - nano.git/log
Benno Schulenberg [Sun, 9 Aug 2015 18:12:32 +0000 (18:12 +0000)]
Making a message sound more definitive instead of temporary.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5351
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 9 Aug 2015 18:10:13 +0000 (18:10 +0000)]
Removing an unneeded and mistaken condition:
if something should be blanked, then both.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5350
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 9 Aug 2015 16:31:01 +0000 (16:31 +0000)]
Fixing compilation with --enable-tiny: file formats don't exist then.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5349
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 9 Aug 2015 16:05:50 +0000 (16:05 +0000)]
Allowing to toggle whitespace display also when support for nanorc files
has not been built in, since the default values are quite usable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5348
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 8 Aug 2015 08:10:57 +0000 (08:10 +0000)]
Putting in the null byte "manually", and only when using UTF-8.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5347
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 6 Aug 2015 19:42:08 +0000 (19:42 +0000)]
Improving the formatting of the texi file, to get better HTML
without adding confusing single quotes to the Info document.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5346
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 6 Aug 2015 09:01:33 +0000 (09:01 +0000)]
Letting malloc() help to find initialization failures and uses-after-free.
Change was suggested by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5345
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 4 Aug 2015 19:51:02 +0000 (19:51 +0000)]
Tweaking the documentation. Mainly putting prevword and nextword in
the standard order, and giving the Savannah URL for bug reporting.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5344
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 4 Aug 2015 19:20:51 +0000 (19:20 +0000)]
Advertising the five new bindable functions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5343
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 4 Aug 2015 18:49:57 +0000 (18:49 +0000)]
Adding the option --unix (and 'set unix'),
to save a file by default in Unix format.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5342
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 3 Aug 2015 19:52:48 +0000 (19:52 +0000)]
Plugging a tiny leak.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5341
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 3 Aug 2015 08:32:52 +0000 (08:32 +0000)]
Plugging a memory leak.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5340
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 3 Aug 2015 08:03:22 +0000 (08:03 +0000)]
Checking the value of shortcut->toggle only if it actually is a toggle.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5339
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 2 Aug 2015 20:27:45 +0000 (20:27 +0000)]
Initializing also openfile->syntax.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5338
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 1 Aug 2015 08:47:38 +0000 (08:47 +0000)]
Adding "and exit" to the description of --help, for veracity, to match
--version, and to distinguish it more from the description of ^G.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5337
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 1 Aug 2015 08:41:36 +0000 (08:41 +0000)]
Showing also the dedicated keys in the ^G help text,
to clarify some keys and to see which ones can be rebound.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5336
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 1 Aug 2015 08:35:14 +0000 (08:35 +0000)]
Setting each multiline-color value instead of OR-ing it.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5335
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 31 Jul 2015 11:52:26 +0000 (11:52 +0000)]
Adding two new bindable functions which delete all characters
from the cursor to the preceding or succeeding word start.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5334
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 30 Jul 2015 20:15:01 +0000 (20:15 +0000)]
Providing feedback for ^Z when suspension is not enabled.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5333
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 30 Jul 2015 19:51:08 +0000 (19:51 +0000)]
Changing "Justify" to a tag and regrouping a couple.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5332
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 30 Jul 2015 18:10:16 +0000 (18:10 +0000)]
Differentiating between something being disabled/restricted and
help texts being unavailable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5331
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 30 Jul 2015 11:29:45 +0000 (11:29 +0000)]
Normalizing whitespace after the preceding changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5330
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 30 Jul 2015 10:37:28 +0000 (10:37 +0000)]
Not showing ^R and ^T in the help lines in restricted mode (if possible),
to give visual feedback.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5329
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 29 Jul 2015 20:21:45 +0000 (20:21 +0000)]
Making the four toggles that don't have any effect in restricted mode
say that they're disabled.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5328
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 29 Jul 2015 19:31:50 +0000 (19:31 +0000)]
Not showing options that don't have any effect when asking for --help in
restricted mode.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5327
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 29 Jul 2015 17:36:39 +0000 (17:36 +0000)]
It is better to say that this function is disabled
than that no linter has been defined.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5326
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 28 Jul 2015 20:04:18 +0000 (20:04 +0000)]
Dropping two superfluous checks for restricted mode, and
two superfluous checks for the definition of a formatter.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5325
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 28 Jul 2015 19:39:34 +0000 (19:39 +0000)]
Reenabling SIGWINCH-es also when invocation of the formatter fails,
and correcting some comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5324
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 26 Jul 2015 17:29:34 +0000 (17:29 +0000)]
Making the calculation of the new line size more efficient and symmetrical,
and renaming two variables in the process.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5323
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 26 Jul 2015 17:04:29 +0000 (17:04 +0000)]
Improving a few comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5322
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 26 Jul 2015 09:29:42 +0000 (09:29 +0000)]
Tweaking a string, to match the --help text.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5321
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 26 Jul 2015 09:23:24 +0000 (09:23 +0000)]
Adding two new bindable functions that repeat the last search command
in a fixed direction without prompting.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5320
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 26 Jul 2015 08:20:28 +0000 (08:20 +0000)]
Finding each zero-length match only once, when doing regex replacements.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5319
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 25 Jul 2015 19:25:50 +0000 (19:25 +0000)]
Adding a new bindable function that writes a file to disk without
first asking for its name. Patch was suggested by Seiya Nuta.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5318
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 23 Jul 2015 19:31:36 +0000 (19:31 +0000)]
Mentioning the configure options --disable-histories and --disable-libmagic.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5317
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 23 Jul 2015 19:18:25 +0000 (19:18 +0000)]
Finding only valid UTF-8 byte sequences when searching.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5316
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 23 Jul 2015 17:56:54 +0000 (17:56 +0000)]
Adding deprecation notices for the options 'const' and 'poslog'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5315
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 22 Jul 2015 18:02:36 +0000 (18:02 +0000)]
Plugging a few memory leaks.
Patch by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5314
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 19 Jul 2015 16:01:15 +0000 (16:01 +0000)]
Correcting a name in the Changelog; otherwise googling for it is difficult.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5313
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 19 Jul 2015 09:25:25 +0000 (09:25 +0000)]
Adjusting some comments for clarity and accuracy, and rewrapping some lines.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5312
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 19 Jul 2015 09:01:59 +0000 (09:01 +0000)]
Accepting again a +LINE argument for each file given on the command line,
instead of only for the first.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5311
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 18 Jul 2015 19:06:42 +0000 (19:06 +0000)]
Making the release markers stand out more,
plus a few small other fixes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5310
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 18 Jul 2015 12:00:34 +0000 (12:00 +0000)]
Fixing a few typos and making some updates for 2.4.* in the FAQ.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5309
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 18 Jul 2015 10:32:01 +0000 (10:32 +0000)]
Adjusting some comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5308
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 18 Jul 2015 07:34:27 +0000 (07:34 +0000)]
Looking for a new start only after an end,
instead of right after the last start.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5307
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 21:11:32 +0000 (21:11 +0000)]
Avoiding an unfounded warning about a possibly uninitialized variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5306
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 21:06:46 +0000 (21:06 +0000)]
Removing an earlier attempt at making M-W work at startup.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5305
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 20:40:44 +0000 (20:40 +0000)]
Verifying that a named and existing file is a normal file, to avoid
opening an empty buffer when the name of a directory is specified.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5304
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 19:38:22 +0000 (19:38 +0000)]
Using the proper type (off_t) for the size of a file,
and avoiding warnings about too large bit shifts.
Patch by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5303
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 20:21:15 +0000 (20:21 +0000)]
Fixing a quote. (Found this with my default syntax colouring.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5302
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 20:13:05 +0000 (20:13 +0000)]
Renaming the 'menu' item to 'menus' in the shortcut struct.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5301
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 19:50:55 +0000 (19:50 +0000)]
Unabbreviating the long option --poslog to --positionlog.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5300
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 19:40:37 +0000 (19:40 +0000)]
Unabbreviating the long option --const to --constantshow.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5299
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 18:04:05 +0000 (18:04 +0000)]
Preventing a segfault when spellchecking a marked region
and nonewlines isn't set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5298
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 17:57:58 +0000 (17:57 +0000)]
(Putting in the original patch, from before I got overzealous.)
Removing an unneeded condition -- 'added_magicline' can only be
true when NO_NEWLINES isn't.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5297
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 05:32:17 +0000 (05:32 +0000)]
Arh! I tested that without actually making any spell correction.
That wasn't very clever.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5296
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:31:08 +0000 (19:31 +0000)]
Removing a stray space from a statusbar message.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5295
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:27:26 +0000 (19:27 +0000)]
Renaming the variable 'totsize_save' to 'size_of_surrounding',
to better describe what it contains.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5294
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:20:46 +0000 (19:20 +0000)]
Removing the variable 'added_magicline', as it will always be FALSE
and thus will never cause anything to be done.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5293
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:49:30 +0000 (17:49 +0000)]
Rearranging a few lines plus some whitespace.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5292
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:42:32 +0000 (17:42 +0000)]
Removing two lines of dead code.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5291
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:25:51 +0000 (17:25 +0000)]
Unwrapping some lines and rewrapping some others in a more congenial manner;
tweaking some comments and whitespace and braces.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5290
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 16:00:12 +0000 (16:00 +0000)]
Eliding an unneeded variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5289
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 15:57:49 +0000 (15:57 +0000)]
Renaming a variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5288
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 15:54:06 +0000 (15:54 +0000)]
Plugging a small memory leak.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5287
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 19:17:27 +0000 (19:17 +0000)]
Adjusting whitespace and bracings after the previous changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5286
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 19:08:13 +0000 (19:08 +0000)]
Not removing and then re-adding the magic line when a Backspace happens
at the end-of-file; just adding a token undo item to be able to put the
cursor back at the very tail of the file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5285
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 18:48:15 +0000 (18:48 +0000)]
Moving the check for a Delete at the end-of-file to a less frequently
travelled code path.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5284
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 18:03:14 +0000 (18:03 +0000)]
Making it more transparent what WAS_FINAL_BACKSPACE does.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5283
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 17:51:17 +0000 (17:51 +0000)]
Giving each toggle a sequence number, to be able to show them in a fixed order.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5282
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 08:06:40 +0000 (08:06 +0000)]
move trunk to 2.5 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5281
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 08:04:53 +0000 (08:04 +0000)]
Type in NEWS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5280
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 07:51:55 +0000 (07:51 +0000)]
GNU nano 2.4.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5277
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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