unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* etags for C++
@ 2002-02-19 19:41 Tak Ota
  2002-02-20 22:13 ` Richard Stallman
  0 siblings, 1 reply; 17+ messages in thread
From: Tak Ota @ 2002-02-19 19:41 UTC (permalink / raw)


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 @samp{--language=@var{name}} 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 @samp{--language=@var{name}} to specify the language


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

-Tak

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-02-26 20:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-19 19:41 etags for C++ Tak Ota
2002-02-20 22:13 ` Richard Stallman
2002-02-21  6:47   ` Eli Zaretskii
2002-02-21  7:34     ` Tak Ota
2002-02-21  7:45       ` Tak Ota
2002-02-21 10:59         ` Eli Zaretskii
2002-02-21 16:19           ` Tak Ota
2002-02-22 14:32             ` Francesco Potorti`
2002-02-22 14:53               ` Tak Ota
2002-02-22 15:31                 ` Andreas Schwab
2002-02-23 20:19                 ` Richard Stallman
2002-02-24  5:42                   ` Tak Ota
2002-02-25  0:08                     ` Richard Stallman
2002-02-25  6:40                       ` Eli Zaretskii
2002-02-25  8:27                         ` Francesco Potorti`
2002-02-25 16:30                           ` Tak Ota
2002-02-26 20:15                         ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).