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: Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags` Date: Tue, 26 Dec 2006 15:13:08 +0100 Message-ID: References: <1166990491.2706.205.camel@localhost.localdomain> NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1167142479 14743 80.91.229.10 (26 Dec 2006 14:14:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2006 14:14:39 +0000 (UTC) Cc: Olaf Dabrunz , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 26 15:14:37 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GzD4d-0003No-K0 for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 15:14:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzD4d-0004Lx-1a for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 09:14:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzD4O-0004H7-K6 for emacs-devel@gnu.org; Tue, 26 Dec 2006 09:14:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzD4N-0004Dr-KM for emacs-devel@gnu.org; Tue, 26 Dec 2006 09:14:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzD4N-0004DY-Cf for emacs-devel@gnu.org; Tue, 26 Dec 2006 09:14:19 -0500 Original-Received: from [194.119.192.4] (helo=mx2.isti.cnr.it) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GzD4M-0003Da-P1 for emacs-devel@gnu.org; Tue, 26 Dec 2006 09:14:19 -0500 Original-Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.3-x3 #31251) id <01MB6Q79BJ5CA0Y3US@mx.isti.cnr.it> for emacs-devel@gnu.org; Tue, 26 Dec 2006 15:13:10 +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 <01MB6Q78INCIA0YHOY@mx.isti.cnr.it>; Tue, 26 Dec 2006 15:13:09 +0100 Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.63) (envelope-from ) id 1GzD3E-0006S5-MZ; Tue, 26 Dec 2006 15:13:08 +0100 In-reply-to: <1166990491.2706.205.camel@localhost.localdomain> Original-To: Don Mullis X-INSM-ip-source: 146.48.81.102 Auth Optional-NoAuth X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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:64294 Archived-At: >`make TAGS` produces a TAGS that causes the emacs v22.0.92 command >'M-x tags-search' to repeatedly stop with complaints about missing files. >Proximate cause of this is "#line" directives in Linux source files. I cannot reproduce this on a 2.6.18 Linux tree with Emacs 22.0.91. By the way, I did not know that 22.0.92 was out. Would someone please tell me where I can download it? Anyway, etags has not changed in that respect since 22.0.91. Would you please detail precisely the steps you followed to trigger the bug? And, just to be sure, please let me know the output of strings `which etags` | fgrep revision >`make tags` produces hundreds of lines of complaints about duplicate >entries. This also happens with the Emacs 21 version of etags. Olaf Dabrunz once suggested that ctags optionally allows for duplicate entries, which modern versions of vi can handle. Do people think that this would be a good idea? If you want to try out the result, look for "if (!dif)" in the source and disable that piece of code. I do not use vi myself, so I cannot thest this reliably.