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: Wed, 21 Nov 2018 02:12:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> So please propose a name for the option like say
> 'switch-to-buffer-pop-to-buffer' and tell me whether and how what we
> execute then obeys 'switch-to-buffer-preserve-window-point'.

Maybe a shorter name 'switch-to-buffer-pop'?

> But 'pop-to-buffer-same-window' doesn't have the
> 'switch-to-buffer-preserve-window-point' semantics.  How would you
> want to integrate them?

Maybe just call 'pop-to-buffer-same-window' at the end of 'switch-to-buffer'
when a new option 'switch-to-buffer-pop' is non-nil?





reply via email to

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