From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.bugs Subject: bug#23400: Emacs 25.0.92.1: etags fails to handle file format generated by Exuberant Ctags 5.8 in etags emulation mode Date: Sun, 1 May 2016 11:47:59 -0400 Message-ID: References: <87shy45qhm.fsf@linux-m68k.org> <27da94bc-de09-2ce3-2a2f-319939a99853@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c09b194a678ca0531c9ceaa X-Trace: ger.gmane.org 1462117786 18910 80.91.229.3 (1 May 2016 15:49:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 15:49:46 +0000 (UTC) Cc: Andreas Schwab , 23400@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 17:49:36 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1awtcl-0003hG-Kk for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 17:49:35 +0200 Original-Received: from localhost ([::1]:33500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtce-00068v-KY for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 11:49:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtcU-0005zG-Sn for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 11:49:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awtcI-0000tq-Ui for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 11:49:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtcH-0000rw-Oz for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 11:49:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awtcE-0006R7-CR for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2016 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23400 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23400-submit@debbugs.gnu.org id=B23400.146211771524707 (code B ref 23400); Sun, 01 May 2016 15:49:02 +0000 Original-Received: (at 23400) by debbugs.gnu.org; 1 May 2016 15:48:35 +0000 Original-Received: from localhost ([127.0.0.1]:60826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awtbn-0006QQ-Bt for submit@debbugs.gnu.org; Sun, 01 May 2016 11:48:35 -0400 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:33712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awtbm-0006QD-Bl for 23400@debbugs.gnu.org; Sun, 01 May 2016 11:48:34 -0400 Original-Received: by mail-oi0-f50.google.com with SMTP id v145so133676763oie.0 for <23400@debbugs.gnu.org>; Sun, 01 May 2016 08:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1FxEFaqiMkjpHxkm+deeZ60M5np8ovrtT0zrrF8VO5Y=; b=JGXBAXxZVyJiuYARp+sbX+Is0++uL+TKv7FBtKtmPdJzOR5v1Q9pYUJZpsjH7KO/ny 7BM4esRmSYAtvxFkmR3uCChqIRa0ZtrGM/VaCa305htCjrPNw9sFwNVShsuf6fnkR5Ua LE70+CKq/8wNXfJ+oWJUiyZU6NcIz4RKjMe0w8OBL7DSI9+gqnnY53tR6iTFFnGVDjIJ ODTcFHgz7ivgwcDmAiYl8mRyvmL+GCFpKL61AernWfCjFcV6SCcMT7uaI4g5E1qAPcZt 5Dl7JJBT0g+pP4etS09P2x2bKMhew2wA26VXfyrupkIVFk+PHQkoUWIaOap8RXalJo6u 7uOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1FxEFaqiMkjpHxkm+deeZ60M5np8ovrtT0zrrF8VO5Y=; b=A0WNVa2+P61BjgCDon89/2Wxo/ULVjWqUcQ1syfb1EsBq2HABwkAYeyaAyo9gxApip ldV8bLKHNmpQ+Sp36R41IoVr2guUilEAuFZvoFTw1Fg/Zndxb7vSyvy4acKWvj3NkGtH IzgKvfdbG8GHJB/zrFiBZ4Hsamx4pc+7ZClrM0TR0Xvkudi6L19igYn3TCG/JbrPCXiN UgcFxL+yAOxW5PPjZPdD28w75r46rtfEEZh0OM+wTT8Ujji8v05ZJXTBO6gxpUHF5Hnb YTQBGEkrHKBVhj9hE9wxah7QdmlgBXvdKaFOzF51ztExAa3+hW31MfUN0DTqs5uTVbP6 z6lQ== X-Gm-Message-State: AOPr4FWy+MetU2PI4mBo/tbWRw08JuuUBJZg3bPvkQdo/LLuAMahyjD19Q0lC8hcx1pDeHdsziAhGhn9T9rSqg== X-Received: by 10.157.25.137 with SMTP id k9mr14059737otk.131.1462117708755; Sun, 01 May 2016 08:48:28 -0700 (PDT) Original-Received: by 10.202.83.135 with HTTP; Sun, 1 May 2016 08:47:59 -0700 (PDT) In-Reply-To: <27da94bc-de09-2ce3-2a2f-319939a99853@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117513 Archived-At: --94eb2c09b194a678ca0531c9ceaa Content-Type: text/plain; charset=UTF-8 On Fri, Apr 29, 2016 at 4:26 PM, Dmitry Gutov wrote: > On 04/29/2016 07:28 PM, Andreas Schwab wrote: > > However, a call to list-tags fails on such a file because it includes 2 >>> lines of file names per file rather than one. >>> >> >> Why is this not a bug in Exuberant Ctags? >> > > Indeed. And Ctags 5.8 is very old. > The main Exhuberant CTags site is: http://ctags.sourceforge.net/ which shows a last released version of 5.8. The popular `brew' package manager for OS X installs version 5.8 as the latest. There are various forks of this code since it doesn't seem to be active anymore, but these are much harder for users to find and so many may choose V5.8 which has the issue I mentioned and patched. There is universal-ctags (version 0, based on V5.8) which fixes the problem I listed and has a separate web page: http://ctags.io. There is also a V5.9 fork that is included in some Linux distributions that can be found here: https://github.com/rgo/exuberant-ctags, but looks far from official. Dmitry mentioned that this also fixes the issue. So the issue is/was with a version of Exhuberant Ctags that is still the latest official release and the most popular Google search result. Most users who install this software themselves would most likely only find this version. The patch to fix the problem is simple but whether you want to apply it given all of this is left for you far more knowledgeable maintainers to decide. --94eb2c09b194a678ca0531c9ceaa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On F= ri, Apr 29, 2016 at 4:26 PM, Dmitry Gutov <dgutov@yandex.ru> = wrote:
On 04/29/2016 07:28 PM, Andreas= Schwab wrote:

However, a call to list-tags fails on such a file because it includes 2
lines of file names per file rather than one.

Why is this not a bug in Exuberant Ctags?

Indeed. And Ctags 5.8 is very old.

The = main Exhuberant CTags site is: ht= tp://ctags.sourceforge.net/ which shows a last released version of 5.8.= =C2=A0 The popular `brew' package manager for OS X installs version 5.8= as the latest.
There are various forks of this code since it doe= sn't seem to be active anymore, but these are much harder for users to = find and so many may choose V5.8 which has the issue I mentioned and patche= d.
There is universal-ctags (version 0, based on V5.8) which fixe= s the problem I listed and has a separate web page: http://ctags.io.=C2=A0 There is also a V5.9 fork that is included = in some Linux distributions that can be found here:=C2=A0https://github.com/rgo/exuberant-ctags= , but looks far from official.=C2=A0 Dmitry mentioned that this also fixes = the issue.

So the issue is/was with a version of E= xhuberant Ctags that is still the latest official release and the most popu= lar Google search result.=C2=A0 Most users who install this software themse= lves would most likely only find this version.
The patch to fix t= he problem is simple but whether you want to apply it given all of this is = left for you far more knowledgeable maintainers to decide.

--94eb2c09b194a678ca0531c9ceaa--