From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: navigate in C Date: Thu, 26 Oct 2006 20:03:10 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161888157 30330 80.91.229.2 (26 Oct 2006 18:42:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2006 18:42:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 26 20:42:36 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GdABG-00013x-UB for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Oct 2006 20:42:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdABG-0000ZD-Gg for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Oct 2006 14:42:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.bahnhof.se!newsfeed101.telia.com!nf02.dk.telia.net!130.227.3.89.MISMATCH!newsfeed1.uni2.dk!dfeeder1.cybercity.dk!dspool1.cybercity.dk!dreader2.cybercity.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:P44vzKgN9R9hKCXPRnH7uHVxMw0= Original-Lines: 17 Original-NNTP-Posting-Host: 85.81.86.122 Original-X-Trace: 1161885627 dreader2.cybercity.dk 143 85.81.86.122:19519 Original-Xref: shelby.stanford.edu gnu.emacs.help:142689 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38309 Archived-At: Pedro Sa da Costa writes: > 1 - Is there a way in C mode to, by selecting the .h file or a method and > press a shortcut key, go that file or function? > > For example: > > #include "header.h" > > by pressing F3 in the selected "header.h", or simply have the cursor of > the header file, open the file. set ffap-c-path (to a list if directories) and use ffap AKA find-file-at-point PS: add (require 'ffap) to your .emacs first -- Vagn Johansen