nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH 1/2 v6] new feature: an option to make the 'next


From: David Ramsey
Subject: Re: [Nano-devel] [PATCH 1/2 v6] new feature: an option to make the 'nextword' function stop at word ends
Date: Wed, 9 May 2018 21:42:29 -0500

I've tested this patch out, and it is useful.  However, there's one
oversight in it that I've found.

The new option is supposed to use --afterends as the long option, and -y
as the short option.  However, the latter doesn't actually work, because
the getopt_long() call in nano.c:main() still uses the unchanged string
of

"ABC:DEFGHIKLMNOPQ:RST:UVWX:Y:abcdefghijklmno:pqr:s:tuvwxz$"

when it should use

"ABC:DEFGHIKLMNOPQ:RST:UVWX:Y:abcdefghijklmno:pqr:s:tuvwxyz$"

instead.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]