all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* file path in buffer name
@ 2009-11-16 10:21 matlantis
  2009-11-16 18:42 ` Drew Adams
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: matlantis @ 2009-11-16 10:21 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi emacs friends,

i have to edit multiple files with the same file name (CMakeLists.txt) and
since emacs gives the buffer the name of the file and adding a number to it,
it is very hard to decide with buffer has which file.

So what i need is a method to say emacs to make the buffer name looking like
"CMakeLists.txt in <path>". Even better would be if <path> could be
abbreviated to 30 characters, but thats not important.

I have no experience in elisp programming, please can anybody explain to me,
what to put in my .emacs file to give emacs the desired behavior?

best regards and thanks for help

Martin
-- 
View this message in context: http://old.nabble.com/file-path-in-buffer-name-tp26369589p26369589.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2009-11-29  7:19 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.10818.1258395337.2239.help-gnu-emacs@gnu.org>
2009-11-16 19:10 ` file path in buffer name Joost Kremers
2009-11-16 20:07   ` Lennart Borgman
2009-11-16 20:21     ` Peter Dyballa
2009-11-16 20:53     ` Sean Sieger
2009-11-16 21:23       ` Xavier Maillard
2009-11-17 15:17       ` Lennart Borgman
2009-11-17 15:31         ` Sean Sieger
2009-11-17 15:36           ` Lennart Borgman
2009-11-17 16:12             ` Sean Sieger
2009-11-17 16:22               ` Lennart Borgman
2009-11-17 16:49                 ` Sean Sieger
2009-11-17 16:55                   ` Lennart Borgman
2009-11-17 20:54                     ` Sean Sieger
2009-11-17 21:16                       ` Lennart Borgman
2009-11-17 21:40                         ` Drew Adams
2009-11-17 22:01                           ` Sean Sieger
2009-11-17 22:16                             ` Drew Adams
2009-11-17 23:02                               ` Sean Sieger
     [not found]     ` <mailman.10847.1258404828.2239.help-gnu-emacs@gnu.org>
2009-11-17  7:31       ` Joost Kremers
2009-11-17 14:43         ` Sean Sieger
     [not found]   ` <mailman.10839.1258402065.2239.help-gnu-emacs@gnu.org>
2009-11-17  7:27     ` Joost Kremers
2009-11-16 19:11 ` Alain Ketterlin
2009-11-16 10:21 matlantis
2009-11-16 18:42 ` Drew Adams
2009-11-16 19:48   ` suvayu ali
2009-11-16 19:38 ` Sean Sieger
2009-11-16 19:44 ` Peter Dyballa
2009-11-17 10:39 ` matlantis
     [not found] ` <mailman.10881.1258454397.2239.help-gnu-emacs@gnu.org>
2009-11-29  7:19   ` Barrie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.