[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warn that you set a variable a second time in .emacs
From: |
Dan Jacobson |
Subject: |
Re: warn that you set a variable a second time in .emacs |
Date: |
18 Jan 2003 07:42:06 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "K" == Kevin Rodgers <kevin.rodgers@ihs.com> writes:
K> Dan Jacobson wrote:
>> It is easy to setq a variable at the top of your .emacs file, and the
>> do it again at the bottom. Perhaps emacs could warn us at startup
>> about this. Of course fancy users could turn this warning off as it
>> is often quite a legitimate thing to do this.
K> Indeed it is. What problem would this feature solve?
well, always adding a setq to the bottom of .emacs will get the effect
the user wanted, but then when he is scratching his head why the same
setq in 2 or three other places in his .emacs has no effect when
adjusted, he wouldn't go firing off a bug report. Erm, uh, let's change
the subject. Say, how about we warn when users repeat options: emacs
-q -q ... ok, never mind. over and out.
--
http://jidanni.org/ Taiwan(04)25854780