[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Flymake rewrite in emacs-26

From: João Távora
Subject: New Flymake rewrite in emacs-26
Date: Tue, 03 Oct 2017 15:05:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)


As discussed, I have just merged the Flymake rewrite into emacs-26. I
did this sooner than I expected so people can give it as much testing as

`flymake-mode' is not active by default, so when writing Elisp, I
encourage you to try out the new backends. Just M-x flymake-mode or

  (add-to-list 'emacs-lisp-mode-hook 'flymake-mode).

Of course if you were already using Flymake for C, C++, etc. Everything
should also still work (slightly better, in fact). Let me know if it

Some things worth noting:

* There are two older commits in emacs-26 that must be merged to master
  after all, otherwise the merge-back of this feature won't work.

  This is because there was a reversion of the decision to bring this
  feature to emacs-26 (see
  the reversion

  The two commits are

  ce540f8a68..: João Távora 2017-09-27 Revert "Split flymake.el into 
flymake-proc.el and flymake-ui.el"
  7cf59c6635..: João Távora 2017-09-27 Revert "Add flymake-backends defcustom"

* The most important docstrings are in place, but the Texinfo
  documentation (which I also rewrote considerably) is missing the bits
  about the new API for writing backends.

  Ideally, I would like some feedback on it (besides Stefan, of
  course). Please see the docstrings of `flymake-diagnostic-functions'
  and `flymake-diagnostic-types-alist'.

  Even more ideally, someone would write a nicer backend for Emacs's C
  sources (the current "legacy" one requires Makefiles to contain a
  "syntax-check" target, which isn't practical, I presume)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]