emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [External] : Re: command mode-specificity [was: scratch/command 064f


From: Lars Ingebrigtsen
Subject: Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...]
Date: Thu, 18 Feb 2021 12:33:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> What happens when a command that was only relevant to a single mode is
> extended to become more widely used?  Wouldn't we need to remove the
> tagging?  And if we do need to do it, how will we manage not to forget
> updating the tagging?

The tagging is right there in the `interactive' spec (and not somewhere
else (in a plist, for instance)), which is one of the reasons that I
want the syntax to be easy and clear -- it makes it much less likely
that somebody will forget to change the tagging in cases like this.
(But I don't think that we will, in practice, see all that much of this.
Nobody is going to suddenly use commands from 5x5.el in dired.el.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]