[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5294: 23.1; unload-feature disable minor-mode
From: |
Kevin Ryde |
Subject: |
bug#5294: 23.1; unload-feature disable minor-mode |
Date: |
Wed, 06 Jan 2010 12:01:04 +1100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Juanma Barranquero <lekktu@gmail.com> writes:
>
> How is passing that test (presumibly, either a form or a predicate
> function) to define-minor-mode better than putting it into
> FEATURE-unload-function?
Principally that define-minor-mode knows what things it did and
therefore should be undone, or why they might not be undone at the
present time. I think it would be rather repetitive to be obliged to
write a FOO-unload-function whenever making a minor mode.
Which, err, presumes that there may be standardized things that should
be considered and/or undone for unloading a mode. I see you say there's
normally not -- where I say there could be a disable or a caution to
avoid likely breakage, removal from the minor modes menu, etc.
- bug#5294: 23.1; unload-feature disable minor-mode, Kevin Ryde, 2010/01/02
- bug#5294: 23.1; unload-feature disable minor-mode, Juanma Barranquero, 2010/01/02
- bug#5294: 23.1; unload-feature disable minor-mode, Kevin Ryde, 2010/01/02
- bug#5294: 23.1; unload-feature disable minor-mode, Kevin Ryde, 2010/01/03
- bug#5294: 23.1; unload-feature disable minor-mode, Juanma Barranquero, 2010/01/03
- bug#5294: 23.1; unload-feature disable minor-mode, Kevin Ryde, 2010/01/05
- bug#5294: 23.1; unload-feature disable minor-mode, Juanma Barranquero, 2010/01/05
- bug#5294: 23.1; unload-feature disable minor-mode,
Kevin Ryde <=
- bug#5294: 23.1; unload-feature disable minor-mode, Juanma Barranquero, 2010/01/05