emacs-devel
[Top][All Lists]
Advanced

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

etags for C++


From: Tak Ota
Subject: etags for C++
Date: Tue, 19 Feb 2002 11:41:12 -0800 (PST)

I always forget the find command syntax to create TAGS file and refer
to info page for etags.  Following is the example in the info page
that I rely on.  Many times, I struggle to incorporate C++ files.

     find . -name "*.[chCH]" -print | etags -

I suppose use of C++ is very common these days.  Can we modernize this
part of the document like this?

*** maintaining.texi.orig       Wed Dec 26 13:49:41 2001
--- maintaining.texi    Tue Feb 19 11:12:05 2002
***************
*** 441,447 ****
  by typing a dash in place of the file names, like this:
  
  @smallexample
! find . -name "*.[chCH]" -print | etags -
  @end smallexample
  
    Use the option @address@hidden to specify the language
--- 441,447 ----
  by typing a dash in place of the file names, like this:
  
  @smallexample
! find . -iregex '.*\.\(c\|h\|cpp\|cc\)' -print | etags -
  @end smallexample
  
    Use the option @address@hidden to specify the language


Or, is it worth introducing a new command in etags.el that runs find
and etags?

-Tak



reply via email to

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