[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`
From: |
Arthur Miller |
Subject: |
bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook` |
Date: |
Thu, 08 Jul 2021 04:11:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Richard Stallman <rms@gnu.org> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > If they are equal, why do they need to be distinguished?
>
> If file A adds such a hook, then file B adds one that is the same,
> then you unload file B, testing for "the same hook" would
> leave none. But A won't work right without its hook.
>
> My scheme would put on two distinct but equivalent hooks,
> then delete one of them, leaving the other in place.
> In some cases, that's what you want.
Ok, I understand now. Yes, indeed, put name tag would be one solution to
the problem. It trades memory for cpu time.
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, (continued)
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Lars Ingebrigtsen, 2021/07/04
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Drew Adams, 2021/07/04
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Michael Heerdegen, 2021/07/04
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Lars Ingebrigtsen, 2021/07/05
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Richard Stallman, 2021/07/05
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Drew Adams, 2021/07/05
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Michael Heerdegen, 2021/07/05
- bug#47992: [External] : bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Richard Stallman, 2021/07/07
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Arthur Miller, 2021/07/06
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Richard Stallman, 2021/07/07
- bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`,
Arthur Miller <=
bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Michael Heerdegen, 2021/07/04
bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`, Olivier Certner, 2021/07/06