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

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

Re: .cpp, switch to .h


From: Daniel Lidstrom
Subject: Re: .cpp, switch to .h
Date: Sat, 14 Feb 2004 11:27:08 +0100
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

On Sat, 14 Feb 2004 18:02:55 +0800, Felix wrote:

>>>>>> "Daniel" == Daniel Lidstrom <someone@microsoft.com> writes:
> 
>     Daniel> Hello, I would like a script that I can bind to Ctrl-Shift-h
>     Daniel> that will switch from a .cpp file to the associated .h file, if
>     Daniel> there is one. For example, if I have Hash.cpp opened and press
>     Daniel> the selected keys, emacs switches to Hash.h. If there is no
>     Daniel> Hash.h nothing is done. Any help appreciated.  Thanks!
> 
>     Daniel> -- Daniel
> 
> ff-find-other-file

This is great. Is there a way to go the other way too? From .h to .cpp.
Perhaps even assignable to the same key.
Thanks!

-- 
Daniel



reply via email to

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