1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/test/lisp/progmodes
João Távora 0ff82eb487 Flymake: more ambitious cleanup in flymake-mode (bug#69809)
Further improve flymake-mode idempotency by not nuke existing overlays.
This means multiple flymake-mode invocations do the same as just one
one, with minimal or no additional side effects.  This is good for
people with lots of 'flymake-mode' in hooks.

The foreign diagnostic importation has been refactored into a separate
function and moved to the "really start" section of 'flymake-start'.
The duplication problem appears to be avoided by some heuristics in
flymake-highlight-line.

A new test has been added.

* lisp/progmodes/flymake.el (flymake--import-foreign-diagnostics): New helper
  (flymake-start): Use it.
  (flymake-mode): Don't nuke overlays here.

* test/lisp/progmodes/flymake-tests.el (foreign-diagnostics): New
  test.
2025-01-14 17:47:17 +00:00
..
c-ts-mode-resources Fix c-ts-mode indentation (bug#75442) 2025-01-12 22:23:36 -08:00
cperl-mode-resources ; Fix typos 2024-06-23 16:40:06 +02:00
csharp-mode-resources Fix last change 2024-04-25 18:59:25 +03:00
elisp-mode-resources
elixir-ts-mode-resources ; Fix typos 2024-01-28 17:11:51 +01:00
flymake-resources Send useless output in flymake-tests to /dev/null (bug#70716) 2024-08-28 19:47:40 +02:00
go-ts-mode-resources Add font-locking for variables in go-ts-mode range clauses (bug#71209) 2024-06-01 17:47:57 +03:00
heex-ts-mode-resources Add expression handling to heex-ts-mode 2025-01-03 09:41:15 +01:00
java-ts-mode-resources java-ts-mode: Indentation for opening brace on a separate line 2024-02-17 22:35:16 +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 Improve comment indenting in 'lua-ts-mode' 2024-11-14 10:14:46 +02:00
project-resources
ruby-mode-resources Support the new option in ruby-ts-mode too 2024-09-02 21:57:35 +03:00
rust-ts-mode-resources Rust ts: fontify as type the possible suffix of number literals 2024-11-23 14:56:38 +02:00
sh-script-resources Make sh-script-tests.el more robust 2024-04-05 19:43:56 +02:00
typescript-ts-mode-resources Improve one test (bug#71998) 2024-07-21 14:55:06 +02:00
xref-resources
asm-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
autoconf-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bat-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bug-reference-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
c-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
compile-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cperl-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
csharp-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eglot-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
elisp-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
elixir-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
etags-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
executable-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
f90-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-tests.el Flymake: more ambitious cleanup in flymake-mode (bug#69809) 2025-01-14 17:47:17 +00:00
gdb-mi-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
glasses-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
go-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
grep-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
heex-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hideshow-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
java-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
js-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lua-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
octave-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
opascal-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pascal-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
peg-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
perl-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
project-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ps-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
python-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ruby-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ruby-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rust-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
scheme-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sh-script-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sql-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subword-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcl-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
typescript-ts-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
which-func-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xref-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00