From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco =?utf-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.devel Subject: Re: etags test is broken on MS-Windows Date: Mon, 25 May 2015 14:33:54 +0200 Message-ID: References: <83y4kmdjmj.fsf@gnu.org> <837fs04egz.fsf@gnu.org> <87oalco1mg.fsf@igel.home> <83y4kg2yjc.fsf@gnu.org> <83wq002yct.fsf@gnu.org> <87fv6oo0h3.fsf@igel.home> <83vbfk2x9l.fsf@gnu.org> <87bnhcnym6.fsf@igel.home> <83pp5r3iij.fsf@gnu.org> <838ucf3dh8.fsf@gnu.org> <834mn339p2.fsf@gnu.org> <831ti7389n.fsf@gnu.org> <87oalbsgwl.fsf@igel.home> <83wpzz1qf8.fsf@gnu.org> <87k2vzsde4.fsf@igel.home> <83vbfj1k5c.fsf@gnu.org> <87fv6nrypc.fsf@igel.home> <83k2vz19fw.fsf@gnu.org> <87bnhbrv2r.fsf@igel.home> <83iobj15g5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432557266 16783 80.91.229.3 (25 May 2015 12:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2015 12:34:26 +0000 (UTC) Cc: eggert@cs.ucla.edu, Andreas Schwab , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 25 14:34:15 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YwraA-00050h-Rg for ged-emacs-devel@m.gmane.org; Mon, 25 May 2015 14:34:14 +0200 Original-Received: from localhost ([::1]:43457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwraA-0003q3-2L for ged-emacs-devel@m.gmane.org; Mon, 25 May 2015 08:34:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ywra3-0003pl-Oe for emacs-devel@gnu.org; Mon, 25 May 2015 08:34:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ywra0-0006F6-2B for emacs-devel@gnu.org; Mon, 25 May 2015 08:34:07 -0400 Original-Received: from blade4.isti.cnr.it ([194.119.192.20]:32009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwrZu-0006Cq-27; Mon, 25 May 2015 08:33:58 -0400 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #32097) with ESMTPSA id <01PME82K9UXOM5UPOY@mx.isti.cnr.it>; Mon, 25 May 2015 14:33:54 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.85) (envelope-from ) id 1YwrZq-0005F3-Q4; Mon, 25 May 2015 14:33:54 +0200 In-reply-to: <83iobj15g5.fsf@gnu.org> X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 194.119.192.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186803 Archived-At: Eli Zaretskii: >> From: Andreas Schwab >> Cc: pot@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org >> Date: Sat, 23 May 2015 20:46:04 +0200 >> >> Eli Zaretskii writes: >> >> >> From: Andreas Schwab >> >> Cc: pot@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org >> >> Date: Sat, 23 May 2015 19:27:43 +0200 >> >> >> >> Eli Zaretskii writes: >> >> >> >> > So etags is only required to produce approximately correct byte >> >> > positions, and it does that well enough. >> >> >> >> If you want approximate positions then a line-column pair would be >> ^^^^^^^^^^^ >> >> better. >> > >> > How do you define a column count? >> >> It doesn't matter. > >If you count bytes from the beginning of line, then yes, the accuracy >should be better that way. However, I wonder whether the format of >TAGS, which assumes file offsets, is a de-facto standard by now. In fact it is. The format has not changed in at least 20 years, etags has always been available for all platforms and it could be used outside of Emacs. For a format that old, changing it for no other reason than elegance is probably not a good idea.