Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

emacs lisp repository



Hi,

Does anyone know of an emacs lisp function that will
switch you to a buffer related in some way to the one you're 
currently editing?  In my case, I want to be able to hit a key
while editing a c++ header file and have it go to a buffer
for a file with the same name but cc (or cpp) as the file name
extension.  If it doesn't find one it should create one either
by visiting a file in the buffer's file's directory or, if
that fails, just start a new one.  It should also do the
reverse - visit the h file for a cc file.

I guess this wouldn't be too hard to write, but if someone
knows of something that's already done (or something close
to this) I'd appreciate it.

-- 
Michael Small
smallm at panix.com




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org