help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: file path in buffer name


From: Sean Sieger
Subject: Re: file path in buffer name
Date: Mon, 16 Nov 2009 14:38:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

matlantis <address@hidden> writes:

    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?

I have

(require 'uniquify)
(setq uniquify-buffer-name-style 'forward)

in my dotemacs.  It gives me enough in buffer names to discern the
difference between two identically named files.

But see (info "(emacs) Uniquify")
                                 ^
                                  do C-x C-e here.





reply via email to

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