bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32790: 27.0.50; point jumps unexpectedly after delete-window


From: Juri Linkov
Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window
Date: Tue, 20 Nov 2018 00:39:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> Like `switch-to-buffer-in-dedicated-window' has the option `pop',
>> another customizable variable could provide a similar non-default
>> option that will call pop-to-buffer-same-window from switch-to-buffer.
>
> OK.  But would that option's value apply to C-x b as well?

This option is needed mostly for 'C-x b' to be able to switch to the buffer
in another window.  And also for other commands that non-interactively call
'switch-to-buffer', like 'C-h C-n'.

>> Or maybe simpler to create a new command e.g. switch-to-buffer-same-window
>> based on switch-to-buffer-other-window?
>
> You mean C-h k C-x b would tell me that
>
> C-x b runs the command switch-to-buffer-same-window (found in
> global-map), which is an interactive compiled Lisp function in
> ‘window.el’.

I see now that this solution doesn't help for commands that
non-interactively call 'switch-to-buffer', like 'C-h C-t'.





reply via email to

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