From: Sean Sieger <sean.sieger@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: same-buffer-window-names
Date: Wed, 03 Jun 2009 20:37:34 -0400 [thread overview]
Message-ID: <87vdnc7s1d.fsf@gmail.com> (raw)
In-Reply-To: BDDF4AB6499E4BEAA4B10554AB11DA0F@us.oracle.com
"Drew Adams" <drew.adams@oracle.com> writes:
> (nconc same-window-buffer-names '("*Buffer List*"))
> C-x C-b doesn't give me a single window and *Buffer List* in it.
Not sure what you're trying to do, but it seems unlikely that you need/want to
use `nconc' here.
I put that elisp (gleaned from this list) in years ago because I thought
it scratched an itch C-x C-b gave me when point didn't `end up' in the
*Buffer List* buffer and said buffer didn't singularly occupy the
window. To be honest with ya Drew, I'd have to look up nconc right now
to even know what it is.
My crystal ball divines that this is what you really want:
(add-to-list 'same-window-buffer-names "*Buffer List*")
Thank you, Drew, doggonit, there's a family of gypsies living in a
`psychic' storefront right across my NYC street that I could have asked,
maybe. True story (though divining what elisp is might have made them
sweat a little). I will try your code.
Or just Customize `same-window-buffer-names'.
Customize bugs me. I've tried `learning' from it, finding things in it,
and changing my own emacs.
If order were important (it's not, here), and you wanted *Buffer List* appended
instead of prepended, you could use this:
(add-to-list 'same-window-buffer-names "*Buffer List*" 'append)
Thank you, I have to learn about the variable that I have asked you
about. Sounds irresponsible, doesn't it, adding elisp to one's dotemacs
without reading up on the elements of the list??
next prev parent reply other threads:[~2009-06-04 0:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 15:57 same-buffer-window-names Sean Sieger
2009-06-03 16:12 ` same-buffer-window-names Drew Adams
2009-06-04 0:37 ` Sean Sieger [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-03 16:37 same-buffer-window-names 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=87vdnc7s1d.fsf@gmail.com \
--to=sean.sieger@gmail.com \
--cc=help-gnu-emacs@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.
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).