From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: gtags/ctags/etags/cscope support? Date: Sat, 23 Mar 2019 19:45:44 +0100 Message-ID: <20190323184544.utmrpin5rkzw56i3@Ergus> References: <20190323160624.gz5fducjm3thrb2b@Ergus> <83a7hlpmkn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="46421"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 23 19:47:46 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7lgI-000ByQ-4N for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2019 19:47:46 +0100 Original-Received: from localhost ([127.0.0.1]:46589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7lgH-0006Lk-3L for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2019 14:47:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7lfG-0006LS-Iy for emacs-devel@gnu.org; Sat, 23 Mar 2019 14:46:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7leU-0003n5-QJ for emacs-devel@gnu.org; Sat, 23 Mar 2019 14:45:57 -0400 Original-Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:33123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7leT-0003km-SS for emacs-devel@gnu.org; Sat, 23 Mar 2019 14:45:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1553366751; bh=fKsSXMg0roPo7dDSuuPJaG8pfZJhZhvxVW5iEvZzA+I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=BRleFBYKhAv7H6vsGqWfxjfSonWqIwrnUXxKrolMN4MQoeF/UULqBhqjFTDMrG8sUUdovcqOAvvY/d2zZbIoRSUuTC5fdm52bpZENtgz35jzxPwworgQhwWeiHvRxbplw1mgR6YupQvk12qNgw5+TxLmecgNzwOwHjLbnxfGjZQE9Omrn3vzPTYrzqHo9suQJaIueDjugWF8IP/rTGCOD8gNFPMAPEfd5CUenriNWVoY0zaotksNrRX58oGmn7c1mPx1794Qq6M2z2zqBWqN3PzP/XBlYXZA9lRhSrHMdNxT0HJq5mk8JCbUFNxEfIRvGg2d5T2yG8/diTnx6pP0Fg== X-YMail-OSG: _F_74m0VM1lKUVe.a1.CiIablZNTcXSwn.RXCjpi40ZmSk1RvoA4EA.nc1qpfkA d8DdPEjnWPETp2cAKH9oBY48nSeqpaAzEsvVuWz9se2k9NEbUKC7wjPSIzhKz7IpOh4xR0JzEYFs hP4eLWAA5XIecz1EsckLAvhPakvWoOnccRyROStZrIF2leVPjd2W0LarAqbv1KV3x8aqvc6pJqj1 7q8vvckTpPSF03ORbgJQCcqqfmIvcdOZGfWRivpIFwMDYRCnyDBYSeLLpi1XL5c1cf2WKpyrDff2 JywPGL579TyeZG1IzjIKKr_Ig4HWvM8FefWI_jOTImpf_u9dCfR..qaXBvV4.tUVX0VGBOhVpA5T nhOjcLKhEdAGE1PoK0lhFzlNco_toLUJnuoFQVAjojASa.vulxWHaja4zGjX5qCOzk6r.a.Kbrdx Z118e4kohAD0OE7FHQtv13Pm_J7t6IrVHjsNWTeNB7tKPkwDczOPivbns5ApIxnl_LHMKt5Ai9T0 axK0u2rNlvXIbi9CSKdbaW3qsC_gkeCMAzedX_Ghz96y0YmveeWxWEzjCIqavdpOoaHmpswTNFEO pqTE4inHhRoyuhullZLNePJsXNLwIreYqbMIdYMNwkQtQxih9viWl2P34pA.AYja.B5PMw0UyrPW oPRhSsnD6tW2gHkkrB9eF6GPRA.SgzB3GCCn_ZwnqSQtCJo5oDvu5IuXM60sm4lq6epUu.xSHwkP s_4kjNW19chUlADtOJE4vrMr8amG3.Eh5r7bHSzI3YmfGqPRX.41LHSi8N2ELe8rqKKU1WcKIIcv RAu60akTFT8k7AcLS.HVxFbjcsE3m7kQ2QcjLs1pxg Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Sat, 23 Mar 2019 18:45:51 +0000 Original-Received: from 2.152.205.184.dyn.user.ono.com (EHLO Ergus) ([2.152.205.184]) by smtp419.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 59830cf18dc3874a52ed86723a75b2da; Sat, 23 Mar 2019 18:45:47 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83a7hlpmkn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 87.248.110.31 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:234660 Archived-At: On Sat, Mar 23, 2019 at 06:44:40PM +0200, Eli Zaretskii wrote: >> Date: Sat, 23 Mar 2019 17:06:24 +0100 >> From: Ergus >> >> Some days ago Stefan was talking about ebrowse but now it makes me >> think. >> >> Between global/gtags/ctags/etags/cscope which of them has been (|| will >> be) better supported in emacs. Because there are many packages around >> but I can't estimate their popularity. >> >> Is it there any internal support for any of them within emacs? Is the >> ggtags package actively maintained? >> >> Because I want to invest some time in one of them to improve the support >> for tramp and ivy. >> >> Which of them has more potential in your opinion? > >It would indeed be interesting to have a comparison table of features >in one place. Then we could try to figure out what we want to >support. I'm guessing no single tool in its current form will do. > The comparison already exist; independently of how accurate it is. There is a link in the global's page: https://github.com/oracle/opengrok/wiki/Comparison-with-Similar-Tools The formats are very similar; and gtags can use ctags if it is set in compilation time, because the search algorithms in ctags seems to be apparently more improved. There is a package for gtags in elpa, but for me it was too intrusive because most of it's code is to add keybinds and add graphical windows that I don't use; while the fundamental calls are only less than 10% of the code. The ctags tool is more frequent to find everywhere because works in vim out of the box. The other point is that in case of using tramp it is theoretically possible to use a remote tags file with the local executable but I am not "lispy" enough yet to implement such a thing myself from scratch. >I can help with the little I know: > > . etags includes support for many languages (see the list at the end > of what "etags --help" displays), including some "languages", like > HTML, which aren't really programming languages. However, support > for some of the languages is very basic. Also, etags is only > partially useful for C++. > > . ebrowse supports C++, but it wasn't updated for new C++ features > in a very long time, so it probably is not really up to job > nowadays. > >For inclusion in Emacs, we should also consider whether it will be >possible to get copyright assignment from the contributors. > >Thanks. >