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: Wed, 13 Sep 2023 07:55:30 -0700

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

> REPRODUCTION STEPS:
>
> 1. Write the following in some buffer:
>
> /usr/bin/lua: database.lua:31: assertion failed!
> stack traceback:
>       [C]: in function 'assert'
>       database.lua:31: in field 'statement'
>       database.lua:42: in field 'table'
>       database.lua:55: in field 'row'
>       database.lua:63: in field 'value'
>       database.lua:68: in main chunk
>       [C]: in ?
>
> 2. Enable the `compilation-mode'.
>
> EXPECTED:
>
> The Compilation mode recognizes the following as error loci:
>
> - database.lua:31: (twice)
> - database.lua:42:
> - database.lua:55:
> - database.lua:63:
> - database.lua:68:
>
> ACTUAL:
>
> The Compilation mode finds no error loci.
>
> NOTES:
>
> The source files can any extension, such as `fnl' for Fennel.

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?

See also:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58984#26





reply via email to

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