delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/24/16:00:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 24 Jul 2003 16:00:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Jeffery B. Rancier" <jeff DOT rancier AT softechnics DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: DLL 1.3.22 - etags 5.5.4 fails on XP Pro
In-Reply-To: <u8yqn20xq.fsf@softechnics.com>
Message-ID: <Pine.GSO.4.44.0307241556080.26427-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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

> Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:
>
> > On Wed, 23 Jul 2003, Jeffery B. Rancier wrote:
> >
> >> Larry Hall <cygwin-lh AT cygwin DOT 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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019