From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Schubert Newsgroups: gmane.emacs.help Subject: Re: Managing lots of source files (e.g. subroutines and functions) Date: Tue, 27 Jan 2009 11:17:34 +0100 Organization: Linux Private Site Message-ID: References: <7cocxtkqy0.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233068912 7554 80.91.229.12 (27 Jan 2009 15:08:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 15:08:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 16:09:38 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRpWv-00070W-Tu for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 16:07:10 +0100 Original-Received: from localhost ([127.0.0.1]:60527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRpVe-0007vJ-3f for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 10:05:50 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-stuttgart.de!npeer.de.kpn-eurorings.net!npeer-ng1.de.kpn-eurorings.net!npeer-ng2.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:wByt6hpnJOdvg8EAXqQTNYgsh2I= Original-Lines: 28 Original-NNTP-Posting-Date: 27 Jan 2009 11:17:16 CET Original-NNTP-Posting-Host: df2cbf40.newsspool1.arcor-online.net Original-X-Trace: DXC=?; 3_AEeE@H:U`5g[@c]@J1ic==]BZ:af>4Fo<]lROoR1^YC2XCjHcb996EW86@52B; T\KaCDj0I^?C9Ecb?I6J5=cSSio_6ka2?n4HjUacX8F9 Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: news.stanford.edu gnu.emacs.help:166373 X-Mailman-Approved-At: Tue, 27 Jan 2009 10:04:21 -0500 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:61699 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) writes: >> Is there a way to make emacs scan this folder and create some kind of >> procedure or subroutine or function list? I would like to be able to >> directly move to the file where e.g. the function I'm interested in >> is written. > The basic feature can be provided by etag(1) > > First, you build a TAGS file: > > find $source_directory -name \*.f -print0 | xargs -0 etags -a -o $source_directory/TAGS {} > > then you can use it for example, by typing M-. on a function name. > The first time it'll ask what TAGS file you want (specify the one you > just created). Then it will jump to the source of the function. That's what I wanted to have. Thank you. > Otherwise, you could use cedet (http://cedet.sourceforge.net) but it > seems there's no Fortran parser yet. You could write one. I'll give it a try although I felt too stupid to use it the last time I tried it. I never understood what was going on... ;) Cheers Sebastian