From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12648: 24.2.50; display-buffer switches to another frame Date: Mon, 15 Oct 2012 19:26:29 +0200 Message-ID: <83mwzn4pfe.fsf@gnu.org> References: <83391h5787.fsf@gnu.org> <507B0590.3020402@gmx.at> <83zk3o4zus.fsf@gnu.org> <507C071C.1090402@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1350322021 22040 80.91.229.3 (15 Oct 2012 17:27:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 17:27:01 +0000 (UTC) Cc: 12648@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 19:27:08 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 1TNoRX-0001WY-Bs for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 19:27:07 +0200 Original-Received: from localhost ([::1]:38994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNoRQ-0004cM-HA for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 13:27:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNoRN-0004bT-4q for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 13:26:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNoRL-0000YG-CG for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 13:26:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNoRL-0000Y5-8o for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 13:26:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TNoSQ-0004SB-PC for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Oct 2012 17:28: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.135032206117089 (code B ref 12648); Mon, 15 Oct 2012 17:28:02 +0000 Original-Received: (at 12648) by debbugs.gnu.org; 15 Oct 2012 17:27:41 +0000 Original-Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNoS4-0004RZ-MF for submit@debbugs.gnu.org; Mon, 15 Oct 2012 13:27:41 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37087) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNoS1-0004RK-KZ for 12648@debbugs.gnu.org; Mon, 15 Oct 2012 13:27:39 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MBY001002WPB500@a-mtaout22.012.net.il> for 12648@debbugs.gnu.org; Mon, 15 Oct 2012 19:26:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBY0010T33VA130@a-mtaout22.012.net.il>; Mon, 15 Oct 2012 19:26:20 +0200 (IST) In-reply-to: <507C071C.1090402@gmx.at> X-012-Sender: halo1@inter.net.il 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:65636 Archived-At: > Date: Mon, 15 Oct 2012 14:52:44 +0200 > From: martin rudalics > CC: 12648@debbugs.gnu.org > > > I think this is different: setting pop-up-frames non-nil expresses a > > wish to see certain behavior that the default shouldn't have. > > Well, if you call `display-buffer' with the FRAME argument 'visible > you're explicitly asking for such behavior. Fair enough. > > Yes, but is the current behavior useful as it is? > > We have a choice between Scylla and Charybdis. People complained that > making a new frame select the window and reusing an existing frame not > select the window would break their typing habits ... > > > If gud.el should call display-buffer in some different way to avoid > > selecting the frame with the source, that, too, could be a good > > solution. > > 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. Thanks.