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#9072: 24.0.50; special-display buffer's window is no longer dedicated Date: Thu, 14 Jul 2011 10:36:12 +0200 Message-ID: <4E1EAA7C.6050404@gmx.at> References: <1D96C6092D694852B95CD01A6BB4D580@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310633721 18618 80.91.229.12 (14 Jul 2011 08:55:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 08:55:21 +0000 (UTC) Cc: 9072@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 10:55:17 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 1QhHhU-0005Qq-Qb for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 10:55:16 +0200 Original-Received: from localhost ([::1]:43090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhHhT-0007Ww-SB for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 04:55:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhHPu-0003Dq-6U for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 04:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhHPr-0001SX-5B for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 04:37:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhHPq-0001SE-QX for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 04:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhHPq-00021z-Dt; Thu, 14 Jul 2011 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9072 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9072-submit@debbugs.gnu.org id=B9072.13106325857758 (code B ref 9072); Thu, 14 Jul 2011 08:37:02 +0000 Original-Received: (at 9072) by debbugs.gnu.org; 14 Jul 2011 08:36:25 +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 1QhHPE-000215-3E for submit@debbugs.gnu.org; Thu, 14 Jul 2011 04:36:24 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QhHPC-00020t-Am for 9072@debbugs.gnu.org; Thu, 14 Jul 2011 04:36:22 -0400 Original-Received: (qmail invoked by alias); 14 Jul 2011 08:36:16 -0000 Original-Received: from 62-47-37-228.adsl.highway.telekom.at (EHLO [62.47.37.228]) [62.47.37.228] by mail.gmx.net (mp072) with SMTP; 14 Jul 2011 10:36:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19oBBggX7RoqLV70POMt+Q2MXYGRb6fQ2E57H0q5q BlKuRqGu1fm7lR User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <1D96C6092D694852B95CD01A6BB4D580@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 04:37: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:48982 Archived-At: > 3. Make *Buffer List* be a special-display buffer: > > M-: (setq special-display-regexps '("[ ]?[*][^*]+[*]")) > > 4. C-x C-b > > 5. In *Buffer List*, click a buffer. It should be shown in a separate > frame. Instead, it is shown in the same frame, taking the place of the > *Buffer List* buffer. The window of *Buffer List* is not dedicated as > it should be. > > This is a regression wrt a build from 2011-06-27, where there was no > such problem. Two typos similar to the ones earlier reported by Tassilo. I installed a fix. Please use the version of `display-buffer-normalize-special' below until Sean provides new binaries. martin (defun display-buffer-normalize-special (&optional args) "Return buffer display specifiers for `special-display-frame-alist'." (progn ;; <-- reserved for with-no-warnings (if (and (listp args) (symbolp (car args))) ;; Note: `display-buffer' funcalls this so take "(nth 1 args)" ;; where `special-display-popup-frame' (which uses apply) takes ;; "(cdr args)". `((function ,(car args) ,(nth 1 args))) (append '((reuse-window nil same 0)) (when (and (listp args) (cdr (assq 'same-window args))) '((reuse-window same nil nil) (reuse-dedicated . weak))) (when (and (listp args) (or (cdr (assq 'same-frame args)) (cdr (assq 'same-window args)))) '((pop-up-window (largest . nil) (lru . nil)) (reuse-window nil nil nil))) (unless display-buffer-mark-dedicated ;; Don't make anything created above dedicated unless requested. ;; Otherwise the dedication request below gets in our way. '((dedicate . nil))) `((pop-up-frame t) ,(append '(pop-up-frame-alist) (when (listp args) args) special-display-frame-alist) (dedicate . t))))))