help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] etags problem!


From: Yunbiao Wang
Subject: [h-e-w] etags problem!
Date: Thu, 24 Jan 2002 11:10:30 -0800 (PST)

Hi,
I have asked for help on how to create etags on matlab
files. I have gotten to answers. Thanks!

Since I do not have Bourne shell on window, I decide
to use etage to create the tags file. However, no
matter how hard I tried, etags keeps generating error
message. I am using emacsNT ver. 20.7. The following
are the message and command I have tried. Can anyone
help me to find out the problem and how to fix it? I
suspect that etags has bugs!

This is the first command I tried:

E:\ywang\AECMATLAB>etags --language=none --regex='/[
\t]*function.*=[ \t]*\([^ \t]*\)[ \t]*(/\1/' 
--regex='/###key \(.*\)/\1/'  --regex='/[ \t]*global[
\t].*/'  *.m
etags --language=none --regex='/[ \t]*function.*=[
\t]*\([^ \t]*\)[ \t]*(/\1/'  --regex='/###key
\(.*\)/\1/'  --regex='/[ \t]*global[ \t].*/'  *.m
/t]*function.*=[: Invalid argument
/t]*/([: Invalid argument
/t]*/)[: Invalid argument
/t]*(//1/': Invalid argument
/(.*/)//1/': Invalid argument
/t]*global[: Invalid argument
/t].*/': Invalid argument
etags: '/[: unterminated regexp
etags: '/###key: unterminated regexp
etags: '/[: unterminated regexp

Since it is too long to debug the previous command, I
decide to try a short one:

E:\ywang\AECMATLAB>etags --language=none --regex=/^[
]function/ *.m
etags --language=none --regex=/^[ ]function/ *.m
]function/: Invalid argument
etags: /[: unterminated regexp

Thanks!

Frank Wang

--- Malcolm Cook <address@hidden> wrote:
> from
>
http://www.octave.org/octave-lists/archive/octave-sources.1998/msg00028.html
> 
> (also appearing in
>
http://www.linux-france.org/article/appli/emacs/manuel/html/tags.html)
> 
> i quote:
> 
> 
> etags --language=none \
>       --regex='/[ \t]*function.*=[ \t]*\([^ \t]*\)[
> \t]*(/\1/' \
>       --regex='/###key \(.*\)/\1/' \
>       --regex='/[ \t]*global[ \t].*/' \
>       *.m
> 
> 
> 
> 
> -malcolm (google is your friend) cook
> 
> > -----Original Message-----
> > From: address@hidden
> > [mailto:address@hidden Behalf
> Of Yunbiao Wang
> > Sent: Wednesday, January 23, 2002 11:56 AM
> > To: address@hidden
> > Subject: [h-e-w] How to create tags file for
> Matlab source code?
> >
> >
> > Hi,
> >
> > Can anyone tell me how to create TAGS file for
> matlab
> > source codes? I have a project that contains lots
> of
> > matlab function code. I want to create a tag file,
> so
> > I can easily move around between them.
> >
> > Thanks!
> >
> > Frank Wang
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE video emails in Yahoo! Mail!
> > http://promo.yahoo.com/videomail/
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



reply via email to

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