emacs-devel
[Top][All Lists]
Advanced

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

Re: Add -other-{window, frame} variants of project-prefix-map commands


From: Stefan Monnier
Subject: Re: Add -other-{window, frame} variants of project-prefix-map commands
Date: Mon, 06 Jul 2020 19:35:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> What makes you think Emacs core can't have such a keymap?
> I assumed it would be too monumental change.

`other-frame-window` makes an effort to preserve the old behavior.
Inevitably, there are some changes, but I don't think these are drastic
enough to qualify as "monumental" or to rule out the change.

> 1. Bind ‘C-x 4’ to a new command that will set a transient value of
>    display-buffer-overriding-action and a transient keymap to the
>    other-window commands keymap.

That's what `other-frame-window` offers (and to a lesser extent the
current `C-x 4 4` as well).

> 2. Enable switch-to-buffer-obey-display-actions by default,
>    so all buffer-switching commands (e.g. ‘C-h C-t’, ‘C-h C-p’, ‘C-h n’
>    and many other such commands) will obey display-buffer-overriding-action.

This seems like a largely orthogonal change, so I'd rather keep it out.


        Stefan




reply via email to

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