[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file path in buffer name

From: suvayu ali
Subject: Re: file path in buffer name
Date: Mon, 16 Nov 2009 11:48:08 -0800

2009/11/16 Drew Adams <address@hidden>:
>> 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'.

Continuing along those same lines, you can give ibuffer-mode a try.
You can filter your buffers by filename using `/ f RET regex RET'


Open source is the future. It sets us free.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]