* bug#31751: 26.1; Window-point inflicts bookmark-jump
@ 2018-06-08 7:38 Dmitri Paduchikh
2018-07-24 12:56 ` Noam Postavsky
0 siblings, 1 reply; 2+ messages in thread
From: Dmitri Paduchikh @ 2018-06-08 7:38 UTC (permalink / raw)
To: 31751
Hi,
In 26.1 switch-to-buffer by default prefers window-point. buffer-jump by
default uses switch-to-buffer and therefore also prefers window-point to
bookmark position which is wrong. The solution is suggested in NEWS:
> ** 'switch-to-buffer-preserve-window-point' now defaults to t.
> Applications that call 'switch-to-buffer' and want to show the buffer at
> the position of its point should use 'pop-to-buffer-same-window' in lieu
> of 'switch-to-buffer'.
Recipe to reproduce: open a file, set bookmark, move point to some other
position, switch to some other buffer, and jump to the set bookmark.
Best wishes.
Dmitri Paduchikh
In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-05-29 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12000000
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#31751: 26.1; Window-point inflicts bookmark-jump
2018-06-08 7:38 bug#31751: 26.1; Window-point inflicts bookmark-jump Dmitri Paduchikh
@ 2018-07-24 12:56 ` Noam Postavsky
0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2018-07-24 12:56 UTC (permalink / raw)
To: Dmitri Paduchikh; +Cc: 31751
tags 31751 fixed
close 31751 26.2
quit
Dmitri Paduchikh <dpaduchikh@gmail.com> writes:
> In 26.1 switch-to-buffer by default prefers window-point. buffer-jump by
> default uses switch-to-buffer and therefore also prefers window-point to
> bookmark position which is wrong. The solution is suggested in NEWS:
>
>> ** 'switch-to-buffer-preserve-window-point' now defaults to t.
>> Applications that call 'switch-to-buffer' and want to show the buffer at
>> the position of its point should use 'pop-to-buffer-same-window' in lieu
>> of 'switch-to-buffer'.
>
> Recipe to reproduce: open a file, set bookmark, move point to some other
> position, switch to some other buffer, and jump to the set bookmark.
I changed it to use pop-to-buffer-same-window as suggested in NEWS.
[1: f64c2774e9]: 2018-07-23 22:07:14 -0400
Let bookmark-jump override window-point (Bug#31751)
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f64c2774e96c755a5fddcbc49db65dcc3fcb9323
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-24 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-08 7:38 bug#31751: 26.1; Window-point inflicts bookmark-jump Dmitri Paduchikh
2018-07-24 12:56 ` Noam Postavsky
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.