From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Flymake refactored Date: Fri, 06 Oct 2017 17:04:47 +0100 Message-ID: <87efqgz2hs.fsf@gmail.com> References: <87h8vmj3tr.fsf@lolita> <1507138648.1972.0@smtp.gmail.com> <874lre2von.fsf@gmail.com> <87mv566yjx.fsf@udel.edu> <87shex276r.fsf@gmail.com> <87efqh2sud.fsf@udel.edu> <20171006151753.tmdunffovz7olhey@logos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507309262 5215 195.159.176.226 (6 Oct 2017 17:01:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Oct 2017 17:01:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: emacs-devel@gnu.org, Simen =?utf-8?Q?Heggest=C3=B8yl?= , dgutov@yandex.ru, Steve Purcell , sdl.web@gmail.com, monnier@iro.umontreal.ca To: Mark Oteiza Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 06 19:00:53 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 1e0VzV-0008Iw-TO for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 19:00:50 +0200 Original-Received: from localhost ([::1]:46084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Vzd-0006OA-As for ged-emacs-devel@m.gmane.org; Fri, 06 Oct 2017 13:00:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0V7R-0000uc-RG for emacs-devel@gnu.org; Fri, 06 Oct 2017 12:05:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0V7L-0004qA-Vp for emacs-devel@gnu.org; Fri, 06 Oct 2017 12:04:57 -0400 Original-Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:50016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0V7L-0004pc-Oc for emacs-devel@gnu.org; Fri, 06 Oct 2017 12:04:51 -0400 Original-Received: by mail-wm0-x22e.google.com with SMTP id b189so8427356wmd.4 for ; Fri, 06 Oct 2017 09:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ttChg3+gKBkN8MN6d7z0OFrMRYEzJjvY6OchKZoDPM0=; b=GP6LqiWHpda309lAqF7ZGZh6L77E7KMLvKR25rB7HbsPHWPNt7kiIMuGZM+h0dm9HX FOCq/PzvGKvXyiqHn48IUFlwvcx9zHjKReh6KQSzxnJCHlygeixlYab25Ng5XU64sOjH RUh1LrjBhbLjFG/QMthojRg5TTLyURwg9/cdvwGOKa5V8k62pnDsbtJcBnU+fUi+IFmT KtJR9ZVlfFv0oUeMFbJ46gRa5jyA/7cgX7DxieXMx518zY/Dc29df/e13YKIeQTe/fIE FWT9tEdsaMMcJDBHHZ0AedkxX7Uj/nuQe2sEbtNv31T5qCWiBNfzrCxlItYcQSF8dO/Y PCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ttChg3+gKBkN8MN6d7z0OFrMRYEzJjvY6OchKZoDPM0=; b=LRlyG8vh6MgLainWqP74SdECt9/+c+qsxkDgrAH8UuUEV1TOAAB33/+5kUXrEM2mZz vl+cznaSDOIfDbvzOKwg8FHCreCR78QKgE7XFQODJG0+Id2mLi2ZoqdAfhP0rYBtNVSr OH1K4Ee1+sCiw4hOHA8kXD5Nkpt6xCrh4iSvbu+AS+9ilPBbAItFHMqUxQ/g88UnkNw8 Q7lKi0WXeNkTlrVhOIrM3fJjCWfcIuTCWRlU1NGzQi3iUKbE9qGgVhS9N2iFxLE/KjxB U8gyIAv5J4dQif/Pd/Qj9cXm3xIskYilXpflFyDdqAxArEGKlgdPBcI91zhevG0hl+Gm 1euA== X-Gm-Message-State: AMCzsaXuHCXVxlSpWGukOchfEQAGwPkg6Ks1G/+RPUxe7cqUUcVyjlZw oh51v95/qzVjUm43GlUwm4w= X-Google-Smtp-Source: AOwi7QARuGQac6vodOWr8issW0xRvE6jvje5C9wmYZNpyCE8v/g1Cc8yxOMFCh0sUUqLEg/oJ1RJCw== X-Received: by 10.28.159.16 with SMTP id i16mr2375483wme.27.1507305890709; Fri, 06 Oct 2017 09:04:50 -0700 (PDT) Original-Received: from lolita.yourcompany.com ([194.117.2.109]) by smtp.gmail.com with ESMTPSA id r2sm2821473wmb.38.2017.10.06.09.04.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Oct 2017 09:04:49 -0700 (PDT) In-Reply-To: <20171006151753.tmdunffovz7olhey@logos.localdomain> (Mark Oteiza's message of "Fri, 6 Oct 2017 11:17:53 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22e 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:219198 Archived-At: Mark Oteiza 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.