all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sean Whitton <spwhitton@spwhitton.name>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Cc: Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: master 7551aff 4/4: Bind switch-to-buffer-obey-display-actions to t
Date: Sun, 26 Jul 2020 20:27:34 -0700	[thread overview]
Message-ID: <87tuxtbpsp.fsf@iris.silentflame.com> (raw)
In-Reply-To: <jwvy2n5hfu5.fsf-monnier+emacs@gnu.org>

Hello Stefan,

On Sun 26 Jul 2020 at 10:07PM -04, Stefan Monnier wrote:

>>     Bind switch-to-buffer-obey-display-actions to t
>
> This sounds wrong.  Why not change the rest of the code to use
> `pop-to-buffer-same-window` instead?

AIUI Dmitry made this change purely so that project-switch-to-buffer
would work with project-other-*-command.  So are you suggesting that
project-switch-to-buffer use pop-to-buffer-same-window?

I think that would not be ideal, because for users with
switch-to-buffer-obey-display-actions set to nil globally, it is good
that switch-to-buffer unconditionally uses the selected window, and it
seems that project-switch-to-buffer should be consistent with
switch-to-buffer.

-- 
Sean Whitton



  reply	other threads:[~2020-07-27  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200726235725.458.96146@vcs0.savannah.gnu.org>
     [not found] ` <20200726235727.D751320A1C@vcs0.savannah.gnu.org>
2020-07-27  2:07   ` master 7551aff 4/4: Bind switch-to-buffer-obey-display-actions to t Stefan Monnier
2020-07-27  3:27     ` Sean Whitton [this message]
2020-07-27 14:10       ` Stefan Monnier

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=87tuxtbpsp.fsf@iris.silentflame.com \
    --to=spwhitton@spwhitton.name \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.