[Top][All Lists]

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

Re: Managing lots of source files (e.g. subroutines and functions)

From: Sebastian Schubert
Subject: Re: Managing lots of source files (e.g. subroutines and functions)
Date: Tue, 27 Jan 2009 11:17:34 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

address@hidden (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 ( 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... ;)



reply via email to

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