]>
git.wh0rd.org Git - nano.git/log
Benno Schulenberg [Fri, 26 Feb 2016 09:04:54 +0000 (09:04 +0000)]
Correcting the description of 'justifytrim', adding it to the Info document,
sorting it, and tweaking a wording.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5682
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Thu, 25 Feb 2016 21:46:09 +0000 (21:46 +0000)]
GNU nano 2.5.3 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5680
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Thu, 25 Feb 2016 21:04:45 +0000 (21:04 +0000)]
Call kill_spaces_on_justify justifytrim, to match the rest of rcfile naming conventions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5679
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 25 Feb 2016 18:58:17 +0000 (18:58 +0000)]
Eliding splice_opennode() by handling the two cases (the creation of
the first element, and the insertion of a new element) directly.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5678
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 25 Feb 2016 14:08:47 +0000 (14:08 +0000)]
Now putting things in the proper order: setting 'prev_dir' only when
we've actually succeeded in changing directory.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5677
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 25 Feb 2016 13:52:54 +0000 (13:52 +0000)]
Plugging a memory leak by not copying a string twice.
This fixes Savannah bug #47206.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5676
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Wed, 24 Feb 2016 04:46:44 +0000 (04:46 +0000)]
Tweak KILL_TRAILING_SPACES. Still deciding on name...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5675
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Feb 2016 12:49:08 +0000 (12:49 +0000)]
Tweaking the Changelog.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5674
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Feb 2016 12:37:10 +0000 (12:37 +0000)]
Rewrapping and reshuffling some lines.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5673
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Feb 2016 12:18:10 +0000 (12:18 +0000)]
Centering the cursor when the thing being undone or redone is currently
off the screen.
See https://lists.gnu.org/archive/html/nano-devel/2016-02/msg00104.html.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5672
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Feb 2016 12:07:58 +0000 (12:07 +0000)]
Not moving the cursor when copying a backwardly marked region.
This fixes Savannah bug #46980.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5671
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Feb 2016 08:31:57 +0000 (08:31 +0000)]
Renaming a variable, for contrast and correctness.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5670
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 19:49:45 +0000 (19:49 +0000)]
Using the correct column number also when messages are skipped.
And not minding when the column number is zero or negative.
This partially fixes Savannah bug #47131.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5669
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 18:34:04 +0000 (18:34 +0000)]
Showing the cursor in the edit window when linting.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5668
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 17:15:28 +0000 (17:15 +0000)]
Making the cursor visible again after a justification and after an
unrecognized escape sequence.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5667
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 16:51:39 +0000 (16:51 +0000)]
As the charmove() already copies the terminating null byte,
there is no need to put one in. Just trim the allocation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5666
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Mon, 22 Feb 2016 15:23:57 +0000 (15:23 +0000)]
Make that kill_spaces_on_justify, add hilighting.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5665
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Mon, 22 Feb 2016 15:10:32 +0000 (15:10 +0000)]
2016-02-22 Chris Allegretta <chrisa@asty.org>
* Add ability to kill the trailing spaces when justifying
code. New nanorc option kill_spaces_on_wrap, we'll see
whether this warrants a command line flahg or not.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5664
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 14:26:05 +0000 (14:26 +0000)]
Eliding a variable -- there is no need to optimize for calls of strlen(),
as this is typing speed, no need to hurry.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5663
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 13:17:53 +0000 (13:17 +0000)]
Not moving too many bytes -- that is: not moving them beyond the
allocated buffer. This fixes Savannah bug #47219.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5662
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 12:49:08 +0000 (12:49 +0000)]
Sorting the prev_word() and next_word() functions in the standard way:
the backward one first.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5661
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 09:55:59 +0000 (09:55 +0000)]
The amount to scroll is never zero, so there is no need to check.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5660
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 09:34:33 +0000 (09:34 +0000)]
Condensing some code by factoring out a repetition.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5659
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 22 Feb 2016 09:02:58 +0000 (09:02 +0000)]
Eliding the function free_openfilestruct() as it is used only once.
(Note that openfile cannot be NULL here. And in case it is,
nano should crash because DEBUG is enabled.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5658
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 21 Feb 2016 20:54:04 +0000 (20:54 +0000)]
Removing four unneeded checks for NULL.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5657
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 21 Feb 2016 13:33:52 +0000 (13:33 +0000)]
Not requiring a third Tab to show the list of possible completions
when the first Tab added the part that all matches have in common.
So now two Tabs in a row will always show the list of possible
completions -- if there /are/ any completions. Which means that
a second Tab will either: 1) do nothing, when the name is complete
and exists; 2) beep, when nothing in the current directory starts
with the current string; 3) show the list of matches.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5656
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Feb 2016 16:35:09 +0000 (16:35 +0000)]
Reducing an allocation to what is actually needed.
This undoes the papering-over of the just-fixed bug.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5655
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Feb 2016 12:30:07 +0000 (12:30 +0000)]
Parsing a character in the correct buffer: in the first match
instead of in the given string. This fixes Savannah bug #47199.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5654
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Feb 2016 12:16:43 +0000 (12:16 +0000)]
Avoiding a memory leak when tabbing on a string that doesn't occur in the
history. This fixes Savannah bug #47124 reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5653
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 18 Feb 2016 20:10:02 +0000 (20:10 +0000)]
Deleting a debugging leftover.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5652
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 18 Feb 2016 19:58:18 +0000 (19:58 +0000)]
Allowing the parameter of free_filestruct() to be NULL,
so we can delete four annoying pre-checks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5651
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 18 Feb 2016 16:31:02 +0000 (16:31 +0000)]
Fixing Savannah bug #47127 the proper way,
eliding two silly calls of edit_redraw().
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5650
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 16 Feb 2016 10:09:26 +0000 (10:09 +0000)]
Deleting two dead prototypes, adjusting two comments for correctness,
and two other minute tweaks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5649
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 16 Feb 2016 09:06:21 +0000 (09:06 +0000)]
Deleting a redundant assignment. The multidata pointer is already
set to NULL in make_new_node(), a few lines earlier.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5648
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 15 Feb 2016 16:24:39 +0000 (16:24 +0000)]
Avoiding the loss a buffer when getcwd() fails.
This fixes Savannah bug #47129 reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5647
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 15 Feb 2016 12:56:18 +0000 (12:56 +0000)]
Freeing not just the struct but also the data it contains,
and also when it is the first and only line.
This fixes Savannah bug #47153 reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5646
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Feb 2016 12:17:17 +0000 (12:17 +0000)]
Saying that the 2.5 branch is a "rolling" release, that lock files are done,
and preparing for 2.5.3.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5645
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Feb 2016 12:03:47 +0000 (12:03 +0000)]
Renaming and condensing some stuff, and correcting the main comment,
because 'allow_cntrls == FALSE' meant that controls were being filtered.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5644
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Feb 2016 11:16:54 +0000 (11:16 +0000)]
Doing the copying of typed stuff from input to output just once.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5643
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Feb 2016 10:29:48 +0000 (10:29 +0000)]
Restoring the mentioned behavior also for the internal spell fixer.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5642
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Feb 2016 10:19:27 +0000 (10:19 +0000)]
Making the iteration through replacement matches behave the same again as the
iteration through search matches: showing them centered when found offscreen.
This fixes Savannah bug #47127.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5641
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 13 Feb 2016 19:41:12 +0000 (19:41 +0000)]
Switching the cursor on and off at the appropriate moments (that is: when
needed), so that it no longer shows in the help screen nor in the file list.
This fixes Savannah bug #47126.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5640
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 13 Feb 2016 17:00:06 +0000 (17:00 +0000)]
Allocating enough space for printing out the line and column numbers.
This fixes Savannah bug #47135.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5639
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 13 Feb 2016 16:42:30 +0000 (16:42 +0000)]
Rebuilding the file list only when necessary, and not for each and every
cursor movement. This fixes Savannah bug #47133.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5638
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Fri, 12 Feb 2016 05:36:40 +0000 (05:36 +0000)]
Back to SVN, and fix typo in NEWS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5637
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Fri, 12 Feb 2016 05:25:29 +0000 (05:25 +0000)]
GNU nano 2.5.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5635
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Feb 2016 17:30:16 +0000 (17:30 +0000)]
Making the formatter command more visible in the Go syntax file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5634
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Feb 2016 17:25:37 +0000 (17:25 +0000)]
Condensing some declarations, rewrapping some lines, and improving a
few comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5633
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Feb 2016 16:57:52 +0000 (16:57 +0000)]
Not leaving curses mode in the formatter, as that would hide
error messages upon reentry. And, if there are any messages,
allowing the user a little time to read them.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5632
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Feb 2016 08:50:11 +0000 (08:50 +0000)]
Going to the next item in the list before freeing the current one.
This fixes Savannah bug #46796.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5631
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Feb 2016 08:26:08 +0000 (08:26 +0000)]
Adding remark to Changelog that Savannah bug #47111 is fixed.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5630
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 20:29:23 +0000 (20:29 +0000)]
Freeing the position-history records that are dropped.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5629
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 20:16:50 +0000 (20:16 +0000)]
Switching the cursor on in the right place: in the central input routine.
This makes the cursor visible again during linting.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5628
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 16:40:08 +0000 (16:40 +0000)]
Removing two SVN Id tags and a duplication.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5627
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 16:26:51 +0000 (16:26 +0000)]
Thanking a Spanish, a Catalan, and a Croat translator.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5626
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 15:06:45 +0000 (15:06 +0000)]
Allowing only control sequences in the proper range to be rebound.
This fixes Savannah bug #47025.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5625
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 12:32:43 +0000 (12:32 +0000)]
Plugging a sneaky memory leak. This fixes Savannah bug #47003
reported and solved by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5624
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 10 Feb 2016 08:49:23 +0000 (08:49 +0000)]
Preventing a chain of editing actions from continuing after a discard.
This fixes Savannah bug #47104.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5623
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 9 Feb 2016 20:57:37 +0000 (20:57 +0000)]
Adjusting the version number in the docs before release.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5622
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 9 Feb 2016 20:53:11 +0000 (20:53 +0000)]
Checking the result of a stat() to avoid referencing unitialized data.
The original patch was by Kamil Dudka.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5621
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 13:41:46 +0000 (13:41 +0000)]
Renaming a variable for clarity.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5620
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 13:37:16 +0000 (13:37 +0000)]
Normalizing a bit of indentation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5619
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 13:14:23 +0000 (13:14 +0000)]
Using a character class instead of a literal tab and space.
The change was inspired by David Niklas.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5618
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 13:08:27 +0000 (13:08 +0000)]
Eliding an unneeded 'if'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5617
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 13:03:48 +0000 (13:03 +0000)]
Avoiding a pointless lstat() when not writing to a temporary file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5616
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Feb 2016 12:49:42 +0000 (12:49 +0000)]
Not recording files that have the default cursor position.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5615
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 12:12:08 +0000 (12:12 +0000)]
Rewrapping some lines and removing some useless comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5614
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 11:50:57 +0000 (11:50 +0000)]
Avoiding to update the statusbar twice for a Backspace.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5613
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 11:44:33 +0000 (11:44 +0000)]
Renaming 'update_bar_if_needed()' for more contrast and aptness.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5612
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 11:40:15 +0000 (11:40 +0000)]
Chopping two parameters that are always the same, and that are
global variables anyway.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5611
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 11:18:27 +0000 (11:18 +0000)]
Turning the cursor off when writing in the status bar,
and ensuring it is on when waiting for input.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5610
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 11:05:58 +0000 (11:05 +0000)]
Updating the screen immediately when a message is posted on the status bar.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5609
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 6 Feb 2016 10:59:31 +0000 (10:59 +0000)]
Removing the --nofollow option that hasn't been working for a dozen years.
With this option, nano would simply refuse to write to any symlinked file;
if anyone really used this option, they would certainly have complained.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5608
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 5 Feb 2016 12:27:54 +0000 (12:27 +0000)]
Guiding the translators a little bit.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5607
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 5 Feb 2016 12:01:02 +0000 (12:01 +0000)]
Putting four strings in the standard order: first backward, then forward.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5606
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 5 Feb 2016 11:55:55 +0000 (11:55 +0000)]
Condensing the descriptions of command-key sequences and of the screen layout;
mentioning how to enter Unicode and that regular expressions are line oriented.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5605
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 31 Jan 2016 13:26:15 +0000 (13:26 +0000)]
Making Home go always fully home.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5604
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 31 Jan 2016 13:20:40 +0000 (13:20 +0000)]
Showing ^^ and M-^ as valid key names.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5603
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 31 Jan 2016 13:06:06 +0000 (13:06 +0000)]
Being more specific in how a given path is invalid.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5602
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 20:43:54 +0000 (20:43 +0000)]
Updating position history only when 'positionlog' is set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5601
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 20:39:12 +0000 (20:39 +0000)]
Plugging another memory leak.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5600
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 17:18:27 +0000 (17:18 +0000)]
Checking the position history only when 'positionlog' is set
/also/ for the first file. :|
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5599
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 16:58:02 +0000 (16:58 +0000)]
Plugging a couple of memory leaks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5598
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 16:20:28 +0000 (16:20 +0000)]
Checking the position history only when option 'positionlog' is set.
This fixes a bug reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5597
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 29 Jan 2016 16:01:43 +0000 (16:01 +0000)]
Also displaying the buffer when configured with only --disable-histories.
This fixes a segfault reported in Savannah bug #47011.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5596
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 26 Jan 2016 10:31:16 +0000 (10:31 +0000)]
Using a simpler algorithm for jumping to the next word.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5595
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 26 Jan 2016 10:10:20 +0000 (10:10 +0000)]
Jumping to the start of the current word, not to that of the preceding one.
This fixes Savannah bug #46970.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5594
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 26 Jan 2016 09:16:09 +0000 (09:16 +0000)]
Adjusting some indentation and some line wrapping.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5593
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 26 Jan 2016 09:06:31 +0000 (09:06 +0000)]
Not adding directories to the list of file positions.
This fixes Savannah bug #46971.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5592
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 25 Jan 2016 20:51:00 +0000 (20:51 +0000)]
Mentioning that the position history is limited to the 200 most recent files.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5591
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 25 Jan 2016 20:38:10 +0000 (20:38 +0000)]
Documenting the --enable-altrcname configure option.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5590
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 25 Jan 2016 20:26:01 +0000 (20:26 +0000)]
Handling an update of the first element correctly.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5589
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 21:02:09 +0000 (21:02 +0000)]
Eliding another small function that is used only once.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5588
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 20:44:39 +0000 (20:44 +0000)]
Eliding an unneeded function.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5587
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 20:36:02 +0000 (20:36 +0000)]
Bundling four statements (that in total occur seven times)
into a separate function.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5586
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 16:04:25 +0000 (16:04 +0000)]
Removing a superfluous free.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5585
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 15:42:45 +0000 (15:42 +0000)]
Chopping an always-FALSE parameter and deleting an unused return value.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5584
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 15:32:13 +0000 (15:32 +0000)]
Condensing the code by removing a triplication.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5583
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 24 Jan 2016 14:49:42 +0000 (14:49 +0000)]
Moving an updated position-history item to the end of the list,
so that it won't be dropped any time soon.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5582
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 22 Jan 2016 16:56:04 +0000 (16:56 +0000)]
Renaming a variable for clarity and contrast.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5581
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8