delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/11/14:25:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: ctags recursion broken?
Date: Tue, 11 Dec 2012 13:24:59 -0600
Message-ID: <786EBDA1AC46254B813E200779E7AD36028CB0F6@srv1163ex1.flightsafety.com>
In-Reply-To: <CAN4-eHKrOtUfegrBxpZzgMh0ErFAub4yBFxY=-qmf1jsy7PPQQ@mail.gmail.com>
References: <CAN4-eHLtc3o=59PJ6fm+TEUc7NUid4U8J69+UKiwOXVM49A5tA AT mail DOT gmail DOT com> <CAN4-eHKrOtUfegrBxpZzgMh0ErFAub4yBFxY=-qmf1jsy7PPQQ AT mail DOT gmail DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
CC: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qBBJPCuq031465

Alan Thompson wrote on 2012-12-11: 
> Upon closer inspection, it appears that Cygwin has a different version
> of ctags (not Exuberant Ctags!) that does not support recursion at
> all!  Specifically,
> 
>> ctags -V
> ctags (standalone 21.4.22)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This program is distributed under the terms in ETAGS.README
>> 
>> ctags --help
> Usage: ctags [options] [[regex-option ...] file-name] ...
> 
> These are the options accepted by ctags.
> You may use unambiguous abbreviations for the long option names.
>   A - as file name means read names from stdin (one per line).
> Absolute names are stored in the output file as they are. Relative
ones
> are stored relative to the output file's directory. <snip> -R,
--no-regex
>         Don't create tags from regexps for the following files.
> <snip>

Are you sure you're using the ctags you think you are?

$ ctags --help
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Dec 11 2009, 11:42:40
  Addresses: <dhiebert AT users DOT sourceforge DOT net>,
http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex, +internal-sort

Usage: ctags [options] [file(s)]
<snip>
  -R   Equivalent to --recurse.
<snip>

Hope this helps!
--
Bryan Thrall
Principal Software Engineer
FlightSafety International
bryan DOT thrall AT flightsafety DOT com



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


- Raw text -


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