[Top][All Lists]

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

bug#31751: 26.1; Window-point inflicts bookmark-jump

From: Dmitri Paduchikh
Subject: bug#31751: 26.1; Window-point inflicts bookmark-jump
Date: Fri, 08 Jun 2018 12:38:31 +0500
User-agent: Gnus/5.13 (Gnus v5.13)


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

reply via email to

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