From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?TGx1w61z?= Newsgroups: gmane.emacs.devel Subject: Re: Etags and OOP Date: Mon, 09 Nov 2009 14:35:08 +0100 Message-ID: <86k4xzddo3.wl%lluis@ginnungagap.pc.ac.upc.edu> References: <176672f50911081948ic384412j764f1f22762d821d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1257773781 28419 80.91.229.12 (9 Nov 2009 13:36:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 13:36:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 09 14:36:14 2009 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 1N7UPk-0007FV-Ty for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 14:36:13 +0100 Original-Received: from localhost ([127.0.0.1]:57442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7UPk-0006aP-FR for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 08:36:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7UOq-00063T-No for emacs-devel@gnu.org; Mon, 09 Nov 2009 08:35:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7UOm-00060F-KW for emacs-devel@gnu.org; Mon, 09 Nov 2009 08:35:16 -0500 Original-Received: from [199.232.76.173] (port=54577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7UOm-000603-7u for emacs-devel@gnu.org; Mon, 09 Nov 2009 08:35:12 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:53628) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N7UOl-000332-Hn for emacs-devel@gnu.org; Mon, 09 Nov 2009 08:35:11 -0500 Original-Received: (qmail invoked by alias); 09 Nov 2009 13:35:09 -0000 Original-Received: from dync-30-245.ac.upc.es (EHLO localhost) [147.83.30.245] by mail.gmx.net (mp046) with SMTP; 09 Nov 2009 14:35:09 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1/HRosckHnHUuJVbLV4LQxTpXX01SIWx0PeEyHnVA EzVuPsKFysbe+q In-Reply-To: <176672f50911081948ic384412j764f1f22762d821d@mail.gmail.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:116744 Archived-At: > Hello, I was wondering is there a way for etags or any custom tool > compatible with emacs to write tags according to the class hierarchy when > writing Object Oriented code for later use in completion? Or any past works > along this? Thanks. You also have cscope, which comes with the xcscope plugin, but you have to give it some extra flags for the sake of tags completeness. In C++ I use: tags-exuberant --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q --tag-relative=yes Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth