[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the activation of minor modes
From: |
Emanuel Berg |
Subject: |
Re: About the activation of minor modes |
Date: |
Sun, 06 Mar 2022 06:01:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eduardo Ochs wrote:
> The function `find-epp' of eev pretty-prints its argument
> and shows the result in a temporary buffer, and this
>
> (find-epp (macroexpand '
>
> (define-minor-mode A-mode
> "Help for A-mode"
> :init-value nil
> :global nil
> :lighter " A")
>
> ))
>
> shows exactly what this `define-minor-mode' does. I _guess_
> that it should be easy to modify the (define-minor-mode
> A-mode ...)
Yeah ... _guess_es are that should be pretty easy: obscure
3rd-party software, `macroexpand', a quoted piece of Lisp (a
note to the OP, a `quote' turns Lisp software into data,
however now the macro ... err, whatever).
Study this example instead.
What do you see happening in the below code?
(abbrev-mode -1)
(auto-encryption-mode -1)
(file-name-shadow-mode -1)
(gpm-mouse-mode -1)
(menu-bar-mode -1)
(tooltip-mode -1)
(font-lock-mode)
(transient-mark-mode)
--
underground experts united
https://dataswamp.org/~incal
- Re: About the activation of minor modes, (continued)
- Re: About the activation of minor modes, angelomolina, 2022/03/05
- Re: About the activation of minor modes, Emanuel Berg, 2022/03/05
- Re: About the activation of minor modes, Emanuel Berg, 2022/03/05
- Re: About the activation of minor modes, angelomolina, 2022/03/07
- Re: About the activation of minor modes, Emanuel Berg, 2022/03/08
- Re: About the activation of minor modes, angelomolina, 2022/03/08
- Re: About the activation of minor modes, Emanuel Berg, 2022/03/08
- Re: About the activation of minor modes, angelomolina, 2022/03/09
- Re: About the activation of minor modes, angelomolina, 2022/03/09
Re: About the activation of minor modes, Eduardo Ochs, 2022/03/05
- Re: About the activation of minor modes,
Emanuel Berg <=