From: Marcus Harnisch <mh-gmane@online.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Tagging Fortran variables
Date: Tue, 6 Aug 2024 08:26:53 +0200 [thread overview]
Message-ID: <v8sfne$rsp$1@ciao.gmane.io> (raw)
In-Reply-To: <87jzgur4ig.fsf@librehacker.com>
On 06/08/2024 00.25, Christopher Howard wrote:
> Hi, part of my work is researches/troubleshooting in a big collection of old Fortran code files. I want to be able to use the xref tools to help me. However, it seems that etags does not tag Fortran variables, which 99% of the time is what I am interested in. It looks like there is a way to tag anything you want using regexps, so I was looking at the fortran.el code to see if maybe I could find the magic regexp for this. But there is a lot going on here in fortran.el that I don't understand yet and I am wondering if somebody might be able to help me figure this out.
You may want to try Global (https://www.gnu.org/software/global/)
This in turn depends on Universal Ctags (https://ctags.io/),
and Pygments (https://pygments.org/)
On the Emacs side, I am using ggtags
(http://elpa.gnu.org/packages/ggtags.html)
This combination served me well in many projects.
next prev parent reply other threads:[~2024-08-06 6:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 22:25 Tagging Fortran variables Christopher Howard
2024-08-06 6:26 ` Marcus Harnisch [this message]
2024-08-07 2:38 ` Joel Reicher
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 16:31 Christopher Howard
2024-08-06 20:19 ` Marcus Harnisch
2024-08-07 17:31 Christopher Howard
2024-08-07 17:41 Christopher Howard
2024-08-08 7:05 ` Joel Reicher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='v8sfne$rsp$1@ciao.gmane.io' \
--to=mh-gmane@online.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).