emacs-devel
[Top][All Lists]
Advanced

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

Re: Smarter M-x that filters on major-mode


From: Lars Ingebrigtsen
Subject: Re: Smarter M-x that filters on major-mode
Date: Sun, 14 Feb 2021 15:45:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> Sorry, I just meant that 'interactive' will no longer be extensible,
> whereas 'declare' is inherently extensible.

That's true.  I originally went with a new directive, `command', instead
of extending `interactive', partly because of that, but it then didn't
seem like a very compelling thing -- we haven't extended `interactive'
in...  er...  many decades, so the conclusion from that might be that
it's perhaps not likely that we'll want to further extend it.

On the other hand, if that's a commonly held worry, we could change the
signature from &optional form &rest modes to &optional form modes.

And finally, if it turns out that we super-duper do need to extend
`interactive' later, then we can just introduce `command' instead.

-- 
(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]