[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: |
Eitan Adler |
Subject: |
Re: [Nano-devel] [PATCH] rcfile.c: always keep entire list of valid keywords |
Date: |
Sat, 03 Jan 2009 22:31:53 -0500 |
User-agent: |
Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 |
Mike Frysinger wrote:
> I like to use one .nanorc file on all my systems, but many may have
> different compile time settings. This means that the same .nanorc file
> cannot be easily used without encountering:
>
> Error in /home/vapier/.nanorc on line 17: Unknown flag "speller"
> Press Enter to continue starting nano.
>
> I think it makes more sense to have the valid keyword list always be the
> same and only control whether the keyword actually results in behavior
> change via ifdefs.
>
> Signed-off-by: Mike Frysinger <address@hidden>
> ---
> src/rcfile.c | 20 --------------------
> 1 files changed, 0 insertions(+), 20 deletions(-)
>
Perhaps we should instead have nano issue a "warning" instead of an
error. If I use the keyword speller when I don't have speller installed
it might be an error (perhaps I mistyped something).
--
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen