[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Bugs in global.c:toggle_init and nano.c:do_enter
From: |
David Benbennick |
Subject: |
Re: [Nano-devel] Bugs in global.c:toggle_init and nano.c:do_enter |
Date: |
Tue, 16 Apr 2002 01:38:16 -0400 |
Here is the patch I sent on Saturday, updated to the new global.c,v 1.77.
On Sat, Apr 13, 2002 at 12:05:42PM -0400, David Benbennick wrote:
> With nano -F, try opening multiple buffers then ^Getting help. The
> toggles will appear many times.
>
> Also, with nano -i, try pressing <Enter> from the beginning of the
> following line. The cursor moves forward.
> this line starts with <Tab>.
>
> The attached patch fixes these bugs. It also changes the code so that
> NANO_SMALL becomes independent of the DISABLE switches: BROWSER,
> TABCOMP, JUSTIFY, SPELLER, HELP, MOUSE, and OPERATINGDIR.
>
> I also made some cosmetic code changes to global.c and nano.h. With the
> patch, NANO_SMALL is now about 200 bytes smaller, and the
> bells-n-whistles version is about 100 bytes smaller.
>
>
> By the way: if !NANO_SMALL, then _( is defined as gettext(. This
> definition should probably depend on the ENABLE_NLS switch instead. I
> didn't include that in the patch since I don't know much about gettext.
> Any comments?
>
>
> David
16-apr.01:32.patch.gz
Description: Binary data
pgpUkHyCLtCEJ.pgp
Description: PGP signature