[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: file path in buffer name
From: |
Drew Adams |
Subject: |
RE: file path in buffer name |
Date: |
Mon, 16 Nov 2009 10:42:17 -0800 |
> 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.
This doesn't answer your question directly, but it might help you as
supplementary info:
You can see the file names for your (file-visiting) buffers in at least these
ways:
1. Menu-bar menu `Buffers'.
2. The buffer-menu buffer, `*Buffer List*'. You access this using command
`buffer-menu' or `list-buffers', typically bound to `C-x C-b'.
HTH.