[Top][All Lists]

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

Re: Flymake refactored

From: João Távora
Subject: Re: Flymake refactored
Date: Fri, 06 Oct 2017 17:04:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)

Mark Oteiza <address@hidden> writes:

> - some way (global variable?) to disable checkers.  I for one never want
>   checkdoc to run automatically

Are add/remove-hook enough?

    (add-hook 'emacs-lisp-mode
       (lambda () (remove-hook 'flymake-diagnostic-functions
                               'elisp-flymake-checkdoc t)))

(Perhaps checkdoc shouldn't be in the default, indeed)

> - fine control over when checks happen (again a global setting);
>   for instance, on-the-fly can be troublesome if checking is expensive.
>   flycheck uses a list: '(save idle-change new-line mode-enabled)

Global or per-checker? If global, you already have some:

* flymake-start-syntax-check-on-newline
* flymake-no-changes-timeout (set to nil to disable automatic idle-checking)
* flymake-start-syntax-check-on-find-file

The "on save" behaviour isn't very easy to configure yet.  The names
aren't brilliant, they're inherited from old Flymake.

> - popup a special buffer with all the error/warning/info listed

I really like that one too, and it seems easy enough to do, but we
should also think about the the next-error thingy.

reply via email to

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