From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: obsolete variable, use 2nd arg of `display-buffer' instead
Date: Tue, 21 Jun 2011 18:14:42 -0400 [thread overview]
Message-ID: <sv39j2zval.fsf@tbox.wtc.algo> (raw)
Hi,
variables special-display-buffer-names, special-display-regexps et al
are now obsolete and replaced with display-buffer-alist.
alas, I cannot figure out how to replace my settings.
E.g., I used to do
(custom-set-variables
'(special-display-buffer-names ("*info*" ...))
'(special-display-regexps '("^*Customize " "^*Shell " "^*WoMan "))
'(same-window-buffer-names '("*Diff*"))
...)
what do I replace them with?
I tried this:
(custom-set-variables
'(Man-frame-parameters
`((height . ,(min 70 sds-frame-height)) (width . 80)
(top . 35) (left . 0) (font . ,sds-small-font)) t)
'(display-buffer-alist
(cons
`(((label . special) (regexp . "List\\*$")
(regexp . "Help\\*$") (regexp . "Apropos") (regexp . "^*WoMan ")
(regexp . "^*Customize ") (regexp . "^*Shell ")
(name . "*info*"))
pop-up-frame
(pop-up-frame-alist . ,Man-frame-parameters))
display-buffer-alist)))
this does not work for *info* (C-h i does not create a new frame).
this does not even attempt to handle "*Diff*" (how do I do that?)
So, what am I doing wrong?
PS is there a way to tell custom-set-variables to push something on top
of the existing value instead of replacing it (like I do with cons above)?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://openvotingconsortium.org http://ffii.org http://palestinefacts.org
http://pmw.org.il http://camera.org http://jihadwatch.org http://dhimmi.com
Modern man is the missing link between apes and human beings.
next reply other threads:[~2011-06-21 22:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 22:14 Sam Steingold [this message]
2011-06-22 12:33 ` obsolete variable, use 2nd arg of `display-buffer' instead martin rudalics
2011-06-22 16:09 ` Sam Steingold
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=sv39j2zval.fsf@tbox.wtc.algo \
--to=sds@gnu.org \
--cc=emacs-devel@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).