From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files Date: Tue, 07 Jun 2022 13:13:42 +0100 Message-ID: <877d5s658p.fsf@gmail.com> References: <87k09u26ls.fsf@gnus.org> <87k09t561m.fsf@gmail.com> <877d5sk7sj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33152"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , 55811@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 14:29:44 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 1nyYL9-0008Mb-AD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 14:29:43 +0200 Original-Received: from localhost ([::1]:53916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyYL8-0006RP-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 08:29:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyY51-0007k8-EM for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 08:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyY51-0005tE-3T for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 08:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyY4z-0005T2-Ty for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 08:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2022 12:13: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.165460395420974 (code B ref 55811); Tue, 07 Jun 2022 12:13:01 +0000 Original-Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 12:12:34 +0000 Original-Received: from localhost ([127.0.0.1]:38890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyY4Y-0005SD-Fl for submit@debbugs.gnu.org; Tue, 07 Jun 2022 08:12:34 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:55260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyY4T-0005Rx-Oa for 55811@debbugs.gnu.org; Tue, 07 Jun 2022 08:12:33 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id n185so9212569wmn.4 for <55811@debbugs.gnu.org>; Tue, 07 Jun 2022 05:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=hTl4GRKDnbPP/S0aTqFYRd7PZRpizF1QbNuOsqngO9A=; b=WncasemrKiTh6Q3eqTK7d5wiuggXk2LTRPlzo2armg2gEb2PPCDTR7w61HSdnD9H+r Pm5tlwm6HUq0J/dgn9tSYu8EkhYu13I8ntcK/9kCTMwE0jyt2RaxQppPOt0tMQyGZvIs 2oulDb0O3DVJsPJltU7OrLtnSwnOaG9lZm9yxTrYd6BFK+qABLavnrfZjltdnlanF/o3 1JPBjO4JnyWu1XxTnTLr8fkw2KAuGLiRXfr5UNG7neIRKV65P8Sr77RmIi3TQ4P6DC6I O9ntq2RUglJbljKMhUhtvQgrHJ0s3rDyQ0I5cGGoDsIhEXpqEcp0KGC75uXXFroeBQ0J SJuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=hTl4GRKDnbPP/S0aTqFYRd7PZRpizF1QbNuOsqngO9A=; b=2jxNB87ZrHBJSyD2IMefM0/hqEg8TrrMoGBSqdrPOLcEcWmAmuOgu1oeS6xv0OOUnT ObPIfOiX8xBvN7yiVRmv1XS/AN2dnhhnvtUp++2E72HytsU2NkTJ02xvHYruTUXSbFha wBGAynAJOEdM+DBCXJtqjEiHD1DGsB9xSZSv5TvfBMe3XhMxE/GU/c7SkpqHuhE33ahR Qi5sTzTYiQUOPPDyAJp6BbgFToy7LHNC3iSyJfFVlqoosV5IXL0mbDxGkeK5ID/KRPay P2Ia97CGzkXG11mIUqcp6+pGF6LxaTnWd+ji6JQFMstmN+Bg2BK9A7KMxVy8i+ThElA9 rSUw== X-Gm-Message-State: AOAM531SQhbbnIv06X9A9YkrZyNkGBlNOqT+qzuHKX4JgbmpzA9ZOhX0 HbncD9shde5EsnWGcnahNTxOCyS0pB0= X-Google-Smtp-Source: ABdhPJyUe7KHnMfJ+KJ0sAFTe1+CZtfpnb8aKOjVd3FZRwNduvw7d0yDThjJVH4ytUaQQCD9QHb76Q== X-Received: by 2002:a05:600c:a4c:b0:39c:34d0:fd25 with SMTP id c12-20020a05600c0a4c00b0039c34d0fd25mr26504723wmq.172.1654603943442; Tue, 07 Jun 2022 05:12:23 -0700 (PDT) Original-Received: from krug ([87.196.73.138]) by smtp.gmail.com with ESMTPSA id l13-20020a05600c4f0d00b0039c55bc2c97sm3625689wmq.16.2022.06.07.05.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 05:12:23 -0700 (PDT) In-Reply-To: <877d5sk7sj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Jun 2022 13:54:52 +0200") 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:233869 Archived-At: Lars Ingebrigtsen writes: > Stefan Monnier writes: > >> This bug-report is about the fact that there is no benefit to >> obeying `no-byte-compile` in flymake. > > Well, there are some. If you open, say, lisp/net/tramp-loaddefs.el, > you'll get a whole bunch of compilation errors, and you don't want to > see those, I think? They could be useful I guess. There are two cases to distinguish here (which is what I failed to clarify before). Perhaps Stefan is thinking of the second. 1. The file has this form: (require 'foo) =20=20=20=20=20=20=20 (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. 2. The file is identical but doesn't have the (require 'foo), then, I think Flymake will underline the first form, but carry on looking into other stuff. This is possibly helpful, according to one's own tolerance of signal-to-noise ratio. If some files in case 2 are still unbearably noisy for some, then I think there are existing ways to force Flymake off using buffer-local variables. =20=20=20 Jo=C3=A3o