David Lawrence Ramsey
57f97538b1
fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-20 03:03:57 +00:00
David Lawrence Ramsey
e904888324
in renumber(), remove invalid assert
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-20 03:02:33 +00:00
David Lawrence Ramsey
8ff785cf40
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
2006-04-19 23:13:44 +00:00
David Lawrence Ramsey
b9eb2be295
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
2006-04-19 22:55:37 +00:00
David Lawrence Ramsey
9461dbd72d
remove back references from sample Python regex
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3393 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-19 20:56:31 +00:00
David Lawrence Ramsey
efb4b0a96c
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
2006-04-19 14:09:01 +00:00
David Lawrence Ramsey
e6757b94d3
still more comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-19 13:36:56 +00:00
David Lawrence Ramsey
e806ab8473
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
2006-04-18 16:13:35 +00:00
David Lawrence Ramsey
172aa93f4a
another comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3389 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-18 15:58:50 +00:00
David Lawrence Ramsey
e916d67389
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
2006-04-16 22:39:15 +00:00
David Lawrence Ramsey
51b1b2f1aa
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
2006-04-16 22:13:10 +00:00
David Lawrence Ramsey
3a0da8bb3b
update modification date
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3386 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-16 20:50:36 +00:00
David Lawrence Ramsey
b1bf7cf791
still more miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-16 20:40:29 +00:00
David Lawrence Ramsey
73ff694ce1
more miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3384 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-15 18:02:06 +00:00
David Lawrence Ramsey
b61dc89f9a
comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3383 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-15 17:21:52 +00:00
David Lawrence Ramsey
39b7189a13
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
2006-04-15 16:02:02 +00:00
David Lawrence Ramsey
8f6fb3c6b6
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
2006-04-14 22:22:00 +00:00
David Lawrence Ramsey
57c9afb9e6
wording fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-14 20:21:45 +00:00
David Lawrence Ramsey
f50bd4be88
clarify some help text and documentation
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3379 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-14 20:15:44 +00:00
David Lawrence Ramsey
b43648aae2
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
2006-04-14 18:44:02 +00:00
David Lawrence Ramsey
a33ec1deff
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
2006-04-14 17:20:53 +00:00
David Lawrence Ramsey
33619f1ac5
another error message consistency fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3376 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-13 14:09:45 +00:00
David Lawrence Ramsey
9e9f4e22ad
minor wording fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3375 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-13 03:57:12 +00:00
David Lawrence Ramsey
a33671376e
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
2006-04-13 03:00:00 +00:00
David Lawrence Ramsey
8e05c315b2
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
2006-04-13 02:50:36 +00:00
David Lawrence Ramsey
cee20e50c6
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
2006-04-13 02:43:54 +00:00
David Lawrence Ramsey
03ee332640
another comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3371 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-12 22:03:47 +00:00
David Lawrence Ramsey
f0134ea9b2
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3370 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-12 21:45:41 +00:00
David Lawrence Ramsey
5fac171c8b
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
2006-04-12 21:44:07 +00:00
David Lawrence Ramsey
4d72de73b1
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
2006-04-12 15:27:40 +00:00
David Lawrence Ramsey
61a70388fe
remove inaccurate comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3367 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-12 14:34:08 +00:00
David Lawrence Ramsey
af318aaa5c
make all translator comments consistent
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3366 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-12 12:54:23 +00:00
David Lawrence Ramsey
cde9039335
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
2006-04-09 18:27:42 +00:00
David Lawrence Ramsey
be7fd8a9be
clarify a comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-09 18:24:54 +00:00
David Lawrence Ramsey
0c4e30be7c
add updated French manpages
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3363 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-09 18:16:48 +00:00
David Lawrence Ramsey
125b2f0be5
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
2006-04-07 05:33:05 +00:00
David Lawrence Ramsey
adfecd24b4
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
2006-04-07 04:37:14 +00:00
David Lawrence Ramsey
2420794355
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
2006-04-07 03:59:12 +00:00
David Lawrence Ramsey
d9ae1d6d6a
yet another comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3359 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-07 03:57:23 +00:00
David Lawrence Ramsey
8055f0935f
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
2006-04-06 22:57:22 +00:00
David Lawrence Ramsey
f6287eaf54
fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3357 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-06 21:46:09 +00:00
David Lawrence Ramsey
ac8dfca510
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
2006-04-06 21:41:48 +00:00
David Lawrence Ramsey
e5af25baef
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
2006-04-06 05:18:23 +00:00
David Lawrence Ramsey
9308e5210b
still more comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3354 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-05 21:46:13 +00:00
David Lawrence Ramsey
5cbd990bf5
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
2006-04-05 21:28:52 +00:00
David Lawrence Ramsey
979de2309b
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
2006-04-05 21:25:47 +00:00
David Lawrence Ramsey
b0588ae45e
more comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3351 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-05 16:58:45 +00:00
David Lawrence Ramsey
ca70ff69ed
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-05 15:05:05 +00:00
David Lawrence Ramsey
dd87073020
update modification dates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-05 13:43:51 +00:00
David Lawrence Ramsey
6d3485e040
various documentation updates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3348 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-05 13:40:56 +00:00