emacs-devel
[Top][All Lists]
Advanced

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

Re: doc of defining minor modes


From: David Kastrup
Subject: Re: doc of defining minor modes
Date: Thu, 18 May 2006 19:47:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>     > FWIW, I do not agree. It is sometimes useful to enable a
>     > minor mode upon load, and there is nothing wrong with that
>     > for normal (i.e. respectful) minor modes. If I'm missing
>     > something here, let me know - what's the harm (vs "harmless")?
>
>     You don't want to enable the mode just by using customize (which can
>     trigger loading of any lisp library).
>
> I don't? Why not? What example are you thinking about? If a library is
> loaded by Customize, then it's loaded - so what? And how common is that? If
> there is a specific corner case here that causes a problem here, then let's
> identify it.
>
> Presumably, any libraries loaded that way should not be allowed (by
> their writers) to cause harm. If they would cause harm by turning on
> a mode, then they should not do so upon loading. That's all.

Unpredictability is harm enough.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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