From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12648: 24.2.50; display-buffer switches to another frame Date: Tue, 16 Oct 2012 11:39:31 +0200 Message-ID: <507D2B53.7040607@gmx.at> References: <83391h5787.fsf@gnu.org> <507B0590.3020402@gmx.at> <83zk3o4zus.fsf@gnu.org> <507C071C.1090402@gmx.at> <83mwzn4pfe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350380469 28209 80.91.229.3 (16 Oct 2012 09:41:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 09:41:09 +0000 (UTC) Cc: 12648@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 11:41:15 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TO3eC-0003Sz-T0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 11:41:13 +0200 Original-Received: from localhost ([::1]:56245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO3e5-0006Sy-NY for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 05:41:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO3dv-0006Mp-9J for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 05:41:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TO3dr-000383-07 for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 05:40:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO3dq-00037y-SS for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 05:40:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TO3f0-0003PC-Gl for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Oct 2012 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12648-submit@debbugs.gnu.org id=B12648.135038046412985 (code B ref 12648); Tue, 16 Oct 2012 09:42:02 +0000 Original-Received: (at 12648) by debbugs.gnu.org; 16 Oct 2012 09:41:04 +0000 Original-Received: from localhost ([127.0.0.1]:46168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TO3e4-0003NO-2u for submit@debbugs.gnu.org; Tue, 16 Oct 2012 05:41:04 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:44459) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TO3e2-0003Mf-Pj for 12648@debbugs.gnu.org; Tue, 16 Oct 2012 05:41:03 -0400 Original-Received: (qmail invoked by alias); 16 Oct 2012 09:39:32 -0000 Original-Received: from 62-47-36-151.adsl.highway.telekom.at (EHLO [62.47.36.151]) [62.47.36.151] by mail.gmx.net (mp034) with SMTP; 16 Oct 2012 11:39:32 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19Zr3l3Q3pZo+qzUe9XbmV6D0E1/iE/2Cgxm4Z+8x BbNkctXheGESTt In-Reply-To: <83mwzn4pfe.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65658 Archived-At: >> 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