1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
emacs/test/lisp/progmodes
Rudolf Adamkovič cd0eb055fd Make Compilation mode recognize Lua errors
Emacs comes with built-in support for the Lua programming language in
the form of the Lua mode and now also the Lua Tree-sitter mode.  This
patch further improves Lua support in Emacs by making the Compilation
mode recognize Lua errors and stack traces.

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Add regexps to aid Lua development, namely the 'lua' regexp that
matches Lua errors and the 'lua-stack' regexp that matches Lua stack
frames.  (Bug#60830)
* etc/compilation.txt (Lua): Add an example of a Lua error message
with a stack trace.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data):
(compile-test-error-regexps): Test the new 'lua' and 'lua-stack'
regexps added to the 'compilation-error-regexp-alist-alist'.
2024-01-10 14:48:00 +01:00
..
c-ts-mode-resources Fix c-ts-mode bracketless indentation for BSD style (bug#66152) 2023-12-10 18:24:27 -08:00
cperl-mode-resources ;cperl-mode.el: Do not mistake a left-shift operator for a here-doc. 2023-10-14 18:22:11 +02:00
elisp-mode-resources
elixir-ts-mode-resources Fix treesit-langauge-at-point for elixir-ts-mode. 2023-09-26 23:23:54 -07:00
flymake-resources
go-ts-mode-resources Fix switch statement indentation for go-ts-mode (bug#61238) 2023-02-04 19:26:05 +01:00
heex-ts-mode-resources Add heex-ts-mode (Bug#61996) 2023-03-12 17:40:06 +02:00
java-ts-mode-resources Backport: Add more java indentation tests 2023-11-21 16:26:54 +02:00
js-resources Add indentation rules for bracketless statements in js-ts-mode 2023-12-12 03:13:12 +02:00
lua-ts-mode-resources Add font-lock tests for lua-ts-mode (bug#67605) 2023-12-09 10:57:22 +02:00
project-resources
ruby-mode-resources Merge from origin/emacs-29 2023-12-30 04:51:17 -05:00
sh-script-resources Fix indentation and fontification in shell-script (Bug#26217) 2023-10-14 11:00:15 -04:00
typescript-ts-mode-resources Fix typescript-ts-mode indentation for switch statements 2023-11-29 16:32:24 +02:00
xref-resources
asm-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
autoconf-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bat-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bug-reference-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
c-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cc-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
compile-tests.el Make Compilation mode recognize Lua errors 2024-01-10 14:48:00 +01:00
cperl-mode-tests.el ; cperl-mode-tests.el: Adapt to recent changes in cperl-mode.el 2024-01-09 19:14:56 +01:00
eglot-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
elisp-mode-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
elixir-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
etags-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
executable-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
f90-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
flymake-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
gdb-mi-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
glasses-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
go-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
grep-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
heex-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
hideshow-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
java-ts-mode-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
js-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lua-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
octave-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
opascal-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pascal-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
perl-mode-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
project-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ps-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
python-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ruby-mode-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ruby-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
scheme-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sh-script-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
sql-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
subword-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tcl-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
typescript-ts-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
which-func-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
xref-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00