[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Leaving out non-applicable commands on Mx
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Leaving out non-applicable commands on Mx |
Date: |
Sun, 10 Jan 2016 09:53:40 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> I think having to tweak every mode-specific command is going to be
> too heavy. We should be able to cut that down drastically by having
> a way to say "commands with prefix foo- all all mode-specific except for
> those that are marked as being global".
That would certainly help with discoverability of the global
commands, but would it also allow completing over the commands that are
applicable to the current mode(s)? For instance, there are often
commands that apply to similar modes (for instance in the cc-mode
family) that aren't necessarily named what you might think, I think...
One could offer to complete over the keys that are bound in the local
maps, of course.
If one can get this to work, that would be very nice, but I'm not sure
that that it's flexible enough.
> So if we have N local command and M global commands, we replace
> N modifications with M+1 modifications. If M>>N that's a big win.
Sure. But I think this sort of "janitorial" fix-up is something that
appeals to (some) people: They can do something that can be
semi-automated, and have real noticeable progressive impact on Emacs
usability.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Making `interactive' conditional, (continued)
- Re: Making `interactive' conditional, Clément Pit--Claudel, 2016/01/10
- Re: Making `interactive' conditional (was: Leaving out non-applicable commands on Mx), Marcin Borkowski, 2016/01/10
- Re: Making `interactive' conditional, Stefan Monnier, 2016/01/11
- Re: Leaving out non-applicable commands on Mx, Lars Magne Ingebrigtsen, 2016/01/09
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/09
- Re: Leaving out non-applicable commands on Mx, Stefan Monnier, 2016/01/09
- Re: Leaving out non-applicable commands on Mx,
Lars Magne Ingebrigtsen <=
- Re: Leaving out non-applicable commands on Mx, Stefan Monnier, 2016/01/10
- Re: Leaving out non-applicable commands on Mx, Stefan Monnier, 2016/01/10
- Re: Leaving out non-applicable commands on Mx, Óscar Fuentes, 2016/01/10
Re: 4K Bugs, Michael Albinus, 2016/01/08
- Re: 4K Bugs, Phillip Lord, 2016/01/08
- Re: 4K Bugs, Michael Albinus, 2016/01/08
- Re: 4K Bugs, Phillip Lord, 2016/01/08
- Re: 4K Bugs, Andrew Hyatt, 2016/01/08
- Re: 4K Bugs, Michael Albinus, 2016/01/09
- Re: 4K Bugs, Phillip Lord, 2016/01/11