[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] rcfile.c: always keep entire list of valid keyw
From: |
Mike Frysinger |
Subject: |
Re: [Nano-devel] [PATCH] rcfile.c: always keep entire list of valid keywords |
Date: |
Sun, 4 Jan 2009 12:57:52 -0500 |
User-agent: |
KMail/1.10.3 (Linux/2.6.28; KDE/4.1.3; x86_64; ; ) |
On Sunday 04 January 2009 12:45:00 Eitan Adler wrote:
> > i'm not sure how you could mistype "speller" when you meant something
> > else.
>
> I meant this as a joke. At some point in the future however there might
> be keywords that you might misspell.
the patch i posted doesnt change this behavior. unknown (typod) keywords are
still errors.
> Or more likely you used the
> "speller" keyword expecting it to work but you accidentally compiled
> without spelling support or such.
i think such things would become apparent at runtime. i.e. you attempt to
launch the speller and nano tells you spelling has been disabled. i dont
think the nanorc config file has any sort of useful bearing in this regard.
> > dont mind the output from nano, i mind having to hit enter once for every
> > keyword the active nano doesnt support.
>
> Hence the /warning/ output instead of an /error/.
detecting enabled/disabled keywords and making it a warning vs error is beyond
me atm ... i'm not that familiar with the current code.
-mike
signature.asc
Description: This is a digitally signed message part.