[plt-scheme] Emacs tags for MzScheme modules

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Nov 2 13:35:18 EST 2003

On Nov  2, Bill Clementson wrote:
> 
> --- Eli Barzilay <eli at barzilay.org> wrote:
> > On Nov  1, Bill Clementson wrote:
> > > 
> > > find . -name '*.s*' -exec etags -a
> > --language=scheme
> > > --regex="/[ \t]*(def[a-z\-]+[ \t]+\(.*\)/\1/" {}
> > \; 
> > 
> > This will probably find also internal definitions.
> 
> Yes, it will, but I don't know how to separate them
> out using just a regexp. 

Of course -- there is no way to do this with regexps...


> > > Or am I going about this the wrong way? Are there
> > > other means that people use to locate scheme
> > > definitions that don't require the use of tag
> > files?
> > 
> > Uh, grep -r?
> 
> Yes, but this will probably find also internal
> definitions ;-)

True, but if both methods are bad, I'd go with the one that is simpler
to implement.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.