GNU bug report logs - #9072
24.0.50; special-display buffer's window is no longer dedicated

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 13 Jul 2011 23:04:02 UTC

Severity: normal

Found in version 24.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9072 in the body.
You can then email your comments to 9072 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9072; Package emacs. (Wed, 13 Jul 2011 23:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Jul 2011 23:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50; special-display buffer's window is no longer dedicated
Date: Wed, 13 Jul 2011 16:03:30 -0700
1. Download these two files and put them in your load-path:
http://www.emacswiki.org/emacs/download/hexrgb.el
http://www.emacswiki.org/emacs/download/oneonone.el
 
2. Start Emacs:
 
runemacs.exe -Q --debug-init -l "hexrgb.el" -l "oneonone.el" -f "1on1-emacs"
 
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.
 
 
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-07-11 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
 





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9072; Package emacs. (Thu, 14 Jul 2011 08:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 9072 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 9072 <at> debbugs.gnu.org
Subject: Re: bug#9072: 24.0.50;	special-display buffer's window is no longer
	dedicated
Date: Thu, 14 Jul 2011 10:36:12 +0200
> 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))))))




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9072; Package emacs. (Thu, 14 Jul 2011 16:13:02 GMT) Full text and rfc822 format available.

Message #11 received at 9072 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'martin rudalics'" <rudalics <at> gmx.at>
Cc: 9072 <at> debbugs.gnu.org
Subject: RE: bug#9072: 24.0.50;
	special-display buffer's window is no longer dedicated
Date: Thu, 14 Jul 2011 09:11:58 -0700
> 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.

That was quick!  Yes, that seems to fix the problem.

Thx - Drew





Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Mon, 05 Sep 2011 08:08:01 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Mon, 05 Sep 2011 08:08:02 GMT) Full text and rfc822 format available.

Message #16 received at 9072-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 9072-done <at> debbugs.gnu.org
Subject: Re: bug#9072: 24.0.50;	special-display buffer's window is no longer
	dedicated
Date: Mon, 05 Sep 2011 10:04:11 +0200
Resolved by revision 105626.

martin




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Oct 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.