]> git.wh0rd.org Git - nano.git/log
nano.git
10 years agoGiving syntax highlighting its own section,
Benno Schulenberg [Mon, 5 May 2014 19:32:42 +0000 (19:32 +0000)]
Giving syntax highlighting its own section,
adding the "header" command,
tweaking some wording and formatting,
and trimming some duplicate introductory information.

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

10 years agoOops.
Benno Schulenberg [Sun, 4 May 2014 20:16:30 +0000 (20:16 +0000)]
Oops.

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

10 years agoAllowing the Backwards toggle to be rebound,
Benno Schulenberg [Sun, 4 May 2014 12:20:51 +0000 (12:20 +0000)]
Allowing the Backwards toggle to be rebound,
documenting it, ánd the Backspace function.

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

10 years agoShowing quotes where quotes are needed, removing some unneeded spaces,
Benno Schulenberg [Sun, 4 May 2014 11:51:10 +0000 (11:51 +0000)]
Showing quotes where quotes are needed, removing some unneeded spaces,
and doing some other tweaks.

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

10 years agoDocumenting the interface colours settings.
Benno Schulenberg [Sun, 4 May 2014 10:24:34 +0000 (10:24 +0000)]
Documenting the interface colours settings.

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

10 years agoRenaming a variable, and removing an unneeded call of wattroff().
Benno Schulenberg [Sun, 4 May 2014 08:53:06 +0000 (08:53 +0000)]
Renaming a variable, and removing an unneeded call of wattroff().

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

10 years agoEliding a variable.
Benno Schulenberg [Sun, 4 May 2014 08:25:09 +0000 (08:25 +0000)]
Eliding a variable.

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

10 years agoTiny Changelog tweak.
Benno Schulenberg [Sat, 3 May 2014 20:38:09 +0000 (20:38 +0000)]
Tiny Changelog tweak.

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

10 years agoParagraph jumping only makes sense in the MAIN editing menu,
Benno Schulenberg [Sat, 3 May 2014 20:27:25 +0000 (20:27 +0000)]
Paragraph jumping only makes sense in the MAIN editing menu,
thus removing the shortcuts from all others.

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

10 years agoRemoving the search-mode toggles from the WHEREISFILE and
Benno Schulenberg [Sat, 3 May 2014 20:09:47 +0000 (20:09 +0000)]
Removing the search-mode toggles from the WHEREISFILE and
REPLACEWITH menus, where they don't belong.

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

10 years agoOrdering the shortcut associations in roughly the same manner as
Benno Schulenberg [Sat, 3 May 2014 19:19:31 +0000 (19:19 +0000)]
Ordering the shortcut associations in roughly the same manner as
in the help lines, and grouping them as far as possible per menu.

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

10 years agoUnfolding long lines that add shortcuts, for visual consistency.
Benno Schulenberg [Sat, 3 May 2014 18:44:18 +0000 (18:44 +0000)]
Unfolding long lines that add shortcuts, for visual consistency.

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

10 years agoAdding the ability to colour four elements of nano's interface differently.
Benno Schulenberg [Sat, 3 May 2014 18:24:45 +0000 (18:24 +0000)]
Adding the ability to colour four elements of nano's interface differently.
Idea and original patch by Mark Majeres.

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

10 years agoUpdate the years in the copyright notices.
Benno Schulenberg [Wed, 30 Apr 2014 20:18:26 +0000 (20:18 +0000)]
Update the years in the copyright notices.

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

10 years agoImproving the order of the help items still further, and
Benno Schulenberg [Sun, 27 Apr 2014 19:51:03 +0000 (19:51 +0000)]
Improving the order of the help items still further, and
making them also group and pair nicely in the tiny version.

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

10 years agoFixing compilation with --enable-tiny.
Benno Schulenberg [Sun, 27 Apr 2014 15:26:25 +0000 (15:26 +0000)]
Fixing compilation with --enable-tiny.

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

10 years agoImproving order and grouping in the main help text and help lines.
Benno Schulenberg [Sun, 27 Apr 2014 15:20:57 +0000 (15:20 +0000)]
Improving order and grouping in the main help text and help lines.

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

10 years agoShow the important toggles early on in the help lines
Benno Schulenberg [Sun, 27 Apr 2014 14:21:57 +0000 (14:21 +0000)]
Show the important toggles early on in the help lines
of Search/Replace, and group them better.

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

10 years agoIn a concise help text, mention only those options that actually do something.
Benno Schulenberg [Sun, 27 Apr 2014 12:19:59 +0000 (12:19 +0000)]
In a concise help text, mention only those options that actually do something.

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

10 years agoNot blurting out the full help text when command line contains some mistake.
Benno Schulenberg [Sun, 27 Apr 2014 12:13:26 +0000 (12:13 +0000)]
Not blurting out the full help text when command line contains some mistake.

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

10 years agoPlugging two tiny memory leaks. Patch essentially by Mark Majeres.
Benno Schulenberg [Sun, 27 Apr 2014 11:29:50 +0000 (11:29 +0000)]
Plugging two tiny memory leaks.  Patch essentially by Mark Majeres.

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

10 years agoGroup related functions together, remove duplicate "up"/"down",
Benno Schulenberg [Sat, 26 Apr 2014 20:16:17 +0000 (20:16 +0000)]
Group related functions together, remove duplicate "up"/"down",
and add missing "prevpage"/"nextpage" in nanorc man page.

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

10 years agoAllow do_spell() to be bound to other key combos.
Benno Schulenberg [Sat, 26 Apr 2014 19:33:11 +0000 (19:33 +0000)]
Allow do_spell() to be bound to other key combos.

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

10 years agoMake help lines show "Close" again when more than one buffer is open.
Benno Schulenberg [Sat, 26 Apr 2014 19:01:18 +0000 (19:01 +0000)]
Make help lines show "Close" again when more than one buffer is open.

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

10 years agoAdd a pointer to the tail of the functions list,
Benno Schulenberg [Sat, 26 Apr 2014 18:41:43 +0000 (18:41 +0000)]
Add a pointer to the tail of the functions list,
to simplify and speed up adding new items.

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

10 years agoUpdating the FAQ.
Benno Schulenberg [Thu, 24 Apr 2014 20:22:32 +0000 (20:22 +0000)]
Updating the FAQ.

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

10 years agoIncrease the contrast between hard-wrapping and soft-wrapping
Benno Schulenberg [Wed, 23 Apr 2014 20:42:55 +0000 (20:42 +0000)]
Increase the contrast between hard-wrapping and soft-wrapping
in the documentattion.

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

10 years agoPutting the two wrapping toggles together
Benno Schulenberg [Wed, 23 Apr 2014 20:37:32 +0000 (20:37 +0000)]
Putting the two wrapping toggles together
and increasing their contrast a bit.

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

10 years agoReturning the first shortcut that matches a given func in a given menu.
Benno Schulenberg [Wed, 23 Apr 2014 20:03:24 +0000 (20:03 +0000)]
Returning the first shortcut that matches a given func in a given menu.

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

10 years agoMaking the Minus and Space keys work in the help viewer and file browser
Benno Schulenberg [Wed, 23 Apr 2014 19:44:21 +0000 (19:44 +0000)]
Making the Minus and Space keys work in the help viewer and file browser
also when the PrevPage and NextPage functions are bound to meta keys.

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

10 years agoRemoveing several unneeded double semicolons plus two relic comments.
Benno Schulenberg [Wed, 23 Apr 2014 19:33:03 +0000 (19:33 +0000)]
Removeing several unneeded double semicolons plus two relic comments.

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

10 years agoSplitting the toggles into three kind-of related groups,
Benno Schulenberg [Tue, 22 Apr 2014 20:26:58 +0000 (20:26 +0000)]
Splitting the toggles into three kind-of related groups,
and not showing toggle keys that have been rebound.

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

10 years agoShowing just two shortcuts per function, to pull
Benno Schulenberg [Tue, 22 Apr 2014 20:10:43 +0000 (20:10 +0000)]
Showing just two shortcuts per function, to pull
the explanatory lines closer to the key combos.

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

10 years agoListing function key after meta key.
Benno Schulenberg [Tue, 22 Apr 2014 19:10:26 +0000 (19:10 +0000)]
Listing function key after meta key.

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

10 years agoPutting left/right in normal order.
Benno Schulenberg [Tue, 22 Apr 2014 19:07:32 +0000 (19:07 +0000)]
Putting left/right in normal order.

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

10 years agoDeleting unneeded empty funcs; being in the list of shortcuts is enough.
Benno Schulenberg [Tue, 22 Apr 2014 12:10:30 +0000 (12:10 +0000)]
Deleting unneeded empty funcs; being in the list of shortcuts is enough.

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

10 years agoEliding more unneeded constants.
Benno Schulenberg [Tue, 22 Apr 2014 11:57:11 +0000 (11:57 +0000)]
Eliding more unneeded constants.

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

10 years agoEliding several pointless constants.
Benno Schulenberg [Tue, 22 Apr 2014 10:44:24 +0000 (10:44 +0000)]
Eliding several pointless constants.

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

10 years agoRenaming many constants from '*_msg' to '*_tag' to reduce confusion.
Benno Schulenberg [Tue, 22 Apr 2014 10:18:48 +0000 (10:18 +0000)]
Renaming many constants from '*_msg' to '*_tag' to reduce confusion.

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

10 years agoPutting the movement keys in the help viewer in the order of increasing stride.
Benno Schulenberg [Tue, 22 Apr 2014 10:02:55 +0000 (10:02 +0000)]
Putting the movement keys in the help viewer in the order of increasing stride.

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

10 years agoImproving two error messages, and complaining about
Benno Schulenberg [Mon, 21 Apr 2014 18:12:29 +0000 (18:12 +0000)]
Improving two error messages, and complaining about
wrong menu names after wrong function names.

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

10 years agoAllowing the codes from Ins and Del keys to be rebound.
Benno Schulenberg [Mon, 21 Apr 2014 18:05:11 +0000 (18:05 +0000)]
Allowing the codes from Ins and Del keys to be rebound.

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

10 years agoRemove recognition of K-keys.
Benno Schulenberg [Mon, 21 Apr 2014 17:47:16 +0000 (17:47 +0000)]
Remove recognition of K-keys.

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

10 years agoGiving nicer names to the dedicated keys,
Benno Schulenberg [Mon, 21 Apr 2014 15:45:23 +0000 (15:45 +0000)]
Giving nicer names to the dedicated keys,
for when they show up in the help lines.

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

10 years agoDecombining a repetitive condition.
Benno Schulenberg [Mon, 21 Apr 2014 15:22:14 +0000 (15:22 +0000)]
Decombining a repetitive condition.

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

10 years agoAvoiding three compiler warnings with --enable-debug.
Benno Schulenberg [Mon, 21 Apr 2014 13:07:18 +0000 (13:07 +0000)]
Avoiding three compiler warnings with --enable-debug.

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

10 years agoDeleting some more unused stuff.
Benno Schulenberg [Mon, 21 Apr 2014 13:00:49 +0000 (13:00 +0000)]
Deleting some more unused stuff.

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

10 years agoDeleting a large bunch of unused defines.
Benno Schulenberg [Mon, 21 Apr 2014 12:31:52 +0000 (12:31 +0000)]
Deleting a large bunch of unused defines.

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

10 years agoSorting functions slightly better, and
Benno Schulenberg [Mon, 21 Apr 2014 12:06:20 +0000 (12:06 +0000)]
Sorting functions slightly better, and
allowing rebinding in the linter menu.

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

10 years agoNo unnecessary checking for lowercase 'm' or 'f'.
Benno Schulenberg [Mon, 21 Apr 2014 11:22:54 +0000 (11:22 +0000)]
No unnecessary checking for lowercase 'm' or 'f'.

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

10 years agoPutting meta first, for clarity.
Benno Schulenberg [Mon, 21 Apr 2014 11:15:48 +0000 (11:15 +0000)]
Putting meta first, for clarity.

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

10 years agoAdjusting two comments.
Benno Schulenberg [Mon, 21 Apr 2014 11:09:30 +0000 (11:09 +0000)]
Adjusting two comments.

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

10 years agoDo not colour a mistaken rebinding of the F0 key.
Benno Schulenberg [Mon, 21 Apr 2014 10:30:35 +0000 (10:30 +0000)]
Do not colour a mistaken rebinding of the F0 key.

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

10 years agoMaking better use of MMOST.
Benno Schulenberg [Wed, 16 Apr 2014 09:55:16 +0000 (09:55 +0000)]
Making better use of MMOST.

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

10 years agoAdjusting some tabbing and spacing.
Benno Schulenberg [Wed, 16 Apr 2014 09:32:53 +0000 (09:32 +0000)]
Adjusting some tabbing and spacing.

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

10 years agoRenaming MREPLACE2 to MREPLACEWITH, for clarity.
Benno Schulenberg [Wed, 16 Apr 2014 09:26:15 +0000 (09:26 +0000)]
Renaming MREPLACE2 to MREPLACEWITH, for clarity.

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

10 years agoRenaming MALL to MMOST, for accuracy.
Benno Schulenberg [Wed, 16 Apr 2014 09:12:13 +0000 (09:12 +0000)]
Renaming MALL to MMOST, for accuracy.

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

10 years agoRemoving MHELP from MALL.
Benno Schulenberg [Wed, 16 Apr 2014 08:58:40 +0000 (08:58 +0000)]
Removing MHELP from MALL.

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

10 years agoFinding properly also the zeroeth item from a
Benno Schulenberg [Wed, 16 Apr 2014 08:24:32 +0000 (08:24 +0000)]
Finding properly also the zeroeth item from a
certain menu in the list of functions.

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

10 years agoAdding shortcut ^L for Refresh to the help viewer,
Benno Schulenberg [Tue, 15 Apr 2014 20:01:19 +0000 (20:01 +0000)]
Adding shortcut ^L for Refresh to the help viewer,
to be able to position ^X Exit as the very first.

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

10 years agoRemoving superfluous abortion variable.
Benno Schulenberg [Tue, 15 Apr 2014 19:32:45 +0000 (19:32 +0000)]
Removing superfluous abortion variable.

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

10 years agoAdding M-\ and M-/ for First and Last Line to the help viewer.
Benno Schulenberg [Tue, 15 Apr 2014 19:28:11 +0000 (19:28 +0000)]
Adding M-\ and M-/ for First and Last Line to the help viewer.

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

10 years agoChecking for the availability of snprintf(), fixes bug #42070.
Benno Schulenberg [Tue, 15 Apr 2014 15:17:40 +0000 (15:17 +0000)]
Checking for the availability of snprintf(), fixes bug #42070.

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

10 years agoNormalizing whitespace around '==' comparison.
Benno Schulenberg [Tue, 15 Apr 2014 15:02:43 +0000 (15:02 +0000)]
Normalizing whitespace around '==' comparison.

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

10 years agoBuilding nano from svn does not require ssh.
Benno Schulenberg [Tue, 15 Apr 2014 12:13:04 +0000 (12:13 +0000)]
Building nano from svn does not require ssh.

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

10 years agoRelocating and correcting a few comments.
Benno Schulenberg [Tue, 15 Apr 2014 11:25:29 +0000 (11:25 +0000)]
Relocating and correcting a few comments.

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

10 years agoActually setting the intended non-blocking input mode.
Benno Schulenberg [Tue, 15 Apr 2014 10:51:43 +0000 (10:51 +0000)]
Actually setting the intended non-blocking input mode.

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

10 years agoAvoiding a compiler warning, and straightening out the logic.
Benno Schulenberg [Mon, 14 Apr 2014 20:42:10 +0000 (20:42 +0000)]
Avoiding a compiler warning, and straightening out the logic.

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

10 years agoInitializing a variable to avoid a compiler warning, renaming it,
Benno Schulenberg [Mon, 14 Apr 2014 13:02:43 +0000 (13:02 +0000)]
Initializing a variable to avoid a compiler warning, renaming it,
adding and tweaking some comments, and removing an unneeded 'if'.

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

10 years agoEliding a variable and condensing a comment.
Benno Schulenberg [Mon, 14 Apr 2014 10:03:32 +0000 (10:03 +0000)]
Eliding a variable and condensing a comment.

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

10 years agoWhitespace adjustments, plus a few comment tweaks.
Benno Schulenberg [Mon, 14 Apr 2014 09:57:06 +0000 (09:57 +0000)]
Whitespace adjustments, plus a few comment tweaks.

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

10 years agoRemoving the unused parameter 'func_key' from get_shortcut().
Benno Schulenberg [Mon, 14 Apr 2014 09:22:29 +0000 (09:22 +0000)]
Removing the unused parameter 'func_key' from get_shortcut().

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

10 years agoRemoving the unused parameter 'file_bot' from copy_from_filestruct().
Benno Schulenberg [Mon, 14 Apr 2014 09:14:39 +0000 (09:14 +0000)]
Removing the unused parameter 'file_bot' from copy_from_filestruct().

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

10 years agoComplaining about --enable-color and tiny without --enable-nanorc.
Benno Schulenberg [Sun, 13 Apr 2014 21:05:57 +0000 (21:05 +0000)]
Complaining about --enable-color and tiny without --enable-nanorc.

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

10 years agoConverting #ifdef ENABLE_NANORC to #ifndef DISABLE_NANORC.
Benno Schulenberg [Sun, 13 Apr 2014 20:50:20 +0000 (20:50 +0000)]
Converting #ifdef ENABLE_NANORC to #ifndef DISABLE_NANORC.

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

10 years agoPrinting the correct --enable/--disable option for libmagic.
Benno Schulenberg [Sun, 13 Apr 2014 19:54:47 +0000 (19:54 +0000)]
Printing the correct --enable/--disable option for libmagic.

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

10 years agoMaking tiny disable libmagic, and documenting the --disable-libmagic flag.
Benno Schulenberg [Sun, 13 Apr 2014 19:44:30 +0000 (19:44 +0000)]
Making tiny disable libmagic, and documenting the --disable-libmagic flag.

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

10 years agoSome small extra colourings.
Benno Schulenberg [Sun, 13 Apr 2014 15:57:05 +0000 (15:57 +0000)]
Some small extra colourings.

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

10 years agoCosmetic tweaks.
Benno Schulenberg [Sun, 13 Apr 2014 12:16:37 +0000 (12:16 +0000)]
Cosmetic tweaks.

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

10 years agoDeleting a misplaced setting of 'currmenu'.
Benno Schulenberg [Sun, 13 Apr 2014 12:09:32 +0000 (12:09 +0000)]
Deleting a misplaced setting of 'currmenu'.

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

10 years agoRemoving mistaken browser item from Go-To-Line menu.
Benno Schulenberg [Sun, 13 Apr 2014 12:01:36 +0000 (12:01 +0000)]
Removing mistaken browser item from Go-To-Line menu.

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

10 years agoRemoving unused parameter 'menu' from strtosc().
Benno Schulenberg [Sun, 13 Apr 2014 11:56:08 +0000 (11:56 +0000)]
Removing unused parameter 'menu' from strtosc().

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

10 years agoAdding four recent syntaxes to the packing list.
Benno Schulenberg [Thu, 10 Apr 2014 20:56:25 +0000 (20:56 +0000)]
Adding four recent syntaxes to the packing list.

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

10 years agoAdding missing --poslog option to the texinfo file, plus some tweaks.
Benno Schulenberg [Tue, 8 Apr 2014 20:01:17 +0000 (20:01 +0000)]
Adding missing --poslog option to the texinfo file, plus some tweaks.

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

10 years agoAdding the documentation for the new --noread option.
Benno Schulenberg [Tue, 8 Apr 2014 19:40:37 +0000 (19:40 +0000)]
Adding the documentation for the new --noread option.

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

10 years agoAdding the command-line option --noread to treat any name
Benno Schulenberg [Tue, 8 Apr 2014 18:59:30 +0000 (18:59 +0000)]
Adding the command-line option --noread to treat any name
on the command line as a new file.  Patch by Hans Alves.

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

10 years agoMore editing of comment blocks and trimming of blank lines.
Benno Schulenberg [Tue, 8 Apr 2014 18:38:45 +0000 (18:38 +0000)]
More editing of comment blocks and trimming of blank lines.
Patch by David Lawrence Ramsey, slightly tweaked.

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

10 years agoAdjusting some comments, and removing an unneeded 'if'.
Benno Schulenberg [Tue, 8 Apr 2014 13:58:04 +0000 (13:58 +0000)]
Adjusting some comments, and removing an unneeded 'if'.

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

10 years agoCorrecting two comments, and tweaking two others.
Benno Schulenberg [Tue, 8 Apr 2014 13:27:32 +0000 (13:27 +0000)]
Correcting two comments, and tweaking two others.

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

10 years agoReformat some comment blocks, fix a few typos, and remove a few unneeded
Benno Schulenberg [Tue, 8 Apr 2014 12:35:18 +0000 (12:35 +0000)]
Reformat some comment blocks, fix a few typos, and remove a few unneeded
blank lines.  Patch by David Lawrence Ramsey was lightly tweaked.

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

10 years agoConverting a literal UTF-8 string into its corresponding byte sequence.
Benno Schulenberg [Tue, 8 Apr 2014 12:24:52 +0000 (12:24 +0000)]
Converting a literal UTF-8 string into its corresponding byte sequence.
Patch by David Lawrence Ramsey.

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

10 years agoExtending the syntax highlighting for Go lang.
Benno Schulenberg [Tue, 8 Apr 2014 12:09:29 +0000 (12:09 +0000)]
Extending the syntax highlighting for Go lang.
Tweaked version of file submitted by Robert Clausecker.

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

10 years agoUppercasing only the first two or three characters of a key name,
Benno Schulenberg [Tue, 8 Apr 2014 11:43:50 +0000 (11:43 +0000)]
Uppercasing only the first two or three characters of a key name,
in order to preserve ^Space and M-Space, so these can be unbound.

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

10 years agoMelting the binding and unbinding code into a single function.
Benno Schulenberg [Tue, 8 Apr 2014 11:22:41 +0000 (11:22 +0000)]
Melting the binding and unbinding code into a single function.

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

10 years agoImprove the layout of the fatal error message.
Benno Schulenberg [Mon, 7 Apr 2014 20:47:26 +0000 (20:47 +0000)]
Improve the layout of the fatal error message.

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

10 years agoDo not speak of "flags", but only of "options".
Benno Schulenberg [Mon, 7 Apr 2014 20:38:29 +0000 (20:38 +0000)]
Do not speak of "flags", but only of "options".

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

10 years agoEhm, no, cancel that. That makes it act like
Benno Schulenberg [Mon, 7 Apr 2014 20:05:05 +0000 (20:05 +0000)]
Ehm, no, cancel that.  That makes it act like
a command-line option, overriding any nanorc.

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

10 years agoTurn wrapping off when --disable-wrapping-as-root was used, no matter what.
Benno Schulenberg [Mon, 7 Apr 2014 18:34:10 +0000 (18:34 +0000)]
Turn wrapping off when --disable-wrapping-as-root was used, no matter what.

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

10 years agoAllowing M-J (full-justify) after being configured with --enable-justify.
Benno Schulenberg [Mon, 7 Apr 2014 09:44:52 +0000 (09:44 +0000)]
Allowing M-J (full-justify) after being configured with --enable-justify.

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

10 years agoDropping the obsolete argument of shortcut_init(),
Benno Schulenberg [Mon, 7 Apr 2014 09:24:10 +0000 (09:24 +0000)]
Dropping the obsolete argument of shortcut_init(),
and removing two unneeded calls of this function.

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