[Top][All Lists]

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

Re: Anything like this exist already? (buffer name intelligence)

From: Joost Kremers
Subject: Re: Anything like this exist already? (buffer name intelligence)
Date: 11 Jan 2008 19:08:23 GMT
User-agent: slrn/ (Linux)

Aaron Maxwell wrote:
> I've taken to renaming such buffers with a prefix in their file path, just 
> enough to make them unique: i.e., for "/home/amax/src/snazzylib/", 
> I might rename its buffer from "" to "snazzylib/".  And 
> I wrote a utility to automate this, which I've pasted below.  I bind it to 
> C-c e, and thus can quickly give a new buffer a clueful name without 
> interrupting myself to think about it.

mmm. i have the following in my .emacs:


which seems to do the same thing, only automatically. (it even renames the
buffer back to when only one such file is left open.)

> Am I reinventing the wheel here?

looks like it. ;-)

Joost Kremers                            
Selbst in die Unterwelt dringt durch Spalten Licht

reply via email to

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