[Top][All Lists]

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

Re: master ce4ec17: Fix display-buffer-override-next-command to call act

From: Juri Linkov
Subject: Re: master ce4ec17: Fix display-buffer-override-next-command to call action only once (bug#39722)
Date: Tue, 30 Jun 2020 01:43:03 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>>> I'd rather try and avoid this complexity because I think it will become
>>>> problematic as more prefix commands get written.  E.g. the ordering
>>>> problem doesn't only affect `C-u` but all other prefix commands, such as
>>>> `C-x RET c` (there currently aren't others bundled with Emacs, but there
>>>> are others out there).
>>> Hmm, I didn't know that set-buffer-file-coding-system supports a prefix arg:
>>> `C-u C-x RET f`.
> Not sure how that relates to the previous paragraph.

I just discovered a prefix command that supports a prefix arg.
This doesn't mean of course that it should set a precedent
for other commands to follow.

>> BTW, there is also a new command 'same-window-prefix' to request
>> displaying the next command's buffer in the same window to override
>> the setting that would otherwise display the buffer in another window.
> Yes, I like it (it's been on my todo list for other-frame-window).
>> But the problem is that currently it's not bound, and I can't find
>> a good mnemonic keybinding.
> Same problem here.  It's part of the low motivation to work on that todo
> item ;-)
>> 'C-x 4 0' is already taken.
>> 'C-x 4 1' could be reserved for another command that would delete other 
>> windows
>>           before displaying the next buffer in the remaining single window.
>> Maybe 'C-x 4 s'?
> Since I use `C-x 4` instead of `C-x 4 4`, I'd say that `C-x 1` would be
> the "natural" choice, but that's also already taken :-(

But you can still use `C-x 4 1` as a submap of your `C-x 4` map where commands
of the submap will display the buffer in the same window.

reply via email to

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