gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: TAGS for GCL


From: Camm Maguire
Subject: [Gcl-devel] Re: TAGS for GCL
Date: 25 Mar 2006 21:30:16 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks!  Have you tried the 'make TAGS' toplevel
command currently in 2.7.0?  You've sold me on tags at our last visit
and I use them alot, though there are a few items on my wishlist.

Take care,

Robert Boyer <address@hidden> writes:

> In my opinion, it would be a kindness to add a top level TAGS file to gcl.
> 
> Below is an etags command that I have been working on for a while, which
> creates such a TAGS file.  It's a crock and could sure use a lot of
> improvement.  With such a TAGS file around the Emacs user can do a couple of
> nice things, after doing M-x visit-tags-table on the TAGS file.
> 
> 1.  Find a definition with meta-dot.  One does C-u meta-dot
>     if you don't at first get to the place you wanted and wish to keep trying.
> 2.  Do a M-x tags-search to look for something through all of the source 
> files.
>     One uses meta-comma to "continue" such a search.
> 3.  Use other neat things like:  tags-apropos and tags-query-replace.
>     Of course, there's more in the Emacs Tags documentation.
> 
> Someone who knew what they were doing could do a lot better job than this
> utter kludge.
> 
> #!/bin/csh -efX
> etags --regex='/LFD(.*$/'                             \
>       --regex='/DEF.*$/'                              \
>       --regex='/FFN.*$/'                              \
>       --regex='/@(defun.*$/'                          \
>       --regex='/@(static defun.*$/'                   \
>       --regex='/[ \t]*make_function(".*/'             \
>       --regex='/[ \t]*make_si_function(".*/'          \
>       --regex='/.*make_special(".*/'                  \
>       --regex='/[ \t]*make_constant(".*/'             \
>       --regex='/[ \t]*make_keyword(".*/'              \
>       --regex='/[ \t]*make_cons(make_ordinary(".*/'   \
>       o/predicate.c                                   \
>       o/*.c                                           \
>       h/cmpinclude.h                                  \
>       #We want to skip o/cmpinclude.h, so we list:    \
>       o/external_funs.h o/ntheap.h o/plt.h o/regexp.h \
>       mod/c/*.c pcl/c/*.c                             \
>       lsp/*.l*sp cmpnew/*.l*sp                        \
>       *.l*sp mod/*.l*sp unixport/*.l*sp               \
>       pcl/*.l*sp  clcs/*.l*sp misc/*.l*sp             \
>       pcl/extensions/*.l*sp                           \
>       pcl/impl/gcl/*.l*sp                             \
>       h/*.h                                           \
>       makefile configure                              \
>       */makefile */configure                          \
>       --language=c o/*.d                              \
> 
> 
> 
> Bob
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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