From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Tromey <tromey@redhat.com>
Cc: 4271@emacsbugs.donarmstrong.com
Subject: bug#4271: 23.1; pop-to-buffer -vs- multiple terminals
Date: Thu, 27 Aug 2009 01:17:36 -0400 [thread overview]
Message-ID: <jwviqg94yzy.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <m3fxbex9qf.fsf@fleche.redhat.com> (Tom Tromey's message of "Wed, 26 Aug 2009 20:37:44 -0600")
> I ran (pop-to-buffer "*vc-diff*") and this did not show the buffer. I
> think that this should ignore frames on other terminals when determining
> whether a buffer is visible.
Does the patch below help?
Stefan
=== modified file 'lisp/window.el'
--- lisp/window.el 2009-07-24 02:42:43 +0000
+++ lisp/window.el 2009-08-27 05:16:51 +0000
@@ -1307,7 +1307,7 @@
(old-frame (selected-frame))
new-window new-frame)
(set-buffer buffer)
- (setq new-window (display-buffer buffer other-window))
+ (setq new-window (display-buffer buffer other-window 0))
(unless (eq new-window old-window)
;; `display-buffer' has chosen another window, select it.
(select-window new-window norecord)
next prev parent reply other threads:[~2009-08-27 5:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 2:37 bug#4271: 23.1; pop-to-buffer -vs- multiple terminals Tom Tromey
2009-08-27 5:17 ` Stefan Monnier [this message]
2009-08-27 5:52 ` martin rudalics
2012-06-20 6:03 ` Chong Yidong
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwviqg94yzy.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=4271@emacsbugs.donarmstrong.com \
--cc=tromey@redhat.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).