emacs-devel
[Top][All Lists]
Advanced

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

Re: "whether the global keymap C-x 4 will be replaced by a command,"


From: Stefan Monnier
Subject: Re: "whether the global keymap C-x 4 will be replaced by a command,"
Date: Sun, 19 Jul 2020 23:13:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> 2. add a catch-all fallback to ctl-x-4-map and bind it to the command
>    invoked when an unbound key is typed after 'C-x 4'.

I don't know how to implement that in a way that works well enough
(i.e. without suffering from weird corner case behaviors due to
interactions with `input-decode-map`, `function-key-map`, etc...).

`set-transient-map` is the least bad I way I found to provide this kind
of behavior.


        Stefan




reply via email to

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