From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean Sieger Newsgroups: gmane.emacs.help Subject: Re: same-buffer-window-names Date: Wed, 03 Jun 2009 20:37:34 -0400 Message-ID: <87vdnc7s1d.fsf@gmail.com> References: <87zlcp71j4.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244075911 22729 80.91.229.12 (4 Jun 2009 00:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2009 00:38:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 04 02:38:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MC0yP-0007z5-Id for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Jun 2009 02:38:25 +0200 Original-Received: from localhost ([127.0.0.1]:59289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MC0yO-00063K-Je for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jun 2009 20:38:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MC0y0-000639-Fl for help-gnu-emacs@gnu.org; Wed, 03 Jun 2009 20:38:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MC0xv-00062Z-FQ for help-gnu-emacs@gnu.org; Wed, 03 Jun 2009 20:37:59 -0400 Original-Received: from [199.232.76.173] (port=59501 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MC0xv-00062W-CC for help-gnu-emacs@gnu.org; Wed, 03 Jun 2009 20:37:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:42378 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MC0xu-000351-RU for help-gnu-emacs@gnu.org; Wed, 03 Jun 2009 20:37:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MC0xq-0001V4-KS for help-gnu-emacs@gnu.org; Thu, 04 Jun 2009 00:37:50 +0000 Original-Received: from pool-162-84-234-131.ny5030.east.verizon.net ([162.84.234.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Jun 2009 00:37:50 +0000 Original-Received: from sean.sieger by pool-162-84-234-131.ny5030.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Jun 2009 00:37:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-162-84-234-131.ny5030.east.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Cancel-Lock: sha1:CLjvuNxI9NMTe2jBn7sGy8yFYn8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64935 Archived-At: "Drew Adams" 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??