[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to automate file-opening (derived filename)?
From: |
Danny Dorfman |
Subject: |
Re: How to automate file-opening (derived filename)? |
Date: |
8 Jan 2003 03:54:26 -0800 |
This is not suitable, since my #include files are located using a
different path, than the one suggested by Emacs. Our tree structure
looks like this:
/a/b/c/src/module/file.cpp +
/a/b/c/inc/module/file.h
Maybe I _do_ need some filename manipulation after all?
Danny
"Alfred M. Szmidt" <ams@kemisten.nu> wrote in message
news:<mailman.53.1042007441.21513.help-gnu-emacs@gnu.org>...
> Maybe you are looking for ff-find-other-file?
>
> (ff-find-other-file &optional IN-OTHER-WINDOW IGNORE-INCLUDE)
>
> Find the header or source file corresponding to this file.
> Being on a `#include' line pulls in that file.
>
> If optional IN-OTHER-WINDOW is non-nil, find the file in the other window.
> If optional IGNORE-INCLUDE is non-nil, ignore being on `#include' lines.
> ...