bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua erro


From: Stefan Kangas
Subject: bug#60830: 30.0.50; The *Compilation* buffer does not recognize Lua errors
Date: Mon, 2 Oct 2023 11:37:37 -0700

Rudolf Adamkovič <salutis@me.com> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> This breaks because it doesn't follow the GNU standard's
>>
>>       [PROGRAM:]FILE:LINE: MESSAGE
>>
>> Any chance we could get the lua developers to follow that format,
>> instead?
>
> Thank you for the reply, Stefan.
>
> So, we seem to have 2 problems here:
>
> (1) the first line contains a space character after the 'PROGRAM:'
> segment, which Lua developers might be willing to change perhaps,
>
> and
>
> (2) the stack trace lines are indented, which I doubt Lua developers
> would want to change.
>
> Would it make sense to ask Lua developers about fixing (1) only, or
> would fixing (2) in Emacs also "magically" fix (1), if Emacs has to
> handle Lua specifically anyway?

AFAICT, all that is needed is to fix the formatting you describe in (1).
That will give the desired behavior.

Regarding (2), I think compilation-mode already detects those as file
locations, with no changes.  At least it does on current master.





reply via email to

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