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: Eli Zaretskii
Subject: Re: etags test is broken on MS-Windows
Date: Sat, 23 May 2015 16:46:39 +0300

> From: Andreas Schwab <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Sat, 23 May 2015 14:10:27 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> From: Andreas Schwab <address@hidden>
> >> Cc: address@hidden,  address@hidden,  address@hidden
> >> Date: Sat, 23 May 2015 12:54:34 +0200
> >> 
> >> Eli Zaretskii <address@hidden> writes:
> >> 
> >> > Nonetheless, that's what etags attempts to compute.
> >> 
> >> That's why it fails.
> >
> > It doesn't fail.
> 
> In which way does it not fail?

There was never a requirement for etags to compute precise byte
positions for Emacs, mainly because source files get changed, and we
don't want users to have to re-run etags upon every change.  The
function 'etags-goto-tag-location' will look around that position in a
progressively-expanding window.  You will also see there that the
position in TAGS is interpreted as a character position, which already
introduces inaccuracies.

So etags is only required to produce approximately correct byte
positions, and it does that well enough.



reply via email to

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