Is there a way to change the Buffer menu so it lists not only the
filename but also the path? Similar to using a %f format identifier
for the screen title. So basically, instead of foo, foo<1>, foo<2>
it would list /tmp/foo, /usr/foo, /wv/foo.
Thanks.
-- Vladimir
(defun format-buffers-menu-line (buffer)
"Returns a string to represent the given buffer in the Buffer menu.
nil means the buffer shouldn't be listed. You can redefine this."
(if (string-match "\\` " (setq buffer (buffer-name buffer)))
nil
buffer))
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Disclaimer: I speak only for myself.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/\ Vladimir Ivanovic
\\ \ SunSoft, Developer Products
\ \\ /
/ \/ / / M/S MTV12-33
/ / \//\ 2550 Garcia Blvd.
\//\ / / Mountain View, CA 94043-1100
/ / /\ / Phone: (415) 336-2315
/ \\ \ Fax: (415) 964-0946
\ \\ EMail: vlad...@Eng.Sun.COM
\/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~