[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Current mode command discovery
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Current mode command discovery |
Date: |
Sun, 14 Feb 2021 23:30:03 +0000 |
> Like I said before: instead of removing what
> seems irrelevant, make them appear after the
> relevant parts. Otherwise we will lose
> information when we guess wrong (which is an
> easy mistake to make, since the assumption
> that the user always wants only the commands
> from the current major mode is not always true).
I agree.
(But I would say less relevant, not irrelevant.
Even a command you can't invoke can be relevant
for use by `M-x', especially - but not only -
with a completion framework that lets `M-x' do
more than just invoke.)
FWIW -
The approach you describe is similar to the one
taken for key completion in library keysee.el
or Icicles. You can sort by any of these orders:
* By key name alphabetically, prefix keys first
* By key name alphabetically, local keys first
* By command name alphabetically
* Off - no sorting
And with either library sortie.el or Icicles you
can hit a key (`C-,' by default) to cycle during
completion among whatever sort orders are available.
___
https://www.emacswiki.org/emacs/KeySee
https://www.emacswiki.org/emacs/Sortie
https://www.emacswiki.org/emacs/Icicles_-_Key_Completion
- Re: Current mode command discovery, (continued)
- 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 <=
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, Ó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