re: tags

2011-11-14 Thread Doug Snead
FWIW ... here's something I use instead of ctags for picolisp. 

$ cat /usr/local/bin/lisptags

#!/bin/sh 
# make a tags file for pico lisp source files.
# use:
#   lisptags foo.l bar.l baz.l ... bof.l
# generate the file 'tags'
# [based on lisptags csh script by John Foderaro, c.1982]
awk '
/^[ \t]*\(d[em][ \t]/ { print $2 \t FILENAME \t?^ $0 $? }
/^[ \t]*\(class[ \t]/ { print $2 \t FILENAME \t?^ $0 $? }
' $* | sort  tags


Doug


--- On Mon, 11/14/11, Henrik Sarvell hsarv...@gmail.com wrote:

 From: Henrik Sarvell hsarv...@gmail.com
 Subject: Re: How to get the signature of function and method definitions
 To: picolisp@software-lab.de
 Date: Monday, November 14, 2011, 6:59 AM
 It's at the end here:
 http://www.prodevtips.com/2010/09/29/emacs-color-themes-tags-cedet-ecb-and-other-customizations/
 
 Not much to it, I do things old school ie I put the
 download in
 /opt/picolisp and simply cd there in a shell and do: ctags
 -e -R
 --languages=-JavaScript,-PHP,-C,-Make,-HTML
 

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: tags

2011-11-14 Thread Thorsten
Doug Snead semaphore_2...@yahoo.com
writes:

Hi Doug,

 FWIW ... here's something I use instead of ctags for picolisp. 

 $ cat /usr/local/bin/lisptags

 #!/bin/sh 
 # make a tags file for pico lisp source files.
 # use:
 #   lisptags foo.l bar.l baz.l ... bof.l
 # generate the file 'tags'
 # [based on lisptags csh script by John Foderaro, c.1982]
 awk '
 /^[ \t]*\(d[em][ \t]/ { print $2 \t FILENAME \t?^ $0 $? }
 /^[ \t]*\(class[ \t]/ { print $2 \t FILENAME \t?^ $0 $? }
 ' $* | sort  tags


 Doug

Are these tag files readable for emacs? 
Since tags seems to be sorted, I guess not, since etags apparently are
not sorted. 


 --- On Mon, 11/14/11, Henrik Sarvell hsarv...@gmail.com wrote:

 From: Henrik Sarvell hsarv...@gmail.com
 Subject: Re: How to get the signature of function and method definitions
 To: picolisp@software-lab.de
 Date: Monday, November 14, 2011, 6:59 AM
 It's at the end here:
 http://www.prodevtips.com/2010/09/29/emacs-color-themes-tags-cedet-ecb-and-other-customizations/
 
 Not much to it, I do things old school ie I put the
 download in
 /opt/picolisp and simply cd there in a shell and do: ctags
 -e -R
 --languages=-JavaScript,-PHP,-C,-Make,-HTML
 

cheers
-- 
Thorsten

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe