emacs-devel
[Top][All Lists]
Advanced

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

Re: PROPOSAL: Repurpose one key and reserve it for third-party packages


From: Gregory Heytings
Subject: Re: PROPOSAL: Repurpose one key and reserve it for third-party packages
Date: Tue, 09 Feb 2021 08:23:29 +0000


For example you can move all C-x bindings to F7 with (progn (define-key global-map (kbd "<f7>") ctl-x-map) (define-key global-map (kbd "C-x") nil)).

Does it work that easily though?


No it doesn't, it was just a short proof of concept, which works mostly.


Observed: I get a “C-x-” prompt in the minibuffer, indicating C-x is still acting as a prefix key. Indeed, pressing C-h reveals a number of C-x 8 … bindings in key translations, and a bunch of C-x @ … bindings in function key map translations.


Yes, as Andreas Schwab explained a few days ago in another thread, this is because C-x is a prefix key on the key-translation-map.
reply via email to

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