From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>
Cc: 9072@debbugs.gnu.org
Subject: bug#9072: 24.0.50; special-display buffer's window is no longer dedicated
Date: Thu, 14 Jul 2011 10:36:12 +0200 [thread overview]
Message-ID: <4E1EAA7C.6050404@gmx.at> (raw)
In-Reply-To: <1D96C6092D694852B95CD01A6BB4D580@us.oracle.com>
> 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))))))
next prev parent reply other threads:[~2011-07-14 8:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-07-14 16:11 ` Drew Adams
2011-09-05 8:04 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E1EAA7C.6050404@gmx.at \
--to=rudalics@gmx.at \
--cc=9072@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).