emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standardizing more key bindings?


From: Thibaut Verron
Subject: Re: Standardizing more key bindings?
Date: Fri, 2 Oct 2020 08:26:14 +0200

> To make them global means they conflict with a lot more other bindings,
> and that makes the task of choosing these bindings harder.
> It also means that the change would be a bigger incompatibility.

I don't suggest that we choose bindings. The question is can we have
infrastructure making is easy for users (or starter kit developers,
etc) to set such bindings across modes.

> The first question is, should thee bindings be conceptually global?
> I don't think so.
> (...)
> Thus, I think we should plan on having these bindings only
> in the major modes that involve talking to an intepreter.

Yes, definitely.

> How to _implement_ these bindings is another question.
> The easy way is for each major modes to establish the bindings
> in its major mode map.  That is simple and coherent with
> the rest of Emacs.

But today, it typically results in different bindings, and rebinding,
if wanted, has to be done in each of the modes.

> The idea of having one single keymap to implement them presumes that
> any given binding is implemented by the same command in all these modes.
> Is that true?  I doubt it.

That is one possibility suggested in my original message. To have one
single entry point for those commands, which then calls functions
defined by the mode, similar to how indentation works.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]