This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DLL 1.3.22 - etags 5.5.4 fails on XP Pro


On Thu, 24 Jul 2003, Jeffery B. Rancier wrote:

> Igor Pechtchanski <pechtcha@cs.nyu.edu> writes:
>
> > On Wed, 23 Jul 2003, Jeffery B. Rancier wrote:
> >
> >> Larry Hall <cygwin-lh@cygwin.com> writes:
> >>
> >> > It's not a bug, unless you consider a Windows program not being able to
> >> > understand Cygwin symbolic links a bug.  I don't think there is much
> >> > chance of changing Windows to permit all applications a proper understanding
> >> > though.
> >>
> >> I see.  Why does it work at all, then?  I renamed my emacs version of
> >> etags to ensure that I was running cygwin's.
> >>
> >> > I'm surprised you don't see this all of the time when invoked in NTEmacs.
> >> > Regardless, it would never work, even if it doesn't complain.  Use
> >> > Cygwin's emacs, ctags directly, or some emacs lisp wizardry to resolve
> >> > this issue.
> >>
> >> First time I've ever seen it is three years.
> >
> > What you could do is create an "etags.bat" that runs 'bash -c etags "%1"
> > "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"', put it in your PATH, and you
> > should be able to call that from NTEmacs.
> >       Igor
>
> [...]
>
> Thanks Igor,
>
> On a related note, in the 5.5.4 version of ctags, I can't seem to get
> the 'recurse' option to do anything useful.
>
> bash-2.05b$ ctags -e -R *.c *.h
>
> only includes the C source and headers in the current working directory.
> Is this broken?
>
> Jeff

Nope, this works as expected...  From "ctags --help":
  -R   Equivalent to --recurse.
  --recurse=[yes|no]
       Recurse into directories supplied on command line [no].
                                ^^^^^^^^^^^^^^^^^^^^^^^^
Well, you didn't supply any directories, you only specified files (*.c and
*.h), so, unless you have any directories ending in .c or .h, the recurse
option is moot.  Try "ctags -e -R ." or something (use --exclude option if
you don't want all files).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]