GNU bug report logs -
#31751
26.1; Window-point inflicts bookmark-jump
Previous Next
Reported by: Dmitri Paduchikh <dpaduchikh <at> gmail.com>
Date: Fri, 8 Jun 2018 07:39:01 UTC
Severity: normal
Tags: fixed
Found in version 26.1
Fixed in version 26.2
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31751 in the body.
You can then email your comments to 31751 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#31751
; Package
emacs
.
(Fri, 08 Jun 2018 07:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dmitri Paduchikh <dpaduchikh <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 08 Jun 2018 07:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#31751
; Package
emacs
.
(Tue, 24 Jul 2018 12:58:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 31751 <at> debbugs.gnu.org (full text, mbox):
tags 31751 fixed
close 31751 26.2
quit
Dmitri Paduchikh <dpaduchikh <at> 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
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 24 Jul 2018 12:58:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 26.2, send any further explanations to
31751 <at> debbugs.gnu.org and Dmitri Paduchikh <dpaduchikh <at> gmail.com>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 24 Jul 2018 12:58:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 22 Aug 2018 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.