From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.devel Subject: Re: New Flymake rewrite in emacs-26 Date: Wed, 04 Oct 2017 15:41:28 +0200 Organization: Nautilus Entertainments Message-ID: <87poa39gjb.fsf@metapensiero.it> References: <8760bwz5qf.fsf@gmail.com> <83infw1dkz.fsf@gnu.org> <87tvzf9lbg.fsf@metapensiero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1507124513 32275 195.159.176.226 (4 Oct 2017 13:41:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2017 13:41:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 04 15:41:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzjvn-0007dy-VR for ged-emacs-devel@m.gmane.org; Wed, 04 Oct 2017 15:41:48 +0200 Original-Received: from localhost ([::1]:35280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzjvv-0003ls-9n for ged-emacs-devel@m.gmane.org; Wed, 04 Oct 2017 09:41:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzjvm-0003lR-3l for emacs-devel@gnu.org; Wed, 04 Oct 2017 09:41:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzjvh-0000AC-4i for emacs-devel@gnu.org; Wed, 04 Oct 2017 09:41:46 -0400 Original-Received: from [195.159.176.226] (port=42331 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzjvg-00006v-Ss for emacs-devel@gnu.org; Wed, 04 Oct 2017 09:41:41 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dzjvT-0005pW-C6 for emacs-devel@gnu.org; Wed, 04 Oct 2017 15:41:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:CWNRyzSAWJ//UhWxX7Vg1IK2Pm4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219074 Archived-At: Will make a proper bug report with a patch, if you prefer. diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 5dd72f81e2..18d9d05e62 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi @@ -182,7 +182,7 @@ Syntax check statuses @cindex Syntax check statuses After syntax check is finished, its status is displayed in the mode line. -The following statuses are defined. +The following statuses are defined: @multitable @columnfractions 0.25 0.75 @item @code{Wait} @@ -356,7 +356,7 @@ Adding support for a new syntax check tool @code{init-function} is required to initialize the syntax check, usually by creating a temporary copy of the buffer contents. The function must return @code{(list cmd-name arg-list)}. If -@code{init-function} returns null, syntax check is aborted, by +@code{init-function} returns null, syntax check is aborted, but @code{flymake-mode} is not switched off. @item cleanup-function diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 0b28dc31cf..1e959d884c 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -335,7 +335,7 @@ flymake-diagnostic-functions * the remaining arguments are keyword-value pairs in the form (:KEY VALUE :KEY2 VALUE2...). Currently, Flymake provides no such arguments, but backend functions must be prepared to - accept to accept and possibly ignore any number of them. + accept and possibly ignore any number of them. Backend functions are expected to initiate the buffer check, but aren't required to complete it check before exiting: if the ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.