all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ctags/etags: rc file?
@ 2014-11-20 11:47 Alfred M. Szmidt
  2014-11-20 12:07 ` Francesco Potortì
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alfred M. Szmidt @ 2014-11-20 11:47 UTC (permalink / raw)
  To: emacs-devel

Would it be possible for ctags/etags to read a simple .etags (or
something) file that contains the command line arguments?  The reason
for it is that often projects have a bunch of default arguments that
are being passed to etags, which are not just regexps and it is
annoying to keep track of them at times.

If .etags (one argument per line) contains,

  --language=none
  --regex='/[ \t]*function.*=[ \t]*\([^ \t]*\)[ \t]*(/\1/'
  --regex='/###key \(.*\)/\1/'
  --regex='/[ \t]*global[ \t].*/'
  *.m

And then issuing "etags -Z" (or some other sensible short option) it
would be equivalent to running,

  etags --language=none --regex='/[ \t]*function.*=[ \t]*\([^ \t]*\)[ \t]*(/\1/' --regex='/###key \(.*\)/\1/' --regex='/[ \t]*global[ \t].*/' *.m



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

end of thread, other threads:[~2014-11-21  2:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 11:47 ctags/etags: rc file? Alfred M. Szmidt
2014-11-20 12:07 ` Francesco Potortì
2014-11-20 12:14   ` Alfred M. Szmidt
2014-11-20 12:12 ` Ivan Shmakov
2014-11-20 12:19 ` Masatake YAMATO
2014-11-20 12:34   ` Alfred M. Szmidt
2014-11-21  2:26     ` Masatake YAMATO

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.