emacs-devel
[Top][All Lists]
Advanced

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

Re: problem of define-minor-mode while bootstrapping


From: Dave Love
Subject: Re: problem of define-minor-mode while bootstrapping
Date: 25 Sep 2002 23:50:57 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Richard Stallman <address@hidden> writes:

>     > The reason for this little piece of code is so as to call (foo-mode 1) 
> when
>     > people do (setq foo-mode t) in their .emacs and then load foo-mode.el.
>     > But people shouldn't use (setq foo-mode t), they should use (foo-mode 1)
>     > instead anyway.
>     > So I'd rather use that code less often rather than more often.
> 
>     CAn we just get rid of it?
> 
> I'd rather not do that.
> It would be an incompatible change, and I don't see
> enough reason for one.

The fact that you can't currently DTRT seems good enough.  I don't see
a serious problem with such a change since I, for one, wasn't aware
there was such code and the minor mode doc explicitly says that
setting the variable doesn't take effect.

It's also meant to be a requirement that just loading a library
doesn't change Emacs's state, particularly for the sake of Custom; I
think that's documented, but if not, it should be.




reply via email to

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