From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Date: Tue, 07 Jun 2022 09:46:35 -0400 Message-ID: References: <87k09u26ls.fsf@gnus.org> <87k09t561m.fsf@gmail.com> <877d5sk7sj.fsf@gnus.org> <877d5s658p.fsf@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 55811@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 15:49:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nyZaM-0001gW-Hd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 15:49:30 +0200 Original-Received: from localhost ([::1]:42382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyZaL-0003a5-Cx for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 09:49:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyZXz-00024B-1v for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 09:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyZXx-0003Zx-UA for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 09:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyZXx-0001MX-RP for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 09:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2022 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55811 X-GNU-PR-Package: emacs Original-Received: via spool by 55811-submit@debbugs.gnu.org id=B55811.16546096074488 (code B ref 55811); Tue, 07 Jun 2022 13:47:01 +0000 Original-Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 13:46:47 +0000 Original-Received: from localhost ([127.0.0.1]:39035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyZXj-0001A8-8l for submit@debbugs.gnu.org; Tue, 07 Jun 2022 09:46:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyZXg-00013M-PQ for 55811@debbugs.gnu.org; Tue, 07 Jun 2022 09:46:45 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EBCB64426DE; Tue, 7 Jun 2022 09:46:38 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AE2D9442673; Tue, 7 Jun 2022 09:46:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654609597; bh=ssCL7fhV3EAu0EeBziS+j2dSZoTVLR7xvFdmo3QdeS0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ctdr+rCyDo7Y3FgQ02HYN+JGWB3cs9Q8tbk+kDdskRkuNVUAiWCMo9yhoz+5+8eAk 4/gxSLsQt1tJKae2xY8lbdx604LXGmOpGMskGO2fBFXEv+WxsZqIa26vf9rkOAzUSO ebkhZctxOmAd9bKyXpyIVgoj2gTp7uuuQ9cm8pp/7GCCllz0GJRCtGmLFF2CgxPeGn QZoJR06OV4m46vOfXFZpNf8O245H8TisOy4/kb7WgLSQz0zJp672yDEHzuCWeBRwjN QqfCe8OgTuG85NZo9TmnbgrIBt7Qj3ar1zLAbJP5HKN7mYnkp0IroGrwJmiRqMlRyW IeaMhtrzyyOUg== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 841CA120204; Tue, 7 Jun 2022 09:46:37 -0400 (EDT) In-Reply-To: <877d5s658p.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 07 Jun 2022 13:13:42 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233891 Archived-At: > 1. The file has this form: > > (require 'foo) > > (fooey-macro (some-shady-stuff-the-byte-comp-could-look-into)) > > (some-more-shady-stuff) > > ;; Local Variables: > ;; no-byte-compile: t > ;; End: > > and the reason for adding the no-byte-compile cookie is that foo.el > can't be found at compile-time. Then I think there is little reason > to activate Flymake there. That's because Flymake will halt at the > (require 'foo) and not look into the rest of the file. BTW, while there is little benefit to having flymake run the byte-compiler here, there is similarly little harm. And the user may then decide to install `foo` to get the rest of the file properly checked. Stefan