From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ams@gnu.org (Alfred M. Szmidt) Newsgroups: gmane.emacs.devel Subject: Re: ctags/etags: rc file? Date: Thu, 20 Nov 2014 07:14:19 -0500 Message-ID: References: Reply-To: ams@gnu.org NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416485672 4511 80.91.229.3 (20 Nov 2014 12:14:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2014 12:14:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Francesco Potortì Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 20 13:14:25 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrQcy-0001Ss-AN for ged-emacs-devel@m.gmane.org; Thu, 20 Nov 2014 13:14:24 +0100 Original-Received: from localhost ([::1]:34890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrQcx-00066O-RG for ged-emacs-devel@m.gmane.org; Thu, 20 Nov 2014 07:14:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrQcv-00065t-8i for emacs-devel@gnu.org; Thu, 20 Nov 2014 07:14:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrQcu-0001IQ-Dj for emacs-devel@gnu.org; Thu, 20 Nov 2014 07:14:21 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrQcu-0001IM-AG for emacs-devel@gnu.org; Thu, 20 Nov 2014 07:14:20 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XrQct-0005kW-TP; Thu, 20 Nov 2014 07:14:20 -0500 In-reply-to: (message from Francesco Potortì on Thu, 20 Nov 2014 13:07:06 +0100) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177869 Archived-At: You can put regular expressions for etags in a file. Have a look at the info file of Emacs (node Etags Regexps) or the output of `etags --help' (look for REGEXFILE). That solves part of the problem, it does not solve the other where one wishes to pass other flags, like --include, --language, --no-duplicates (for ctags).], etc. Note that if you call etags from a Makefile it is probably more clear and less prone to error to just put the --regex arguments on the command line in makefile itself. Not all projects have a Makefile (sadly).