From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: go into methods shortcut key in emacs Date: Wed, 22 Nov 2006 11:20:37 +0100 Message-ID: References: <87d57jyt66.fsf@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164193283 31229 80.91.229.2 (22 Nov 2006 11:01:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2006 11:01:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 22 12:01:20 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 1Gmpqt-0003Vb-BD for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Nov 2006 12:01:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gmpqs-0000IQ-Qp for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Nov 2006 06:01:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: individual.net GtJ9h1jf4cftKKh4pzcnYQezZWtodcXm14pYIoj+ZOmF1jGN3K User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (windows-nt) Cancel-Lock: sha1:q/5smLRfq1L8uaoVRrtPQ+Zmi4k= Original-Xref: shelby.stanford.edu gnu.emacs.help:143270 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:38887 Archived-At: Markus Triska writes: >> with this example, i would like to select the method callMethod() >> inside test() method and, by pressing any key (for example, F3), i >> would like to go into the method. How is this possible in emacs? > > It's explained in the chapter "Tags Tables" of the Emacs Info > manual; briefly, you create a TAGS file ("etags" command) and in > your buffer, do M-x visit-tags-table. With point at or behind > ".callMethod", you go to the tag's definition via M-. (find-tag). Because I am too lazy to learn and try out the TAGS features in Emacs (I have used Emacs since 1997 and never tried that out...) I use C-s C-w instead. It might take a few more keystrokes (keep typing C-s to find the correct place) and it might sometimes find too many occurances, but it works quite well.