]> git.eshelyaron.com Git - emacs.git/commit
Misc. minor adjustments to Flymake
authorJoão Távora <joaotavora@gmail.com>
Thu, 5 Oct 2017 01:42:01 +0000 (02:42 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 5 Oct 2017 02:09:12 +0000 (03:09 +0100)
commit7a1133f1ff002943ce32b5a05a7261bba520288c
treedaf4c60e7cfe4502eb5fca4532589ae8efc41eb6
parent3d8df4d63604fd64c9feb3b43c4b9fa2fc487347
Misc. minor adjustments to Flymake

- Add a half-decent minor-mode menu;
- Fix "waiting for backends" mode line message;
- Adjust the flymake-diag-region API;
- Autoload the flymake-log macro;
- Auto-disable the legacy backend in more situations;
- Fix a couple of warnings in legacy backend.

* lisp/progmodes/flymake-proc.el
(flymake-proc--diagnostics-for-pattern): Use new
flymake-diag-region.

* lisp/progmodes/flymake-proc.el
(flymake-proc-legacy-flymake): Do error when no
buffer-file-name or not writable.
(flymake-proc-legacy-flymake)
(flymake-proc-simple-cleanup): Don't reference flymake-last-change-time

* lisp/progmodes/flymake.el (flymake-diag-region):
Autoload.  Take buffer as first argument.

* lisp/progmodes/flymake.el (flymake-switch-to-log-buffer):
New command.
(flymake-menu): Add a simple menu.
(flymake--mode-line-format): Use menu.  Fix message.  Switch to
log buffer when clicking exceptional warnings.
lisp/progmodes/flymake-proc.el
lisp/progmodes/flymake.el