all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Dmitri Paduchikh <dpaduchikh@gmail.com>
Cc: 31751@debbugs.gnu.org
Subject: bug#31751: 26.1; Window-point inflicts bookmark-jump
Date: Tue, 24 Jul 2018 08:56:53 -0400	[thread overview]
Message-ID: <87k1pk4wru.fsf@gmail.com> (raw)
In-Reply-To: <87d0x1vibs.fsf@gmail.com> (Dmitri Paduchikh's message of "Fri, 08 Jun 2018 12:38:31 +0500")

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





      reply	other threads:[~2018-07-24 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  7:38 bug#31751: 26.1; Window-point inflicts bookmark-jump Dmitri Paduchikh
2018-07-24 12:56 ` Noam Postavsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1pk4wru.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=31751@debbugs.gnu.org \
    --cc=dpaduchikh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.