From: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
To: 26233@debbugs.gnu.org
Subject: bug#26233: 26.0.50; [PATCH] Improve documentation for display-buffer-alist
Date: Fri, 24 Mar 2017 14:25:38 +0100 [thread overview]
Message-ID: <87o9wq6c31.fsf@wi.uni-muenster.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
Hi there,
in Bug#25946 we discussed how to replace the obsolete variables
special-display-buffer-names and special-display-regexps. The
attached patch extends the doc string of display-buffer-alist based
on that discussion.
Best wishes
Jens
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Improve-documentation-for-display-buffer-alist.patch --]
[-- Type: text/x-diff, Size: 1645 bytes --]
From 10c5930b3056aa8366f1c4e02b24ba3de3f79058 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20Lechtenb=C3=B6rger?= <lechten@wi.uni-muenster.de>
Date: Fri, 24 Mar 2017 14:09:15 +0100
Subject: [PATCH] Improve documentation for display-buffer-alist
The obsolete variables special-display-buffer-names and
special-display-regexps refer to display-buffer-alist. As a follow-up
to Bug#25946 this change extends the doc string for that variable.
* list/windows.el (display-buffer-alist): Extend doc string.
---
lisp/window.el | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/lisp/window.el b/lisp/window.el
index 5050243..c5c3e89 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -6792,7 +6792,20 @@ display-buffer-alist
`display-buffer' scans this alist until it either finds a
matching regular expression or the function specified by a
condition returns non-nil. In any of these cases, it adds the
-associated action to the list of actions it will try."
+associated action to the list of actions it will try.
+
+If you aim to replicate behavior of the obsolete variables
+`special-display-buffer-names' or `special-display-regexps',
+you may want to add something similar to the following to your
+init file (which places buffers whose names end with
+\" output\" into separate frames):
+(customize-set-variable 'display-buffer-alist
+ '((\".* output\"
+ (display-buffer-reuse-window
+ display-buffer-pop-up-frame)
+ (reusable-frames . t))
+ ))
+(setq display-buffer-mark-dedicated t)"
:type `(alist :key-type
(choice :tag "Condition"
regexp
--
2.1.4
next reply other threads:[~2017-03-24 13:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 13:25 Jens Lechtenboerger [this message]
2017-03-24 14:51 ` bug#26233: 26.0.50; [PATCH] Improve documentation for display-buffer-alist Drew Adams
2017-03-25 7:53 ` Jens Lechtenboerger
2017-03-25 8:32 ` Eli Zaretskii
2017-03-25 14:58 ` Jens Lechtenboerger
2017-03-25 15:57 ` Eli Zaretskii
2017-03-25 17:14 ` Jens Lechtenboerger
[not found] ` <<878tnt6bdi.fsf@informationelle-selbstbestimmung-im-internet.de>
[not found] ` <<83shm1bvud.fsf@gnu.org>
2017-03-25 14:36 ` Drew Adams
2017-03-26 8:38 ` martin rudalics
2017-03-26 14:17 ` Eli Zaretskii
2017-03-26 17:45 ` Drew Adams
2017-03-24 18:54 ` martin rudalics
2017-03-25 8:00 ` Jens Lechtenboerger
2017-03-25 9:28 ` martin rudalics
2019-06-24 16:54 ` Lars Ingebrigtsen
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=87o9wq6c31.fsf@wi.uni-muenster.de \
--to=lechten@wi.uni-muenster.de \
--cc=26233@debbugs.gnu.org \
/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).