From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Long buffer names in buffer menu [Emacs 22.1 on w32] Date: Wed, 21 Oct 2009 20:39:30 -0500 Message-ID: References: <80a2c2b9-6a41-4584-8ada-9d37c4577a6e@j9g2000prh.googlegroups.com> <67f25ccb-004b-49c5-87d1-13b120df6f94@t11g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256175655 27978 80.91.229.12 (22 Oct 2009 01:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2009 01:40:55 +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 Oct 22 03:40:45 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 1N0mfT-0005bw-Ls for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Oct 2009 03:40:44 +0200 Original-Received: from localhost ([127.0.0.1]:34253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0mfS-0002bM-Rh for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2009 21:40:42 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 21 Oct 2009 20:39:32 -0500 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: <67f25ccb-004b-49c5-87d1-13b120df6f94@t11g2000prh.googlegroups.com> X-No-Archive: yes Original-Lines: 59 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.128.232 Original-X-Trace: sv3-j1kdXMH+RFYqVHA7ZXlTagDk0P6XYPv2vk1qTlsXq6V1peZ/zh99w4fE4GUcx5mAToQy6P7cbLUoLxr!g5g9/tE03y4oCq9V2t75XIM51X8cnwYuYmwdcQS2V43zE99nz74sViuKCtKRjKDhyPcCRN7Zqwxz!1QX+S+c+FfXmTIMTeGAVrkrGi5VAh0I= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:174064 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 X-Gmane-Expiry: 2009-11-05 Xref: news.gmane.org gmane.emacs.help:69146 Archived-At: Adam Beneschan wrote: > On Oct 21, 9:25 am, "Drew Adams" wrote: > >> So there is some confusion as to what you are using. Your initial mail spoke of >> buff-menu.el, but it also spoke about "electric" buffer list. Those are two >> different things. > > Actually, my initial post didn't mention any .el files. Just for the > record.... > > -- Adam You didn't mention .el files but you did write: "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 ... " I use iswitchb and never electric buffer list but looking into it I found: C-h f electric-buffer-list " electric-buffer-list is an interactive autoloaded Lisp function in `ebuff-menu'. (electric-buffer-list ARG) Pop up a buffer describing the set of Emacs buffers. Vaguely like ITS lunar select buffer; combining typeoutoid [*] buffer listing with menuoid buffer selection. If the very next character typed is a space then the buffer list window disappears. Otherwise, one may move around in the buffer list window, marking buffers to be selected, saved or deleted. To exit and select a new buffer, type a space when the cursor is on the appropriate line of the buffer-list window. Other commands are much like those of `Buffer-menu-mode'. Run hooks in `electric-buffer-menu-mode-hook' on entry. " *I like that typeoutoid and menuoid lingo. It doesn't sound like RMS's style. Then in ebuff-menu.el I noticed the the setq of truncate-lines which seemed like a likely candidate for explaining the behavior you weren't liking: ... (make-local-variable 'Helper-return-blurb) (setq Helper-return-blurb "return to buffer editing") (setq truncate-lines t) (setq buffer-read-only t) (setq major-mode 'Electric-buffer-menu-mode) ... Btw, see earlier caveats about messing with .el files in emacs/lisp.