[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Leaving out non-applicable commands on Mx
From: |
Óscar Fuentes |
Subject: |
Re: Leaving out non-applicable commands on Mx |
Date: |
Sat, 09 Jan 2016 01:55:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
John Wiegley <address@hidden> writes:
>>>>>> Óscar Fuentes <address@hidden> writes:
>
>>> We've discussed before adding mechanisms for leaving mode-specific commands
>>> out, but I was apparently the only one enthusiastic about it...
>
>> You sketched a possible implementation. If you are interested on completing
>> the part that requires a smart hacker, I'll do the part that requires a dumb
>> one :-)
>
> What is this feature suggestion again?
On the M-x prompt, the set of candidates is restricted to those that
make sense given the current context. Leaving out functions that are
specific to modes not enabled is a start. So if you are editing a C file
and press `M-x g' almost all gnus* functions shall not be considered as
candidates for completion.
This is important with advanced completion systems. An example: while
working on a org-mode file, if I wish to execute org-clock-report I can
use its binding: "C-c C-x C-r". With ido+flx, I can do "M-x ocr ENTER"
which, IMO, is superior on each and every aspect.
The M-x interface can be an improvement over both keybindings and the
menu on terms of usability, given the correct methods, but having
thousands of irrelevant candidates every time you invoke M-x is an
inconvenience for that goal, not to say plain dumb.
- Re: 4K Bugs, (continued)
- Re: 4K Bugs, Stefan Monnier, 2016/01/08
- Leaving out non-applicable commands on Mx (was: 4K Bugs), Óscar Fuentes, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, John Wiegley, 2016/01/08
- Re: Leaving out non-applicable commands on Mx,
Óscar Fuentes <=
- Re: Leaving out non-applicable commands on Mx, John Wiegley, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Spencer Boucher, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/08
- Re: Leaving out non-applicable commands on Mx, Stefan Monnier, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08
- RE: Leaving out non-applicable commands on Mx, Drew Adams, 2016/01/08