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: Thu, 21 May 2015 15:16:01 +0200 Message-ID: References: <83y4kmdjmj.fsf@gnu.org> <555A8E62.7060700@cs.ucla.edu> <83h9r8egen.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432214206 3519 80.91.229.3 (21 May 2015 13:16:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 13:16:46 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 15:16:36 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 1YvQKx-0003Np-8N for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 15:16:35 +0200 Original-Received: from localhost ([::1]:57628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvQKr-0000nr-Fk for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 09:16:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvQKc-0000nV-8m for emacs-devel@gnu.org; Thu, 21 May 2015 09:16:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvQKX-0005jo-UQ for emacs-devel@gnu.org; Thu, 21 May 2015 09:16:14 -0400 Original-Received: from blade3.isti.cnr.it ([194.119.192.19]:16826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvQKS-0005il-9Y; Thu, 21 May 2015 09:16:04 -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 <01PM8ODENZTSLZNNMY@mx.isti.cnr.it>; Thu, 21 May 2015 15:16:01 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.85) (envelope-from ) id 1YvQKP-0004qy-KV; Thu, 21 May 2015 15:16:01 +0200 In-reply-to: <83h9r8egen.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.19 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:186698 Archived-At: >> Without that patch, the tests failed on my GNU/Linux host due to encoding >> problems. See attached file > >I don't think it's due to encoding problem. (AFAIK, etags doesn't >regard its input as characters, but as a stream of bytes.) Ye, etags has no notion of character sets. >I think it's due to DOS CR-LF EOL format of some files in the test >suite. For example, the first file whose tags were different in your >testing is dostorture.c, which has DOS EOLs, the second file, c.C, has >a lone ^M character at the end of one of its lines, and so on. > >Could you please verify that this is indeed the source of the problem? Those files were put there to test the behaviour of etags with different EOL styles. However, few tests were in fact done for etags running on DOS systems, so in fact there may be undetected regressions on etags for DOS. About utf-8, etags' behaviour should be independent of locale...