From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Long buffer names in buffer menu [Emacs 22.1 on w32]
Date: Wed, 21 Oct 2009 20:39:30 -0500 [thread overview]
Message-ID: <xsWdnUe0lMRIKkLXnZ2dnUVZ_oudnZ2d@sysmatrix.net> (raw)
In-Reply-To: <67f25ccb-004b-49c5-87d1-13b120df6f94@t11g2000prh.googlegroups.com>
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
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.
next prev parent reply other threads:[~2009-10-22 1:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 17:51 Long buffer names in buffer menu Adam Beneschan
2009-10-20 21:52 ` B. T. Raven
2009-10-20 22:58 ` Drew Adams
2009-10-21 15:38 ` Adam Beneschan
2009-10-21 16:25 ` Drew Adams
2009-10-21 16:33 ` despen
[not found] ` <mailman.9220.1256142396.2239.help-gnu-emacs@gnu.org>
2009-10-21 16:39 ` despen
2009-10-21 19:52 ` Adam Beneschan
2009-10-22 1:39 ` B. T. Raven [this message]
2009-10-22 2:32 ` Long buffer names in buffer menu [Emacs 22.1 on w32] despen
2009-10-22 6:50 ` Andreas Politz
2009-10-23 22:53 ` Adam Beneschan
2009-10-24 1:05 ` despen
2009-10-20 22:20 ` Long buffer names in buffer menu despen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xsWdnUe0lMRIKkLXnZ2dnUVZ_oudnZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).