[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Long buffer names in buffer menu [Emacs 22.1 on w32]
From: |
Andreas Politz |
Subject: |
Re: Long buffer names in buffer menu [Emacs 22.1 on w32] |
Date: |
Thu, 22 Oct 2009 08:50:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
despen@verizon.net writes:
> "B. T. Raven" <nihil@nihilo.net> writes:
>
>> Adam Beneschan wrote:
>>> On Oct 21, 9:25 am, "Drew Adams" <drew.ad...@oracle.com> 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
> ....
>> (setq truncate-lines t)
>
> Okay, so this sort of works:
>
> (add-hook 'electric-buffer-menu-mode-hook
> '(lambda ()
> (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. Not a big problem.
You could try to flet-bind `abbreviate-file-name' around
`electric-buffer-list' and shorten the filename in which ever way you
like.
-ap
- Long buffer names in buffer menu, Adam Beneschan, 2009/10/21
- Message not available
- Re: Long buffer names in buffer menu, Adam Beneschan, 2009/10/21
- Message not available
- Re: Long buffer names in buffer menu, Adam Beneschan, 2009/10/21
- Message not available
- Re: Long buffer names in buffer menu [Emacs 22.1 on w32], despen, 2009/10/21
- Re: Long buffer names in buffer menu [Emacs 22.1 on w32],
Andreas Politz <=
- Re: Long buffer names in buffer menu [Emacs 22.1 on w32], Adam Beneschan, 2009/10/23
- Re: Long buffer names in buffer menu [Emacs 22.1 on w32], despen, 2009/10/23