[racket] etags support for DrRacket

From: Mitchell Wand (wand at ccs.neu.edu)
Date: Thu Nov 18 16:19:02 EST 2010

Ahh, cool.  Is that somewhere in the Racket distribution, or do I need to
copy it?  --Mitch

On Thu, Nov 18, 2010 at 2:29 PM, Vincent St-Amour <stamourv at ccs.neu.edu>wrote:

> Guillaume Marceau wrote a script for that:
> http://lists.racket-lang.org/users/archive/2003-November/003715.html
>
> Vincent
>
>
> At Thu, 18 Nov 2010 13:49:23 -0500,
> Mitchell Wand wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; ISO-8859-1 (7bit)>]
> > It took me about 45 minutes, but I found the following bit of trivia
> > helpful:
> >
> > To convince etags to look  for definitions in .rkt files do the
> following:
> >
> > Create a file ~/.ctags , and add to it the following line:
> >
> > --langmap=scheme:.rkt
> >
> >
> > This will cause ctags/etags to recognize .rkt files as scheme files, and
> > apply etags' parsing rules to find definitions.
> >
> > OTOH:
> >
> > (1)  According to http://ctags.sourceforge.net/EXTENDING.html , you can
> add
> > a new language to ctags/etags by writing something like
> >
> >   --langdef=swine
> >   --langmap=swine:.swn
> >   --regex-swine=/^def[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/
> >
> > Has anybody done this for Racket ?  There are also fancier things you
> > can do; see the EXTENDING page for details.
> >
> > (2)  Is there some better tool I should be using?  I want to do things
> > like change a name across a whole set of files.
> >
> > --Mitch
> > [1.2  <text/html; ISO-8859-1 (quoted-printable)>]
> >
> > [2  <text/plain; us-ascii (7bit)>]
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://lists.racket-lang.org/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101118/daa40ff8/attachment.html>

Posted on the users mailing list.