[Top][All Lists]

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

Re: etags test is broken on MS-Windows

From: Eli Zaretskii
Subject: Re: etags test is broken on MS-Windows
Date: Sat, 23 May 2015 09:40:47 +0300

> Date: Fri, 22 May 2015 14:26:27 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden, address@hidden
> On 05/22/2015 01:30 PM, Andreas Schwab wrote:
> >> then those will also be wrong after decoding non-ASCII characters,
> >> >unless the file was encoded in UTF-8 to begin with, right?
> > Yes, of course.  Emacs will have to cope.
> >
> Andreas is right, as usual.  TAGS should contain hard info about file 
> contents, not guesswork about what Emacs's internal encoding might be, 
> as the latter depends on user input.  If the input file is UTF-8 and 
> isn't munged by CRLF removal etc., file byte offsets should equal buffer 
> byte offsets.  If not, it's up to Emacs to map the hard info to its 
> internal representation.

I don't see how this is better than what we have already, but I don't
mind such a change.

reply via email to

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