From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: etags test is broken on MS-Windows Date: Sat, 23 May 2015 16:46:39 +0300 Message-ID: <83vbfj1k5c.fsf@gnu.org> References: <83y4kmdjmj.fsf@gnu.org> <831ti957wp.fsf@gnu.org> <83pp5s4uml.fsf@gnu.org> <555F740D.4030304@cs.ucla.edu> <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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432388832 11751 80.91.229.3 (23 May 2015 13:47:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2015 13:47:12 +0000 (UTC) Cc: pot@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 23 15:47:04 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 1Yw9lV-0006P7-RQ for ged-emacs-devel@m.gmane.org; Sat, 23 May 2015 15:47:01 +0200 Original-Received: from localhost ([::1]:37729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw9lV-0006Qn-0t for ged-emacs-devel@m.gmane.org; Sat, 23 May 2015 09:47:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw9lF-00060m-LR for emacs-devel@gnu.org; Sat, 23 May 2015 09:46:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw9lC-0003Yt-31 for emacs-devel@gnu.org; Sat, 23 May 2015 09:46:45 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:32852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw9lB-0003YU-R5; Sat, 23 May 2015 09:46:42 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NOT003001XP4Q00@a-mtaout22.012.net.il>; Sat, 23 May 2015 16:46:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOT0026O29QA690@a-mtaout22.012.net.il>; Sat, 23 May 2015 16:46:38 +0300 (IDT) In-reply-to: <87k2vzsde4.fsf@igel.home> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:186768 Archived-At: > From: Andreas Schwab > Cc: pot@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org > Date: Sat, 23 May 2015 14:10:27 +0200 > > Eli Zaretskii writes: > > >> From: Andreas Schwab > >> Cc: pot@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org > >> Date: Sat, 23 May 2015 12:54:34 +0200 > >> > >> Eli Zaretskii writes: > >> > >> > Nonetheless, that's what etags attempts to compute. > >> > >> That's why it fails. > > > > It doesn't fail. > > In which way does it not fail? There was never a requirement for etags to compute precise byte positions for Emacs, mainly because source files get changed, and we don't want users to have to re-run etags upon every change. The function 'etags-goto-tag-location' will look around that position in a progressively-expanding window. You will also see there that the position in TAGS is interpreted as a character position, which already introduces inaccuracies. So etags is only required to produce approximately correct byte positions, and it does that well enough.