From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Beneschan Newsgroups: gmane.emacs.help Subject: Re: Long buffer names in buffer menu [Emacs 22.1 on w32] Date: Fri, 23 Oct 2009 15:53:27 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2b031530-c192-4ead-bcf8-b1c70a81dbed@y10g2000prg.googlegroups.com> 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: quoted-printable X-Trace: ger.gmane.org 1256341256 18237 80.91.229.12 (23 Oct 2009 23:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 23:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 01:40:49 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 1N1TkV-0007nB-Ca for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Oct 2009 01:40:47 +0200 Original-Received: from localhost ([127.0.0.1]:33992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1TkU-0000Fq-Pf for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Oct 2009 19:40:46 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!y10g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 66.126.103.122 Original-X-Trace: posting.google.com 1256338407 4565 127.0.0.1 (23 Oct 2009 22:53:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 23 Oct 2009 22:53:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y10g2000prg.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:174110 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:69192 Archived-At: On Oct 21, 7:32=A0pm, des...@verizon.net wrote: > "B. T. Raven" writes: > > > > > 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 mai= l spoke of > >>> buff-menu.el, but it also spoke about "electric" buffer list. Those a= re two > >>> different things. > > >> Actually, my initial post didn't mention any .el files. =A0Just for th= e > >> record.... > > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Adam > .... > > =A0 (setq truncate-lines t) > > Okay, so this sort of works: > > (add-hook 'electric-buffer-menu-mode-hook > =A0 =A0 =A0 =A0 =A0 '(lambda () > =A0 =A0 =A0 =A0 =A0 =A0 =A0(setq truncate-lines nil))) > > The long names are shown continued on the next line. > The only problem is that cursor movement moves through > the extended file name. =A0Not a big problem. OK, thanks. I think that will work as a temporary workaround. -- Adam