[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 29.0.60; keymap-local-set and keymap-global-set became less strict
From: |
Richard Stallman |
Subject: |
Re: 29.0.60; keymap-local-set and keymap-global-set became less strict |
Date: |
Fri, 03 Feb 2023 04:56:49 -0500 |
[[[ 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. ]]]
> The advertised API wouldn't change. We don't expect anyone to use the
> additional argument in non-interactive invocation. We can use
> advertised-calling-convention declaration to hide that argument from
> documented interfaces.
Why hide it? It's better to document it.
Occasionally, passing a nontrivial value for that argument is useful.
> I still believe it is better to not leak implementation details as an
> optional argument in this
I would not call this 'leaking', because that assumes there something
we need to "contain". Having an argument for interactive call,
described in the function's doc string is not a problem, just a slight
complexity.
By coontrsst, `called-interactively-p' has real problems.
It was called "fragile" for good reasons.
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, (continued)
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Daniel Mendler, 2023/02/01
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Stefan Monnier, 2023/02/01
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Daniel Mendler, 2023/02/01
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Eli Zaretskii, 2023/02/02
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Daniel Mendler, 2023/02/02
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Robert Pluim, 2023/02/02
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Eli Zaretskii, 2023/02/02
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Robert Pluim, 2023/02/03
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Richard Stallman, 2023/02/03
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Daniel Mendler, 2023/02/04
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict,
Richard Stallman <=
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Eli Zaretskii, 2023/02/03
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Richard Stallman, 2023/02/04
- Re: 29.0.60; keymap-local-set and keymap-global-set became less strict, Eli Zaretskii, 2023/02/05