[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags test is broken on MS-Windows

From: Paul Eggert
Subject: Re: etags test is broken on MS-Windows
Date: Fri, 22 May 2015 11:23:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 05/22/2015 06:19 AM, Eli Zaretskii wrote:
I'd go with removeing the different
>treatment of crlf on dos and unix.
I agree, but it sounds like Paul doesn't.

Yes and no. My understanding is that the code now works without glitches for files with a few stray CRLFs but has some glitches for files that consistently use CRLF, and that the change proposed in <http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00637.html> would introduce glitches in the former case while removing glitches in the latter. I'd rather not trade one bug for another. That is, if we're going to change this code at all, let's do it in a way that doesn't introduce glitches for the stray CRLF case.

One possible way to do that is suggested in the last paragraph of <http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00657.html>. This approach does remove the different treatment of CRLF on MS-Windows and Unix (as Francesco suggested); but it does so in a different way, by using the Unix convention everywhere, and it suggests an approach that should let Emacs do the right thing on both Unix and MS-Windows, without any glitches on either platform.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]