unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9072: 24.0.50; special-display buffer's window is no longer dedicated
@ 2011-07-13 23:03 Drew Adams
  2011-07-14  8:36 ` martin rudalics
  2011-09-05  8:04 ` martin rudalics
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2011-07-13 23:03 UTC (permalink / raw)
  To: 9072

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'
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9072: 24.0.50; special-display buffer's window is no longer dedicated
  2011-07-13 23:03 bug#9072: 24.0.50; special-display buffer's window is no longer dedicated Drew Adams
@ 2011-07-14  8:36 ` martin rudalics
  2011-07-14 16:11   ` Drew Adams
  2011-09-05  8:04 ` martin rudalics
  1 sibling, 1 reply; 4+ messages in thread
From: martin rudalics @ 2011-07-14  8:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: 9072

 > 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))))))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9072: 24.0.50; special-display buffer's window is no longer dedicated
  2011-07-14  8:36 ` martin rudalics
@ 2011-07-14 16:11   ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2011-07-14 16:11 UTC (permalink / raw)
  To: 'martin rudalics'; +Cc: 9072

> 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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9072: 24.0.50; special-display buffer's window is no longer dedicated
  2011-07-13 23:03 bug#9072: 24.0.50; special-display buffer's window is no longer dedicated Drew Adams
  2011-07-14  8:36 ` martin rudalics
@ 2011-09-05  8:04 ` martin rudalics
  1 sibling, 0 replies; 4+ messages in thread
From: martin rudalics @ 2011-09-05  8:04 UTC (permalink / raw)
  To: 9072-done

Resolved by revision 105626.

martin





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-05  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 23:03 bug#9072: 24.0.50; special-display buffer's window is no longer dedicated Drew Adams
2011-07-14  8:36 ` martin rudalics
2011-07-14 16:11   ` Drew Adams
2011-09-05  8:04 ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).