[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current mode command discovery
From: |
Lars Ingebrigtsen |
Subject: |
Re: Current mode command discovery |
Date: |
Sat, 20 Feb 2021 14:15:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> It reminds me of the disabled-command-function machinery, or at least the
>> concept. Maybe there's a decent way to leverage the two concepts into a
>> similar UI pattern?
Yes, that makes sense. If we do add a "Really execute this command from
this other mode?" thing, then being able to permanently disable the
warning, like with disabled commands, would be nice.
> Talking about integration with other pre-existing functionality: how
> 'bout merging the new command enable functionality with the
> `menu-enable` symbol property?
That does seem natural, doesn't it?
However, I'm not quite sure about the proposed usages for using
completion-predicate for commands that are currently not usable. In
menus, the commands are still there -- they're just greyed out, so you
can tell that if you just do something (mysterious), then they'll be
enabled.
In `M-x' completion, that's not really a natural... thing? (Unless
using a display method that displays all completions, no matter what the
predicate, but sort/display/colour them differently, as Eli suggested.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Current mode command discovery, (continued)
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/17
- Re: Current mode command discovery, Richard Stallman, 2021/02/19
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/19
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery, chad, 2021/02/19
- Re: Current mode command discovery, Stefan Monnier, 2021/02/19
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/19
- Re: [External] : Re: Current mode command discovery, Eli Zaretskii, 2021/02/20
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/20
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/21
- Re: Current mode command discovery,
Lars Ingebrigtsen <=
- Re: Current mode command discovery, Stefan Monnier, 2021/02/20
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/21
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/22
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/20
- Re: Current mode command discovery, Stefan Kangas, 2021/02/19
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/17
- Re: Current mode command discovery, Jean Louis, 2021/02/20
- Re: Current mode command discovery, Robert Pluim, 2021/02/17
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/17
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/14