emacs/lisp/progmodes
Mattias Engdegård 653eab4788 Keep track of matching rules in compilation-mode
When matching messages in compilation-mode, keep track of the rule
employed for each match.  This facilitates debugging and allows us to
verify that each test case really exercises the rule that we expect it
to.

Naturally this uncovered several test cases that didn't check what the
author thought they did; the rules affixed to
compile-tests--test-regexps-data are those actually used, so that the
tests still pass.

* lisp/progmodes/compile.el (compilation--message): Add 'rule' slot.
(compilation-directory-properties, compilation-error-properties)
(compilation-internal-error-properties, compilation-parse-errors)
(compilation--compat-parse-errors): Set the rule slot.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data)
(compile-tests--grep-regexp-testcases)
(compile-tests--grep-regexp-tricky-testcases): Add rules to test cases.
(compile--test-error-line): Check that the rule matches what we expect.
(compile-test-grep-regexps): Adapt to test case format.
Remove now superfluous ert-info.
2020-10-19 13:00:14 +02:00
..
antlr-mode.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
asm-mode.el
autoconf.el Use lexical-binding in autoconf.el and add tests 2020-05-15 20:42:15 +02:00
bat-mode.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
bug-reference.el bug-reference auto-setup for IRC, implementation for ERC 2020-07-23 19:03:25 +02:00
cc-align.el Bug #41061 patch: Fix typos and amend code slightly 2020-06-01 15:21:54 +00:00
cc-awk.el
cc-bytecomp.el
cc-cmds.el Remove many items obsolete since Emacs 23.2 and 23.3 2020-08-24 04:09:47 +02:00
cc-defs.el CC Mode: Fix minor bugs in the string handling functions 2020-09-11 14:22:04 +00:00
cc-engine.el CC Mode: Move the handling of keyword auto into type handling for C++. 2020-10-08 16:49:49 +00:00
cc-fonts.el C++ Mode: Modernize the fontification of "using" 2020-09-20 19:57:05 +00:00
cc-guess.el
cc-langs.el CC Mode: Move the handling of keyword auto into type handling for C++. 2020-10-08 16:49:49 +00:00
cc-menus.el
cc-mode.el C++ Mode: handle __attribute__,etc. inside constructor argument lists 2020-09-12 16:37:56 +00:00
cc-styles.el CC Mode: Convert the handling of c-special-indent-hook to standard usage 2020-10-02 10:34:37 +00:00
cc-vars.el C++ Mode: handle __attribute__,etc. inside constructor argument lists 2020-09-12 16:37:56 +00:00
cfengine.el Shoosh warnings about obsolete eldoc-documentation-function 2020-07-08 20:20:19 +01:00
cl-font-lock.el Fix compilation warning in cl-font-lock 2020-09-12 15:10:36 +02:00
cmacexp.el
compile.el Keep track of matching rules in compilation-mode 2020-10-19 13:00:14 +02:00
cperl-mode.el cperl-mode: Delete a misleading comment, add tests for verification 2020-10-19 10:57:57 +02:00
cpp.el
cwarn.el
dcl-mode.el
ebnf-abn.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
ebnf-bnf.el
ebnf-dtd.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
ebnf-ebx.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
ebrowse.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
elisp-mode.el Make C-x C-e' work more like C-M-x' on defvar etc 2020-10-15 16:26:45 +02:00
etags.el ; Fix typos 2020-09-21 14:26:42 +02:00
executable.el Fix edge case errors in filename-matching regexps 2020-04-14 12:25:16 +02:00
f90.el Fix narrow-to-defun in f90-mode 2020-10-17 09:43:02 +02:00
flymake-cc.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
flymake-proc.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
flymake.el ; Fix typos 2020-09-21 14:26:42 +02:00
fortran.el
gdb-mi.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
glasses.el Use lexical-binding in glasses.el and add tests 2020-05-10 17:18:03 +02:00
grep.el * lisp/progmodes/grep.el: More fixes for 'lgrep' (bug#23590) 2020-10-14 11:45:26 +03:00
gud.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
hideif.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
hideshow.el Revert previous hideshow commit 2020-08-25 10:07:08 +02:00
icon.el
idlw-complete-structtag.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
idlw-help.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
idlw-shell.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
idlw-toolbar.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
idlwave.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
inf-lisp.el Use `format-prompt' when prompting with default values 2020-09-06 16:56:54 +02:00
js.el Fix filling in js-mode and mhtml-mode (js-mode parts), fixing bug #41897 2020-07-04 12:55:49 +00:00
ld-script.el * lisp/progmodes/ld-script.el: Use lexical-binding. 2020-10-18 02:27:29 +02:00
m4-mode.el
make-mode.el ; Fix typos 2020-09-21 14:26:42 +02:00
meta-mode.el
mixal-mode.el * lisp/progmodes/mixal-mode.el: Fix typos. 2020-10-18 00:57:29 +02:00
modula2.el
octave.el Use `format-prompt' when prompting with default values 2020-09-06 16:56:54 +02:00
opascal.el
pascal.el Fix spurious error in beginning-of-defun in pascal-mode (bug#41740) 2020-06-22 09:51:17 +02:00
perl-mode.el ; Fix more typos 2020-10-03 12:53:51 +02:00
prog-mode.el
project.el Fix undefined function in project-compile 2020-10-15 13:20:22 +02:00
prolog.el Partially revert previous prolog.el cleanup 2020-09-25 16:06:35 +02:00
ps-mode.el
python.el * lisp/progmodes/python.el: Teach f-strings to font-lock 2020-10-16 14:03:59 -04:00
ruby-mode.el ; Prefer https to http in many URLs 2020-10-01 15:28:15 +02:00
scheme.el Fix bugs, inefficiencies and bad style in regexps 2020-04-16 12:14:38 +02:00
sh-script.el Add "Old-" prefix to "Version" header in more cases 2020-10-18 20:35:26 +02:00
simula.el
sql.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
subword.el Comment to postpone deletion of c-subword-mode 2020-08-14 17:03:13 +02:00
tcl.el Use `format-prompt' when prompting with default values 2020-09-06 16:56:54 +02:00
vera-mode.el Use lexical-binding and remove compat code 2020-08-22 22:47:31 +02:00
verilog-mode.el ; Fix typos 2020-09-21 14:26:42 +02:00
vhdl-mode.el Remove many items obsolete since Emacs 23.2 and 23.3 2020-08-24 04:09:47 +02:00
which-func.el which-function-mode: put hook function on after-change-major-mode-hook 2020-05-20 18:02:13 +00:00
xref.el ; Add the necessary argument (bug#42967) 2020-08-27 11:33:52 +03:00
xscheme.el Remove many items obsolete since Emacs 23.2 and 23.3 2020-08-24 04:09:47 +02:00