]> git.eshelyaron.com Git - emacs.git/commit
Obsolete Flymake's flymake-diagnostic-types-alist
authorJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 14:13:02 +0000 (15:13 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 14:22:16 +0000 (15:22 +0100)
commitfa794d1b603e52e2a80d69c5610b782904ee6a69
treee6dbf1d0ac1460488235e7785bf392caf472404c
parentaadac04923c9ae47f0bccc706857b94166c9d355
Obsolete Flymake's flymake-diagnostic-types-alist

That varaiable was an association between symbols and properties,
effecively duplicating symbol's property lists.  It is simpler to just
put properties on symbols.  Backward compatibility to the old variable
has been kept.

* doc/misc/flymake.texi (Flymake error types): Don't mention
flymake-diagnostic-types-alist.
(Flymake error types): Rework section.
(Backend functions): Refill a paragraph.
(Flymake utility functions): Don't mention
flymake-diagnostic-types-alist.
(Proc customization variables): Don't mention
flymake-diagnostic-types-alist.

* etc/NEWS: Mention obsoletion of flymake-diagnostic-types-alist.

* lisp/progmodes/flymake-proc.el
(flymake-proc--diagnostics-for-pattern): Don't use
flymake-diagnostic-types-alist.

* lisp/progmodes/flymake.el: Rewrite commentary.
(flymake-make-diagnostic, flymake-mode, flymake-goto-next-error)
(flymake-goto-prev-error): Don't mention
flymake-diagnostic-types-alist in docstring.
(flymake-diagnostic-types-alist): Make obsolete.
(:error, :warning, :note): Put flymake-category in these symbols.
(flymake-error, flymake-warning, flymake-note): Put
`flymake-bitmap', not `bitmap' in these symbols.
(flymake--lookup-type-property, flymake--highlight-line): Rewrite.
Honor flymake-diagnostic-types-alist for backward
compatibility.

* lisp/progmodes/python.el (python-flymake-msg-alist): Don't
mention flymake-diagnostic-types-alist.
doc/misc/flymake.texi
etc/NEWS
lisp/progmodes/flymake-proc.el
lisp/progmodes/flymake.el
lisp/progmodes/python.el