|
From: | Óscar Fuentes |
Subject: | Re: Smarter M-x that filters on major-mode |
Date: | Sat, 13 Feb 2021 00:58:53 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: >>> There seems to be an assumption here that the defining info to hiding >>> a command (or not) is the current major mode. >> "Is minor mode xyz active" should be a common predicate, at least. > > Indeed. What I meant to say is that we should focus on designing the > general case of an arbitrary predicate first, and *then* figure out > whether we need to add special syntax/support for common cases like > matching a major mode or a minor mode or ... I'm worried about performance. IIRC I've seen 20000+ commands upon M-x invocation...
[Prev in Thread] | Current Thread | [Next in Thread] |