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

Stefan Kangas <stefankangas@gmail.com> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> Stefan Kangas <stefankangas@gmail.com> writes:
>>
>>> I only just now discovered that my completion framework (ivy) has had
>>> the exact same idea for M-S-x.  It filters all commands according to
>>> some heuristics, seemingly only showing commands beginning with whatever
>>> package prefix your mode is using.
>>
>> With which command do you see this behaviour?  AFAIK, the Counsel
>> version of M-x only excludes commands with a no-counsel-M-x property,
>> and the Counsel version of C-h b does not by default exclude any key
>> sequence prefixes.
>
> Oops, turns out it is actually `smex-major-mode-commands'.  I should
> have taken a look first, but I had forgotten that I had that package
> installed.

Ah yes, counsel-M-x also defers to amx/smex if those are installed.

-- 
Basil



reply via email to

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