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: Juri Linkov
Subject: Re: "whether the global keymap C-x 4 will be replaced by a command,"
Date: Mon, 20 Jul 2020 01:07:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> In `other-frame-window` this is done via `ofw-transient-map`.

`C-x 4` could fall back to `ofw-transient-map` when `C-x 4` is
followed by an unbound key that has a binding in `ofw-transient-map`.
Otherwise, when there is no binding in the `C-x 4` keymap,
and no binding in `ofw-transient-map` then the key sequence
could be followed by a global binding.

But such fallback currently is impossible to implement because
`[remap t]` doesn't work in `ctl-x-4-map`.  Tried with:

  (define-key ctl-x-4-map [remap t] 'other-window-prefix)

then typed `C-x 4 C-x C-f` and the result is:

  C-x 4 C-x C-f is undefined



reply via email to

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