[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Activating a minor-mode
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Activating a minor-mode |
Date: |
Mon, 14 Mar 2022 23:29:20 +0000 |
>> I also want to activate the minor-mode globally.
>> How could I activate a minor-mode globally?
>
> Start with `C-h f define-minor-mode'.
> Check the Emacs manual, with `i minor mode'.
> Check the Elisp manual, with `i minor mode':
>
> It only describes how to code and define a minor-mode rather than using.
> Because of the utility
of using a minor-mode, I do not see some focused information on how to
construct and use a
minor-mode using some examples. There is only an introduction to lisp but is
quite basic.
Your knowledge is what is quite basic.
Nothing wrong with that; we're all ignorant.
You just don't know how to ask Emacs well yet.
Learn that better - it's the key to the lock.
* Is the minor mode defined for use globally,
e.g. defined with :global t?
* If not, is there a globalized version of the
minor mode (`define-globalized-minor-mode')?
* If not, can you define your own globalized
version of it, and use that?
* If not, can you turn on the minor mode in mode hooks?
All of these possibilities are covered in the doc.
And the source code defining the mode tells you
more (everything).
- RE: [External] : Re: Activating a minor-mode, (continued)
- RE: [External] : Re: Activating a minor-mode, Drew Adams, 2022/03/14
- Re: [External] : Re: Activating a minor-mode, tomas, 2022/03/15
- Re: [External] : Re: Activating a minor-mode, Eli Zaretskii, 2022/03/15
- Re: [External] : Re: Activating a minor-mode, tomas, 2022/03/15
- RE: [External] : Re: Activating a minor-mode, Drew Adams, 2022/03/15
- Re: [External] : Re: Activating a minor-mode, Eli Zaretskii, 2022/03/15
- Re: [External] : Re: Activating a minor-mode, Robert Pluim, 2022/03/15
- RE: [External] : Re: Activating a minor-mode, Drew Adams, 2022/03/15
- Re: [External] : Re: Activating a minor-mode, tomas, 2022/03/15
- Message not available
- RE: [External] : Re: Activating a minor-mode, angelomolina, 2022/03/14
- RE: [External] : Re: Activating a minor-mode,
Drew Adams <=