From: martin rudalics <rudalics@gmx.at>
To: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, 25946@debbugs.gnu.org
Subject: bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in display-buffer-alist
Date: Fri, 03 Mar 2017 11:38:26 +0100 [thread overview]
Message-ID: <58B947A2.5040001@gmx.at> (raw)
In-Reply-To: <877f46d6go.fsf@wi.uni-muenster.de>
> I fail to get display-buffer-alist working.
>
> Recipe starting from 'emacs -Q':
> Eval this expression:
> (customize-set-variable
> 'display-buffer-alist
> '(("\\*shell\\*"
> . (display-buffer-pop-up-frame . '((reusable-frames . t))))))
> M-x shell
> A shell frame opens as expected.
> M-x shell
> A new frame is opened, while I expected the existing one to be
> reused.
Please try with
(customize-set-variable
'display-buffer-alist
'(("\\*shell\\*"
(display-buffer-reuse-window display-buffer-pop-up-frame)
(reusable-frames . t))))
> Actually, I'm sure that I do not understand the documentation for
> display-buffer (redirected from display-buffer-alist). Maybe that
> is a separate bug.
I think that
-- Function: display-buffer-pop-up-frame buffer alist
This function creates a new frame, and displays the buffer in that
frame's window.
is quite clear in the sense that it does not talk about reusing windows
or frames. But please feel free to suggest improvements.
> In previous versions of Emacs, I used special-display-buffer-names,
> which is obsolete now and points to the variable used above,
> display-buffer-alist. It would be great if the documentation for
> that variable explained what to do. In particular, I would like the
> frame to be special/dedicated such that it disappears if the buffer
> is killed. Is that lack of documentation a separate bug?
Please read also this
If ALIST contains a `pop-up-frame-parameters' entry, the associated
value is added to the newly created frame's parameters.
martin
next prev parent reply other threads:[~2017-03-03 10:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 10:01 bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in display-buffer-alist Jens Lechtenboerger
2017-03-03 10:38 ` martin rudalics [this message]
2017-03-03 10:58 ` Jens Lechtenboerger
2017-03-03 14:24 ` martin rudalics
2017-03-03 14:49 ` Jens Lechtenboerger
2017-03-03 18:23 ` martin rudalics
2017-03-03 18:55 ` Drew Adams
[not found] ` <13CD49F822DC4A42AF94C24270D9E5CF9A5D4E36@WIWI-MAIL-1.WIWI.UNI-MUENSTER.DE>
2017-03-04 17:08 ` Jens Lechtenboerger
2017-03-04 17:40 ` martin rudalics
2017-03-05 10:34 ` martin rudalics
2017-03-05 11:27 ` Stephen Berman
2017-03-05 13:28 ` martin rudalics
2017-03-05 22:20 ` Michael Heerdegen
2017-03-06 8:11 ` martin rudalics
2017-03-06 8:57 ` Stephen Berman
2017-03-06 9:25 ` Jens Lechtenboerger
2017-03-06 11:07 ` Stephen Berman
2017-03-06 17:46 ` martin rudalics
2017-03-06 20:59 ` Stephen Berman
2017-03-07 9:45 ` martin rudalics
2017-03-07 16:51 ` Stephen Berman
2017-03-07 19:00 ` martin rudalics
2017-03-07 19:36 ` Stephen Berman
2017-03-10 15:01 ` Jens Lechtenboerger
2017-03-11 10:20 ` martin rudalics
2017-03-06 17:46 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58B947A2.5040001@gmx.at \
--to=rudalics@gmx.at \
--cc=25946@debbugs.gnu.org \
--cc=lechten@wi.uni-muenster.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.