[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Smarter M-x that filters on major-mode
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Smarter M-x that filters on major-mode |
Date: |
Thu, 11 Feb 2021 06:15:49 +0000 |
> Another idea that I once had is that to make a special M-x such that it
> only contains some selected commands, and as soon as there is only one
> candidate left, it is immediately executed (without pressing RET). This
> is somewhat between a keybinding and normal M-x.
It's trivial to define a command like `M-x' that
limits the available command names using a predicate.
___
Option `icicle-top-level-when-sole-completion-flag'
does what you suggest for a sole matching candidate:
Non-nil means to return to top level if only one
matching completion. The sole completion is accepted.
Option `icicle-top-level-when-sole-completion-delay'
is the number of seconds to wait before doing that.
Editing the completion (typing or deleting a char)
before the delay expires prevents its automatic
acceptance.
- Re: Experimentally unbind M-o on the trunk, (continued)
- RE: [External] : Re: Experimentally unbind M-o on the trunk, Drew Adams, 2021/02/10
- Re: Experimentally unbind M-o on the trunk, Jean Louis, 2021/02/11
- Re: Experimentally unbind M-o on the trunk, Matt Armstrong, 2021/02/10
- Re: Experimentally unbind M-o on the trunk, Lars Ingebrigtsen, 2021/02/10
- Smarter M-x that filters on major-mode, Stefan Kangas, 2021/02/10
- Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/10
- Re: Smarter M-x that filters on major-mode, Yuan Fu, 2021/02/11
- RE: [External] : Re: Smarter M-x that filters on major-mode,
Drew Adams <=
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Eli Zaretskii, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Óscar Fuentes, 2021/02/11