emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect byte compiler error/warning message positions. A possible


From: Po Lu
Subject: Re: Incorrect byte compiler error/warning message positions. A possible fix.
Date: Mon, 15 Nov 2021 13:29:23 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> The byte compiler reports wrong source positions in its error and
>> warning messages; not every time, but perhaps most of the time.  There
>> are currently at least six open bugs for this problem, e.g. bug #22288.

> In my experience, the vast majority of the warning messages point to the
> correct position.  But, yes, it does sometimes give the wrong position.

I wouldn't say the "correct position", but somewhere close to the
correct position.

It could be, for example, a few lines above where it should actually be,
when giving diagnostics for unused lexical bindings.

But it is usually close enough for people to quickly locate and solve
the error.


reply via email to

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