From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Long buffer names in buffer menu Date: Tue, 20 Oct 2009 15:58:38 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256080417 14835 80.91.229.12 (20 Oct 2009 23:13:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2009 23:13:37 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 01:13:26 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 1N0NhD-0000kn-1y for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2009 01:00:51 +0200 Original-Received: from localhost ([127.0.0.1]:47414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0NhC-0002kk-KT for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Oct 2009 19:00:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0Ngp-0002io-Ol for help-gnu-emacs@gnu.org; Tue, 20 Oct 2009 19:00:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0Ngl-0002eQ-6B for help-gnu-emacs@gnu.org; Tue, 20 Oct 2009 19:00:27 -0400 Original-Received: from [199.232.76.173] (port=48266 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0Ngl-0002eN-1P for help-gnu-emacs@gnu.org; Tue, 20 Oct 2009 19:00:23 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:64408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0Ngk-0005iU-GH for help-gnu-emacs@gnu.org; Tue, 20 Oct 2009 19:00:22 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9KN09cj000577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Oct 2009 23:00:11 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9KJPQdD028425 for ; Tue, 20 Oct 2009 23:01:24 GMT Original-Received: from abhmt005.oracle.com by acsmt358.oracle.com with ESMTP id 20520123501256079528; Tue, 20 Oct 2009 17:58:48 -0500 Original-Received: from dradamslap1 (/141.144.233.45) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Oct 2009 15:58:48 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcpR1lS8Jpuq7HdHQT2bnsWqMEGOhgAAaTUA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4ADE40FF.00EA:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:69110 Archived-At: > When I bring up the electric buffer list, long file names are > truncated (with : at the end of the name). This is a problem for me > since I'm used to using long source file names, and I sometimes work > with multiple files whose names are different only after the point > where EMACS truncates them. So if I'm working with two or more such > files, the names appear the same in the electric buffer list and I > don't know which one to select. I can't find any function > that would > display the full, untruncated buffer name somewhere while remanining > in the buffer list so that I can pick the correct one. Is there a > function like that, or could one be written simply? (I'm pretty > experienced at writing my own Lisp functions, so if someone has some > code for something like this I could get it working.) > > Thanks for any help you can provide. http://www.emacswiki.org/emacs/BufferMenuPlus You can use `+' and `-' to incrementally resize the buffer name + size. The smaller they are, the more space there is for the File column. Lines are not truncated, if you set `truncate-partial-width-windows'. You can toggle hiding particular columns (e.g. to give more space to others, such as File).