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: jao
Subject: Re: Smarter M-x that filters on major-mode
Date: Fri, 12 Feb 2021 17:57:10 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Fri, Feb 12 2021, Stefan Monnier wrote:

> There seems to be an assumption here that the defining info to hiding
> a command (or not) is the current major mode.

hmm, not on my side at least.  but my expectation was that it'll happen
often enough, and i was thinking of ways of easing the transition for
those packages in which it happens.

> While it's an important case, I think it'd be a mistake to design
> a feature that can only use such tests.

fwiw, i wasn't proposing such a thing.  the "all these interactives are
for this major mode" flag/mechanism would be strictly opt-in.

> There are many other useful conditions that one might like to test,
> such as the activation of the region, the existence of some other
> buffer, etc...

indeed.



reply via email to

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