all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12648@debbugs.gnu.org
Subject: bug#12648: 24.2.50; display-buffer switches to another frame
Date: Tue, 16 Oct 2012 11:39:31 +0200	[thread overview]
Message-ID: <507D2B53.7040607@gmx.at> (raw)
In-Reply-To: <83mwzn4pfe.fsf@gnu.org>

 >> IIUC that's what Chong's `inhibit-switch-frame' alist entry is meant
 >> for.  I haven't tried it yet, though.
 >
 > Is that supposed to fix the source-in-other-frame case without harming
 > the source-in-other-window case (which works correctly with the
 > current code in gud.el)?  If so, then all we need is to change gud.el
 > to use that entry.  If some people want the current behavior with
 > 'visible, then so be it; I only want to fix GUD, where I don't believe
 > anyone would want it.

IIUC a user can either set

  `reusable-frames' -- Value specifies frame(s) to search for a
                       window that already displays the buffer.
                       See `display-buffer-reuse-window'.

to nil so the buffer will get displayed on the selected frame even if it
is displayed somewhere elese, or set

  `inhibit-switch-frame' -- A non-nil value prevents any other
                            frame from being raised or selected,
                            even if the window is displayed there.

to t.  The semantics of the latter is not very clear to me because with
most window managers Emacs cannot prevent a new frame from being raised
and selected (at least that's what I've been told repeatedly).

martin





  reply	other threads:[~2012-10-16  9:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 16:49 bug#12648: 24.2.50; display-buffer switches to another frame Eli Zaretskii
2012-10-14 18:33 ` martin rudalics
2012-10-14 19:28   ` Eli Zaretskii
2012-10-15 12:52     ` martin rudalics
2012-10-15 17:26       ` Eli Zaretskii
2012-10-16  9:39         ` martin rudalics [this message]
2012-10-16 13:27           ` Stefan Monnier
2012-10-17  9:37             ` martin rudalics
2012-10-18 19:46         ` 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

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

  git send-email \
    --in-reply-to=507D2B53.7040607@gmx.at \
    --to=rudalics@gmx.at \
    --cc=12648@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.