From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#30: marked as done (Inconsistent behaviour of display-buffer, pop-to-buffer) Date: Sun, 04 Jan 2009 19:20:03 +0000 Message-ID: References: <49610988.9000607@gmx.at> <1204345643.1966.1239939351@webmail.messagingengine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1231096803-31336-0" X-Trace: ger.gmane.org 1231097052 1459 80.91.229.12 (4 Jan 2009 19:24:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2009 19:24:12 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 20:25:20 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LJYb0-00044A-62 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2009 20:25:10 +0100 Original-Received: from localhost ([127.0.0.1]:41292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJYZk-0000MX-SO for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2009 14:23:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJYZN-0000Ep-K7 for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 14:23:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJYZM-0000EK-TM for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 14:23:28 -0500 Original-Received: from [199.232.76.173] (port=52976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJYZM-0000EF-Bd for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 14:23:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44138) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJYZL-0007Qy-PP for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2009 14:23:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n04JNNJF032506; Sun, 4 Jan 2009 11:23:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n04JK3Cx031358; Sun, 4 Jan 2009 11:20:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 30 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: wontfix X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23761 Archived-At: This is a multi-part message in MIME format... ------------=_1231096803-31336-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 04 Jan 2009 20:10:00 +0100 with message-id <49610988.9000607@gmx.at> and subject line Re: Inconsistent behaviour of display-buffer, pop-to-buffer has caused the Emacs bug report #30, regarding Inconsistent behaviour of display-buffer, pop-to-buffer to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 30: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D30 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1231096803-31336-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Mar 2008 03:01:50 +0000 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2331k53024191 for ; Sun, 2 Mar 2008 19:01:47 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALr4ykfO+LKX/2dsb2JhbACRd5lOgQA X-IronPort-AV: E=Sophos;i="4.25,435,1199682000"; d="scan'208";a="15470984" Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 02 Mar 2008 22:01:32 -0500 Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id JGE40132 for ; Sun, 02 Mar 2008 22:01:32 -0500 Received: by pastel.home (Postfix, from userid 20848) id 3D21A8279; Sun, 2 Mar 2008 22:01:32 -0500 (EST) Resent-Message-ID: Resent-To: submit@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-Date: Sun, 02 Mar 2008 22:01:32 -0500 X-Original-To: monnier@iro.umontreal.ca Delivered-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C5F682CF990 for ; Fri, 29 Feb 2008 23:27:46 -0500 (EST) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 6AA833B8AA7 for ; Fri, 29 Feb 2008 23:27:35 -0500 (EST) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVJJv-0001Uw-62 for monnier@iro.umontreal.ca; Fri, 29 Feb 2008 23:27:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVJJn-0001Uk-MR for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 23:27:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVJJm-0001UF-03 for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 23:27:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVJJl-0001UC-RB for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 23:27:25 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVJJl-0004no-Fc for bug-gnu-emacs@gnu.org; Fri, 29 Feb 2008 23:27:25 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id ECB85A6EE4 for ; Fri, 29 Feb 2008 23:27:23 -0500 (EST) Received: from web8.messagingengine.com ([10.202.2.217]) by compute1.internal (MEProxy); Fri, 29 Feb 2008 23:27:23 -0500 Received: by web8.messagingengine.com (Postfix, from userid 99) id C9FDA1A739; Fri, 29 Feb 2008 23:27:23 -0500 (EST) Message-Id: <1204345643.1966.1239939351@webmail.messagingengine.com> X-Sasl-Enc: Rn2OVJjo6xzBcOAgBI9xf3iIsw8FjCxHzXAgIbqlqMpB 1204345643 From: "Otto Maddox" To: bug-gnu-emacs@gnu.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Date: Sat, 01 Mar 2008 04:27:23 +0000 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Inconsistent behaviour of display-buffer, pop-to-buffer X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.83, requis 5, BAYES_00 -2.60, MC_HTTPSTR 0.11, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org When running Emacs on either X or Mac OS X: ;; Similar to display-buffer-other-frame, but without all the ;; raise-frame, make-frame-{in,}visible stuff. The point is to ;; illustrate annoyingly inconsistent behaviour of display-buffer. (defun my-display-buffer (buf) (let ((pop-up-frames t) same-window-buffer-names same-window-regexps) (display-buffer buf t))) Create but don't display a buffer named "foo": (get-buffer-create "foo") Pop up a new frame, selected and WITH focus: (my-display-buffer "foo") Go back to the original frame with C-x 5 o Pop up the "foo" frame, selected but WITHOUT focus this time: (my-display-buffer "foo") ???? Again, go back to the original frame with C-x 5 o and also do C-x b foo RET to make "foo" the current buffer. Two issues this time. The other "foo" frame is not raised but a new frame is unnecessarily created (the doc says that pop-up-frames means that visible and iconified frames should be searched). Also, the newly created frame is WITH focus this time: (my-display-buffer "foo") The same inconsistent behaviour happens if you substitute pop-to-buffer for display-buffer in the definition of my-display-buffer, which seems definitely buggy because the doc for pop-to-buffer says that it should select the buffer. In GNU Emacs 22.1.1 (powerpc-apple-darwin8.9.0, Carbon Version 1.6.0) of 2007-06-08 -- Otto Maddox ottomaddox@fastmail.fm -- http://www.fastmail.fm - The professional email service ------------=_1231096803-31336-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30-done) by emacsbugs.donarmstrong.com; 4 Jan 2009 19:10:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n04JAk0M030057 for <30-done@emacsbugs.donarmstrong.com>; Sun, 4 Jan 2009 11:10:48 -0800 Received: (qmail invoked by alias); 04 Jan 2009 19:10:40 -0000 Received: from 88-117-37-64.adsl.highway.telekom.at (EHLO [88.117.37.64]) [88.117.37.64] by mail.gmx.net (mp037) with SMTP; 04 Jan 2009 20:10:40 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+tckdWT0Gthh7IeDDG9cvi7RyFbqY1gQ0Y6pfkpg mE3fBbIlv34AqV Message-ID: <49610988.9000607@gmx.at> Date: Sun, 04 Jan 2009 20:10:00 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 30-done@emacsbugs.donarmstrong.com CC: ottomaddox@fastmail.fm Subject: Re: Inconsistent behaviour of display-buffer, pop-to-buffer Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 This bug should now have been resolved for CVS Emacs by the following two fixes: 2008-09-11 Martin Rudalics * window.el (pop-to-buffer): If the window for buffer-or-name is not on the selected frame, raise that window's frame and give it input focus. (Bug#745) 2009-01-04 Martin Rudalics * window.el (display-buffer): When a buffer is displayed in the selected and some other window, and not-this-window is non-nil, try to return that other window instead of popping up a new frame. (Bug#30) Thanks for reporting, martin. ------------=_1231096803-31336-0--