From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: etags test is broken on MS-Windows Date: Fri, 22 May 2015 21:25:59 +0200 Message-ID: <87oalco1mg.fsf@igel.home> References: <83y4kmdjmj.fsf@gnu.org> <555A8E62.7060700@cs.ucla.edu> <83h9r8egen.fsf@gnu.org> <83pp5t6gex.fsf@gnu.org> <555E09AE.9070208@cs.ucla.edu> <83lhgh6fb2.fsf@gnu.org> <555E2C10.4010501@cs.ucla.edu> <83h9r5670s.fsf@gnu.org> <555E6A15.8010404@cs.ucla.edu> <831ti957wp.fsf@gnu.org> <83pp5s4uml.fsf@gnu.org> <555F740D.4030304@cs.ucla.edu> <837fs04egz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432322793 2505 80.91.229.3 (22 May 2015 19:26:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 May 2015 19:26:33 +0000 (UTC) Cc: pot@gnu.org, Paul Eggert , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 22 21:26:24 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 1YvsaL-0005Ac-C0 for ged-emacs-devel@m.gmane.org; Fri, 22 May 2015 21:26:21 +0200 Original-Received: from localhost ([::1]:35469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvsaK-0003bH-Kq for ged-emacs-devel@m.gmane.org; Fri, 22 May 2015 15:26:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvsa9-0003ay-Dj for emacs-devel@gnu.org; Fri, 22 May 2015 15:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvsa8-0002im-GV for emacs-devel@gnu.org; Fri, 22 May 2015 15:26:09 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:41925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvsa3-0002hG-Ck; Fri, 22 May 2015 15:26:03 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ltd8T2PB4z3hhW9; Fri, 22 May 2015 21:26:01 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3ltd8S6fVdzvh2N; Fri, 22 May 2015 21:26:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7oXlAuYwD5yr; Fri, 22 May 2015 21:26:00 +0200 (CEST) X-Auth-Info: ISE63jOtPDIwGCwum+Iy5M4DLfEfaII8QA47t/RNIRUW8ttfSuLgIEXdF+wlNgeR Original-Received: from igel.home (ppp-93-104-62-249.dynamic.mnet-online.de [93.104.62.249]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 22 May 2015 21:26:00 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id BBD402C1FE8; Fri, 22 May 2015 21:25:59 +0200 (CEST) X-Yow: I'm rated PG-34!! In-Reply-To: <837fs04egz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 May 2015 22:08:44 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.10 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:186739 Archived-At: Eli Zaretskii writes: > These byte counts are not file byte counts (if they were, then what > you suggest would have been TRT). They are buffer byte counts, > i.e. etags needs to compute the byte counts that Emacs will see when > the file is visited in an Emacs buffer. So each CRLF EOL needs to be > counted as 1 byte, not 2. What do you do about non-ASCII characters? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."