From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8851: 24.0.50; regression: special-display-frame is no longer dedicated Date: Mon, 13 Jun 2011 09:08:05 -0700 Message-ID: <853BDEF1AA9646ACB90724066E1A5951@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307981369 6499 80.91.229.12 (13 Jun 2011 16:09:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 16:09:29 +0000 (UTC) To: 8851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 13 18:09:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9hc-0006vd-Oe for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 18:09:24 +0200 Original-Received: from localhost ([::1]:56073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9hb-0000Al-CE for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 12:09:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9hI-0000AC-Hw for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:09:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW9hH-0004Qc-2O for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:09:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9hG-0004QY-PP for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QW9hG-0004tV-A5; Mon, 13 Jun 2011 12:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2011 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.130798131518777 (code B ref -1); Mon, 13 Jun 2011 16:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 16:08:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9gp-0004so-Gr for submit@debbugs.gnu.org; Mon, 13 Jun 2011 12:08:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9go-0004sc-4g for submit@debbugs.gnu.org; Mon, 13 Jun 2011 12:08:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW9gh-0004La-AK for submit@debbugs.gnu.org; Mon, 13 Jun 2011 12:08:28 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:44743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9gg-0004LU-UJ for submit@debbugs.gnu.org; Mon, 13 Jun 2011 12:08:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9gf-0008Uh-3t for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:08:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW9gc-0004KG-IG for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:08:24 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:35575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW9gc-0004Jj-4A for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 12:08:22 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p5DG8D3n011101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2011 16:08:15 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p5DG8CfO006668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 16:08:13 GMT Original-Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p5DG87jZ027470 for ; Mon, 13 Jun 2011 11:08:07 -0500 Original-Received: from dradamslap1 (/130.35.179.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Jun 2011 09:08:06 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acwp5BQYXHIye2JYRU+cNiiBCE8zfw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090203.4DF635F0.01B4:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 13 Jun 2011 12:09:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:47106 Archived-At: This regression was introduced between this build (from today, 6/13/2011) and the Windows build of LAST week, which was this: In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-06 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include' I don't have a recipe starting from emacs -Q. But these are the symptoms: I have non-nil `pop-up-frames'. I use a special-display frame for buffers such as `*Buffer List*' and `*info*'. My value of `special-display-regexps' is this: ("[ ]?[*][^*]+[*]") My special-display frames hav a different background color from my regular frames. I visit a file foo.el, then use `C-x 5 0' to remove its frame. I hit C-x C-b and get the buffer menu in a new, special-display frame. I click mouse-2 on the foo.el line to visit that file. Prior to this week's build, this opens foo.el in a new frame, in a regular frame. With this week's build it visits foo.el in the same frame that showed `*Buffer List*'. IOW, `pop-up-frames' is not being respected (in the case where there is not already a frame showing foo.el). What is happening is that `Buffer-menu-mouse-select' is incorrectly invoking `switch-to-buffer' instead of `switch-to-buffer-other-window'. This is happening because the window of the special-display buffer is not dedicated, as it should be. This returns nil: (window-dedicated-p #) Similarly, M-: (window-dedicated-p (selected-window)) in any special-display buffer window returns nil. It should return non-nil. In my setup the windows of buffers such as `*Buffer List*' and `*info*' should definitely be dedicated. They are special-display buffers (and their special-display-frame backgrounds confirm this). As the manual says, and as has always been the behavior in previous Emacs versions, "By default, special display means to give the buffer a dedicated frame." The frames showing special-display buffers should be dedicated frames. Clicking mouse-2 on a buffer name in `*Buffer List*' should not visit that buffer in the same window/frame. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-13 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include'