]> git.wh0rd.org Git - nano.git/log
nano.git
18 years agotypo fix
David Lawrence Ramsey [Fri, 28 Apr 2006 13:23:17 +0000 (13:23 +0000)]
typo fix

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

18 years agoadd the ability to indent and unindent all marked lines of text, via
David Lawrence Ramsey [Fri, 28 Apr 2006 13:19:56 +0000 (13:19 +0000)]
add the ability to indent and unindent all marked lines of text, via
Meta-[ (Meta-}) and Meta-] (Meta-}), per Chris' patch with some changes
by me

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

18 years agotweak the shortcut list a bit more, and add Space and - as aliases for
David Lawrence Ramsey [Thu, 27 Apr 2006 23:39:49 +0000 (23:39 +0000)]
tweak the shortcut list a bit more, and add Space and - as aliases for
PageDown and PageUp in the help browser, per Benno Schulenberg's
suggestions

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

18 years agopreemptively update version numbers and modification dates
David Lawrence Ramsey [Thu, 27 Apr 2006 19:06:05 +0000 (19:06 +0000)]
preemptively update version numbers and modification dates

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

18 years agodocument wording fixes in nanorc.5
David Lawrence Ramsey [Thu, 27 Apr 2006 18:54:24 +0000 (18:54 +0000)]
document wording fixes in nanorc.5

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

18 years agoin nano.texi, add a "Nanorc Files" section to explain the nanorc file
David Lawrence Ramsey [Thu, 27 Apr 2006 18:52:50 +0000 (18:52 +0000)]
in nano.texi, add a "Nanorc Files" section to explain the nanorc file
format in detail, using text from nanorc.5

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

18 years agoin nanorc.5 and nanorc.sample, mention that the nanorc file should not
David Lawrence Ramsey [Thu, 27 Apr 2006 17:29:19 +0000 (17:29 +0000)]
in nanorc.5 and nanorc.sample, mention that the nanorc file should not
be in DOS or Mac format

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

18 years agofix breakage when NO_NEWLINES is FALSE and we copy text that would
David Lawrence Ramsey [Wed, 26 Apr 2006 19:03:50 +0000 (19:03 +0000)]
fix breakage when NO_NEWLINES is FALSE and we copy text that would
require adding a new magicline then

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

18 years agocomment fix
David Lawrence Ramsey [Wed, 26 Apr 2006 18:33:50 +0000 (18:33 +0000)]
comment fix

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

18 years agocosmetic fixes
David Lawrence Ramsey [Wed, 26 Apr 2006 18:27:35 +0000 (18:27 +0000)]
cosmetic fixes

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

18 years agoformatting fixes
David Lawrence Ramsey [Wed, 26 Apr 2006 17:39:41 +0000 (17:39 +0000)]
formatting fixes

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

18 years agoin shortcut_init(), add Meta-} as an alias for Meta-]
David Lawrence Ramsey [Wed, 26 Apr 2006 17:24:46 +0000 (17:24 +0000)]
in shortcut_init(), add Meta-} as an alias for Meta-]

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

18 years agofix inaccurate comment
David Lawrence Ramsey [Tue, 25 Apr 2006 13:07:31 +0000 (13:07 +0000)]
fix inaccurate comment

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

18 years agofix segfault if we try to copy an empty selection
David Lawrence Ramsey [Tue, 25 Apr 2006 02:56:54 +0000 (02:56 +0000)]
fix segfault if we try to copy an empty selection

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

18 years agoadd missing #ifdef
David Lawrence Ramsey [Tue, 25 Apr 2006 02:40:58 +0000 (02:40 +0000)]
add missing #ifdef

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

18 years agocosmetic fixes
David Lawrence Ramsey [Tue, 25 Apr 2006 02:35:33 +0000 (02:35 +0000)]
cosmetic fixes

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

18 years agoadd the ability to copy text into the cutbuffer without cutting it, via
David Lawrence Ramsey [Tue, 25 Apr 2006 02:23:28 +0000 (02:23 +0000)]
add the ability to copy text into the cutbuffer without cutting it, via
Meta-^ (Meta-6); note that this is disabled when NANO_TINY is defined

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

18 years agoreadd the Cancel -> Exit aliases for the file browser and help browser,
David Lawrence Ramsey [Mon, 24 Apr 2006 23:03:21 +0000 (23:03 +0000)]
readd the Cancel -> Exit aliases for the file browser and help browser,
per Benno Schulenberg's suggestion, and clean up a few other
miscellaneous things

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

18 years agomore cosmetic fixes
David Lawrence Ramsey [Mon, 24 Apr 2006 21:14:55 +0000 (21:14 +0000)]
more cosmetic fixes

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

18 years agoin shortcut_init(), tweak the descriptions of two more shortcut keys to
David Lawrence Ramsey [Mon, 24 Apr 2006 21:00:17 +0000 (21:00 +0000)]
in shortcut_init(), tweak the descriptions of two more shortcut keys to
make them more uniform, per one of Benno Schulenberg's suggestions and
one of mine

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

18 years agoanother cosmetic fix
David Lawrence Ramsey [Mon, 24 Apr 2006 20:53:43 +0000 (20:53 +0000)]
another cosmetic fix

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

18 years agobetter handle the insertion of blank lines after shortcuts when certain
David Lawrence Ramsey [Mon, 24 Apr 2006 20:50:52 +0000 (20:50 +0000)]
better handle the insertion of blank lines after shortcuts when certain
features are disabled

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

18 years agoadd missing #ifdef
David Lawrence Ramsey [Mon, 24 Apr 2006 20:17:50 +0000 (20:17 +0000)]
add missing #ifdef

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

18 years agocomment fixes
David Lawrence Ramsey [Mon, 24 Apr 2006 19:44:04 +0000 (19:44 +0000)]
comment fixes

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

18 years agoreduce NO_RCFILE to a static bool in nano.c, since it's only used there
David Lawrence Ramsey [Mon, 24 Apr 2006 18:54:29 +0000 (18:54 +0000)]
reduce NO_RCFILE to a static bool in nano.c, since it's only used there

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

18 years agoin get_prompt_string(), include the handling of the help key even when
David Lawrence Ramsey [Sun, 23 Apr 2006 19:32:50 +0000 (19:32 +0000)]
in get_prompt_string(), include the handling of the help key even when
help is disabled, so that we aren't erroneously kicked out of the
statusbar prompt under any circumstances

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

18 years agoin shortcut_init(), tweak the descriptions of some shortcut keys to make
David Lawrence Ramsey [Sun, 23 Apr 2006 19:21:12 +0000 (19:21 +0000)]
in shortcut_init(), tweak the descriptions of some shortcut keys to make
them more uniform, per Benno Schulenberg's patch with minor tweaks by me

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

18 years agoadjust the main shortcut list a bit more, per Benno Schulenberg's patch,
David Lawrence Ramsey [Sun, 23 Apr 2006 19:15:15 +0000 (19:15 +0000)]
adjust the main shortcut list a bit more, per Benno Schulenberg's patch,
and better handle the insertion of blank lines after toggles when
certain features are disabled

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

18 years agotypo fix
David Lawrence Ramsey [Sun, 23 Apr 2006 14:53:26 +0000 (14:53 +0000)]
typo fix

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

18 years agomore typo fixes
David Lawrence Ramsey [Sun, 23 Apr 2006 01:33:37 +0000 (01:33 +0000)]
more typo fixes

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

18 years agotypo fix
David Lawrence Ramsey [Sun, 23 Apr 2006 01:14:49 +0000 (01:14 +0000)]
typo fix

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

18 years agoin help_init(), if we have at least two entries' worth of blank space,
David Lawrence Ramsey [Sun, 23 Apr 2006 01:10:55 +0000 (01:10 +0000)]
in help_init(), if we have at least two entries' worth of blank space,
use it to display more of "^Space" and "M-Space"

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

18 years agoreally fix #ifdef
David Lawrence Ramsey [Sat, 22 Apr 2006 20:03:05 +0000 (20:03 +0000)]
really fix #ifdef

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

18 years agofix #ifdef
David Lawrence Ramsey [Sat, 22 Apr 2006 20:00:23 +0000 (20:00 +0000)]
fix #ifdef

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

18 years agofix more breakage
David Lawrence Ramsey [Sat, 22 Apr 2006 19:52:27 +0000 (19:52 +0000)]
fix more breakage

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

18 years agoreorganize the main shortcut list to make it easier for new users, per
David Lawrence Ramsey [Sat, 22 Apr 2006 19:45:26 +0000 (19:45 +0000)]
reorganize the main shortcut list to make it easier for new users, per
Benno Schulenberg's suggestion

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

18 years agoadd missing #ifdefs
David Lawrence Ramsey [Sat, 22 Apr 2006 18:20:14 +0000 (18:20 +0000)]
add missing #ifdefs

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

18 years agofix breakage and typos
David Lawrence Ramsey [Fri, 21 Apr 2006 02:30:53 +0000 (02:30 +0000)]
fix breakage and typos

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

18 years agoadd missing alternate meta key sequences
David Lawrence Ramsey [Fri, 21 Apr 2006 02:24:34 +0000 (02:24 +0000)]
add missing alternate meta key sequences

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

18 years agoadd shortcuts to go to the first or last line of the file from the main
David Lawrence Ramsey [Fri, 21 Apr 2006 02:05:09 +0000 (02:05 +0000)]
add shortcuts to go to the first or last line of the file from the main
list, make all the equivalent shortcuts elsewhere consistent, and
simplify input parsing in do_help()

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

18 years agocleanups: fix M-M/M-N toggle inversion, and reorder toggle #defines in
David Lawrence Ramsey [Thu, 20 Apr 2006 22:36:10 +0000 (22:36 +0000)]
cleanups: fix M-M/M-N toggle inversion, and reorder toggle #defines in
nano.h to match the new order in toggle_init()

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

18 years agoreorganize the global toggle list to make it easier for new users, per
David Lawrence Ramsey [Thu, 20 Apr 2006 22:29:02 +0000 (22:29 +0000)]
reorganize the global toggle list to make it easier for new users, per
Benno Schulenberg's suggestion

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

18 years agocomment fixes
David Lawrence Ramsey [Thu, 20 Apr 2006 16:09:32 +0000 (16:09 +0000)]
comment fixes

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

18 years agoin nano.texi, add minor updates to put some text back in sync with
David Lawrence Ramsey [Thu, 20 Apr 2006 15:45:24 +0000 (15:45 +0000)]
in nano.texi, add minor updates to put some text back in sync with
nano's current feature set

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

18 years agoupdate modification date again
David Lawrence Ramsey [Thu, 20 Apr 2006 14:43:09 +0000 (14:43 +0000)]
update modification date again

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

18 years agoin nano.texi, add minor updates to put some text back in sync with
David Lawrence Ramsey [Thu, 20 Apr 2006 14:33:36 +0000 (14:33 +0000)]
in nano.texi, add minor updates to put some text back in sync with
nano's help text

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

18 years agostill another miscellaneous minor fix
David Lawrence Ramsey [Thu, 20 Apr 2006 14:15:16 +0000 (14:15 +0000)]
still another miscellaneous minor fix

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

18 years agoanother typo fix
David Lawrence Ramsey [Thu, 20 Apr 2006 03:20:13 +0000 (03:20 +0000)]
another typo fix

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

18 years agofix changelog entry
David Lawrence Ramsey [Thu, 20 Apr 2006 03:03:57 +0000 (03:03 +0000)]
fix changelog entry

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

18 years agoin renumber(), remove invalid assert
David Lawrence Ramsey [Thu, 20 Apr 2006 03:02:33 +0000 (03:02 +0000)]
in renumber(), remove invalid assert

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

18 years agoin toggle_init(), in the global toggle list, move the "Constant cursor
David Lawrence Ramsey [Wed, 19 Apr 2006 23:13:44 +0000 (23:13 +0000)]
in toggle_init(), in the global toggle list, move the "Constant cursor
position display" toggle up to after the "Use more space for editing"
toggle, for consistency

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

18 years agoin shortcut_init(), in the main shortcut list, move the "Refresh"
David Lawrence Ramsey [Wed, 19 Apr 2006 22:55:37 +0000 (22:55 +0000)]
in shortcut_init(), in the main shortcut list, move the "Refresh"
shortcut down to after the "Enter" shortcut, for consistency

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

18 years agoremove back references from sample Python regex
David Lawrence Ramsey [Wed, 19 Apr 2006 20:56:31 +0000 (20:56 +0000)]
remove back references from sample Python regex

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

18 years agoadd several blank entries to the main shortcut list, in order to make
David Lawrence Ramsey [Wed, 19 Apr 2006 14:09:01 +0000 (14:09 +0000)]
add several blank entries to the main shortcut list, in order to make
its help text easier to read

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

18 years agostill more comment fixes
David Lawrence Ramsey [Wed, 19 Apr 2006 13:36:56 +0000 (13:36 +0000)]
still more comment fixes

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

18 years agoadjust the shortcut list display and related mouse support to not waste
David Lawrence Ramsey [Tue, 18 Apr 2006 16:13:35 +0000 (16:13 +0000)]
adjust the shortcut list display and related mouse support to not waste
the last few characters of bottomwin when the screen width isn't a clean
multiple of the column width, per Benno Schulenberg's patch (with a few
tweaks by me)

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

18 years agoanother comment fix
David Lawrence Ramsey [Tue, 18 Apr 2006 15:58:50 +0000 (15:58 +0000)]
another comment fix

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

18 years agoin nano.texi, mention that backup files and spell checking are disabled
David Lawrence Ramsey [Sun, 16 Apr 2006 22:39:15 +0000 (22:39 +0000)]
in nano.texi, mention that backup files and spell checking are disabled
in restricted mode, as rnano.1 does

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

18 years agochange nano.texi's the license to GPL, in order to match the rest of the
David Lawrence Ramsey [Sun, 16 Apr 2006 22:13:10 +0000 (22:13 +0000)]
change nano.texi's the license to GPL, in order to match the rest of the
documentation, and because the current license is incompatible with
everything else in any case

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

18 years agoupdate modification date
David Lawrence Ramsey [Sun, 16 Apr 2006 20:50:36 +0000 (20:50 +0000)]
update modification date

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

18 years agostill more miscellaneous minor fixes
David Lawrence Ramsey [Sun, 16 Apr 2006 20:40:29 +0000 (20:40 +0000)]
still more miscellaneous minor fixes

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

18 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Sat, 15 Apr 2006 18:02:06 +0000 (18:02 +0000)]
more miscellaneous minor fixes

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

18 years agocomment fixes
David Lawrence Ramsey [Sat, 15 Apr 2006 17:21:52 +0000 (17:21 +0000)]
comment fixes

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

18 years agoin parse_syntax(), don't generate an error if we find a duplicate syntax
David Lawrence Ramsey [Sat, 15 Apr 2006 16:02:02 +0000 (16:02 +0000)]
in parse_syntax(), don't generate an error if we find a duplicate syntax
name, since we might be trying to override a syntax in the global nanorc
with one in our local nanorc; instead, free any duplicate syntaxes we
find, so that we always use the last syntax with a given name

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

18 years agochange translator-specific comments in search.c so that they show up in
David Lawrence Ramsey [Fri, 14 Apr 2006 22:22:00 +0000 (22:22 +0000)]
change translator-specific comments in search.c so that they show up in
nano.pot

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

18 years agowording fix
David Lawrence Ramsey [Fri, 14 Apr 2006 20:21:45 +0000 (20:21 +0000)]
wording fix

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

18 years agoclarify some help text and documentation
David Lawrence Ramsey [Fri, 14 Apr 2006 20:15:44 +0000 (20:15 +0000)]
clarify some help text and documentation

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

18 years agoin configure.ac, remove old warning about color support
David Lawrence Ramsey [Fri, 14 Apr 2006 18:44:02 +0000 (18:44 +0000)]
in configure.ac, remove old warning about color support

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

18 years agoin parse_syntax(), properly generate an error if we've read in a
David Lawrence Ramsey [Fri, 14 Apr 2006 17:20:53 +0000 (17:20 +0000)]
in parse_syntax(), properly generate an error if we've read in a
previous syntax without any associated color commands

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

18 years agoanother error message consistency fix
David Lawrence Ramsey [Thu, 13 Apr 2006 14:09:45 +0000 (14:09 +0000)]
another error message consistency fix

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

18 years agominor wording fixes
David Lawrence Ramsey [Thu, 13 Apr 2006 03:57:12 +0000 (03:57 +0000)]
minor wording fixes

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

18 years agocomment fixes, plus an explanation of the "include" command
David Lawrence Ramsey [Thu, 13 Apr 2006 03:00:00 +0000 (03:00 +0000)]
comment fixes, plus an explanation of the "include" command

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

18 years agoin nanorc.sample, simplify the "nanorc" regex for commands
David Lawrence Ramsey [Thu, 13 Apr 2006 02:50:36 +0000 (02:50 +0000)]
in nanorc.sample, simplify the "nanorc" regex for commands

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

18 years agoat long last, add the ability to use self-contained color syntaxes from
David Lawrence Ramsey [Thu, 13 Apr 2006 02:43:54 +0000 (02:43 +0000)]
at long last, add the ability to use self-contained color syntaxes from
separate files, accessible in the nanorc via the "include" command

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

18 years agoanother comment fix
David Lawrence Ramsey [Wed, 12 Apr 2006 22:03:47 +0000 (22:03 +0000)]
another comment fix

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

18 years agocomment fix
David Lawrence Ramsey [Wed, 12 Apr 2006 21:45:41 +0000 (21:45 +0000)]
comment fix

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

18 years agoin do_rcfile(), check for the rcfile's being a directory or device file
David Lawrence Ramsey [Wed, 12 Apr 2006 21:44:07 +0000 (21:44 +0000)]
in do_rcfile(), check for the rcfile's being a directory or device file
and reject it if it is, for consistency with file handling elsewhere;
also remove SYSCONFDIR #ifdef, as SYSCONFDIR should always be set

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

18 years agoadd the ability to use bold text instead of reverse video text, via the
David Lawrence Ramsey [Wed, 12 Apr 2006 15:27:40 +0000 (15:27 +0000)]
add the ability to use bold text instead of reverse video text, via the
-D/--boldtext command line option and the "boldtext" rcfile option, and
reduce USE_UTF8 to a static bool in chars.c

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

18 years agoremove inaccurate comment
David Lawrence Ramsey [Wed, 12 Apr 2006 14:34:08 +0000 (14:34 +0000)]
remove inaccurate comment

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

18 years agomake all translator comments consistent
David Lawrence Ramsey [Wed, 12 Apr 2006 12:54:23 +0000 (12:54 +0000)]
make all translator comments consistent

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

18 years agochange translator-specific comments in global.c and prompt.c so that
David Lawrence Ramsey [Sun, 9 Apr 2006 18:27:42 +0000 (18:27 +0000)]
change translator-specific comments in global.c and prompt.c so that
they show up in nano.pot

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

18 years agoclarify a comment
David Lawrence Ramsey [Sun, 9 Apr 2006 18:24:54 +0000 (18:24 +0000)]
clarify a comment

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

18 years agoadd updated French manpages
David Lawrence Ramsey [Sun, 9 Apr 2006 18:16:48 +0000 (18:16 +0000)]
add updated French manpages

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

18 years agoin write_file(), simplify the routine for closing the file just before
David Lawrence Ramsey [Fri, 7 Apr 2006 05:33:05 +0000 (05:33 +0000)]
in write_file(), simplify the routine for closing the file just before
we indicate success on the statusbar

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

18 years agosimplify the previous fix; also, in write_file(), clarify the error
David Lawrence Ramsey [Fri, 7 Apr 2006 04:37:14 +0000 (04:37 +0000)]
simplify the previous fix; also, in write_file(), clarify the error
message when writing a temporary file for prepending fails

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

18 years agoin write_file(), if the original file is unreadable when we try to save
David Lawrence Ramsey [Fri, 7 Apr 2006 03:59:12 +0000 (03:59 +0000)]
in write_file(), if the original file is unreadable when we try to save
the backup, we can save the original file unless we're prepending, so do
it

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

18 years agoyet another comment fix
David Lawrence Ramsey [Fri, 7 Apr 2006 03:57:23 +0000 (03:57 +0000)]
yet another comment fix

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

18 years agoin open_file(), remove redundant wording in the error message when we
David Lawrence Ramsey [Thu, 6 Apr 2006 22:57:22 +0000 (22:57 +0000)]
in open_file(), remove redundant wording in the error message when we
try to open a device file

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

18 years agofix changelog entry
David Lawrence Ramsey [Thu, 6 Apr 2006 21:46:09 +0000 (21:46 +0000)]
fix changelog entry

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

18 years agoin safe_tempfile(), don't ignore $TMPDIR if it's set but blank, for
David Lawrence Ramsey [Thu, 6 Apr 2006 21:41:48 +0000 (21:41 +0000)]
in safe_tempfile(), don't ignore $TMPDIR if it's set but blank, for
consistency

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

18 years agoin write_file(), if we can't save the backup file for some reason, at
David Lawrence Ramsey [Thu, 6 Apr 2006 05:18:23 +0000 (05:18 +0000)]
in write_file(), if we can't save the backup file for some reason, at
least save the original file, if possible, since that's better than
saving nothing

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

18 years agostill more comment fixes
David Lawrence Ramsey [Wed, 5 Apr 2006 21:46:13 +0000 (21:46 +0000)]
still more comment fixes

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

18 years agoin parse_argument(), rename variable ptr_bak to ptr_save, for
David Lawrence Ramsey [Wed, 5 Apr 2006 21:28:52 +0000 (21:28 +0000)]
in parse_argument(), rename variable ptr_bak to ptr_save, for
consistency

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

18 years agoopen all files in binary mode for consistency and robustness
David Lawrence Ramsey [Wed, 5 Apr 2006 21:25:47 +0000 (21:25 +0000)]
open all files in binary mode for consistency and robustness

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

18 years agomore comment fixes
David Lawrence Ramsey [Wed, 5 Apr 2006 16:58:45 +0000 (16:58 +0000)]
more comment fixes

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

18 years agocomment fix
David Lawrence Ramsey [Wed, 5 Apr 2006 15:05:05 +0000 (15:05 +0000)]
comment fix

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

18 years agoupdate modification dates
David Lawrence Ramsey [Wed, 5 Apr 2006 13:43:51 +0000 (13:43 +0000)]
update modification dates

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

18 years agovarious documentation updates
David Lawrence Ramsey [Wed, 5 Apr 2006 13:40:56 +0000 (13:40 +0000)]
various documentation updates

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

18 years agoin write_file(), don't free backupname before displaying it in a
David Lawrence Ramsey [Wed, 5 Apr 2006 02:56:47 +0000 (02:56 +0000)]
in write_file(), don't free backupname before displaying it in a
statusbar error message

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

18 years agoin nanorc.sample, in the comment for the "whitespace" option, state
David Lawrence Ramsey [Sat, 1 Apr 2006 19:30:52 +0000 (19:30 +0000)]
in nanorc.sample, in the comment for the "whitespace" option, state
which character values work with which encodings

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