From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.devel Subject: ctags Date: Mon, 05 Feb 2007 23:09:23 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1170713423 16042 80.91.229.12 (5 Feb 2007 22:10:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2007 22:10:23 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 05 23:10:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HEC2L-00070t-8w for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2007 23:10:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEC2K-0004Wp-I4 for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2007 17:10:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEC28-0004WV-Ah for emacs-devel@gnu.org; Mon, 05 Feb 2007 17:09:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEC26-0004W4-U6 for emacs-devel@gnu.org; Mon, 05 Feb 2007 17:09:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEC26-0004W0-Jp for emacs-devel@gnu.org; Mon, 05 Feb 2007 17:09:54 -0500 Original-Received: from mx1.isti.cnr.it ([194.119.192.3]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HEC26-0005hz-29 for emacs-devel@gnu.org; Mon, 05 Feb 2007 17:09:54 -0500 Original-Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.3-x3 #31251) id <01MCSGRVZ8SGA9U1YQ@mx.isti.cnr.it> for emacs-devel@gnu.org; Mon, 05 Feb 2007 23:09:25 +0100 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.3-x3 #31251) with ESMTPS id <01MCSGRUUSOUA9ULQO@mx.isti.cnr.it> for emacs-devel@gnu.org; Mon, 05 Feb 2007 23:09:23 +0100 Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.63) (envelope-from ) id 1HEC1b-0001cl-2H for emacs-devel@gnu.org; Mon, 05 Feb 2007 23:09:23 +0100 X-INSM-ip-source: 146.48.81.102 Auth Optional-NoAuth X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-kernel: OpenVMS 7.2 (Multinet 4.3-4.4 stack) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65970 Archived-At: While modernizing etags/ctags, I allowed ctags to have dulicated tags, and I set the --members option as a default for etags. Now I ws wondering if we should go a small step farther. /* The next five default to TRUE for etags, but to FALSE for ctags. */ static bool typedefs; /* -t: create tags for C and Ada typedefs */ static bool typedefs_or_cplusplus; /* -T: create tags for C typedefs, level */ /* 0 struct/enum/union decls, and C++ */ /* member functions. */ static bool constantypedefs; /* -d: create tags for C #define, enum */ /* constants and variables. */ /* -D: opposite of -d. Default under ctags. */ static bool globals; /* create tags for global variables */ static bool members; /* create tags for C member variables */ Should we have these default to TRUE for ctags also? Why not?