[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current mode command discovery
From: |
Óscar Fuentes |
Subject: |
Re: Current mode command discovery |
Date: |
Sun, 14 Feb 2021 21:00:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 14.02.2021 19:19, Lars Ingebrigtsen wrote:
>> This would only be commands that have been marked for the current major
>> mode and any active minor modes, I guess?
>
> BTW, you might be interested in this alternative approach (see
> smex-major-mode-commands):
>
> https://github.com/nonsequitur/smex/blob/master/smex.el#L120-L129
>
> No (declare ...) or incompatible changes to 'interactive' necessary.
> Of course, it doesn't support arbitrary predicates. OTOH, it should
> reliably be fast enough.
That only works with major modes, which IMO is enough to disqualify it,
but on addition it uses crude heuristics for detecting the commands
related to the major mode.
- Re: Current mode command discovery, (continued)
- Re: Current mode command discovery, Stefan Kangas, 2021/02/14
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14
- Re: Current mode command discovery, Philip Kaludercic, 2021/02/14
- Re: Current mode command discovery, Óscar Fuentes, 2021/02/14
- Re: Current mode command discovery, tomas, 2021/02/14
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14
RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14
Re: Current mode command discovery, Dmitry Gutov, 2021/02/14
- Re: Current mode command discovery,
Óscar Fuentes <=
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/14
- Re: Current mode command discovery, Óscar Fuentes, 2021/02/14
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/14
- Re: Current mode command discovery, Stefan Kangas, 2021/02/14
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/14
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/14
Re: Current mode command discovery, Matt Armstrong, 2021/02/14
Re: Current mode command discovery, Óscar Fuentes, 2021/02/16