unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* warn that you set a variable a second time in .emacs
@ 2003-01-17  3:10 Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-01-17  3:10 UTC (permalink / raw)


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.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: warn that you set a variable a second time in .emacs
       [not found] <mailman.435.1042778522.21513.bug-gnu-emacs@gnu.org>
@ 2003-01-17 16:50 ` Kevin Rodgers
  2003-01-17 23:42   ` Dan Jacobson
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2003-01-17 16:50 UTC (permalink / raw)


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.

Indeed it is.  What problem would this feature solve?

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: warn that you set a variable a second time in .emacs
  2003-01-17 16:50 ` warn that you set a variable a second time in .emacs Kevin Rodgers
@ 2003-01-17 23:42   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-01-17 23:42 UTC (permalink / raw)


>>>>> "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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-17 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.435.1042778522.21513.bug-gnu-emacs@gnu.org>
2003-01-17 16:50 ` warn that you set a variable a second time in .emacs Kevin Rodgers
2003-01-17 23:42   ` Dan Jacobson
2003-01-17  3:10 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).