help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: '(emacs)Init Syntax' customizable minor mode variables


From: Michael Heerdegen
Subject: Re: '(emacs)Init Syntax' customizable minor mode variables
Date: Thu, 11 Aug 2022 05:37:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

YE <yet@ego.team> writes:

> Could someone provide an example(s) for the "customizable minor mode
> variables" that "do special things to enable the mode"?

Enabling a mode has a lot of side effects - it's no surprise that most
modes can't be enabled by just setting the mode's variable.  Just as
adding "MODE" to the mode-line won't enable the mode.

There are some special examples where setting the mode variable does
suffice to turn the mode, but that's due to the kind of implementation
(you can, for example, set up the mode so that it is on, more or less,
all the time, but permanently watches the variable and does nothing and
stays silent when the variable is nil).

Michael.



reply via email to

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