[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: Wed, 01 Jul 2020 00:31:10 +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.
> AFAIK `C-x RET f` is not a prefix command.

Oops, sorry, I forgot it's not a prefix command.

>>> 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.
> Hmm... maybe `C-x 4 1` is a good choice for `same-window-prefix`.

So now `same-window-prefix` is bound to `C-x 4 1`.

reply via email to

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