emacs-devel
[Top][All Lists]
Advanced

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

Re: etags test is broken on MS-Windows


From: Andreas Schwab
Subject: Re: etags test is broken on MS-Windows
Date: Fri, 22 May 2015 21:41:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Andreas Schwab <address@hidden>
>> Cc: Paul Eggert <address@hidden>,  address@hidden,  address@hidden
>> Date: Fri, 22 May 2015 21:25:59 +0200
>> 
>> Eli Zaretskii <address@hidden> 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?
>
> Etags counts bytes, not characters, so it doesn't matter.

See above.  How does etags know how many bytes the characters will count
in an Emacs buffer?

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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