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: Sun, 05 Jun 2022 19:09:17 -0400 Message-ID: References: <87k09u26ls.fsf@gnus.org> 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="34110"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , 55811@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 06 01:10:33 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 1nxzOD-0008kw-2s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jun 2022 01:10:33 +0200 Original-Received: from localhost ([::1]:43380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxzOB-000481-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jun 2022 19:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxzNi-00047s-9y for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 19:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxzNi-0003su-1P for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxzNh-0005th-Pk for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 19:10: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: Sun, 05 Jun 2022 23:10: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.165447057122627 (code B ref 55811); Sun, 05 Jun 2022 23:10:01 +0000 Original-Received: (at 55811) by debbugs.gnu.org; 5 Jun 2022 23:09:31 +0000 Original-Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxzNC-0005ss-W4 for submit@debbugs.gnu.org; Sun, 05 Jun 2022 19:09:31 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxzN8-0005sc-1a for 55811@debbugs.gnu.org; Sun, 05 Jun 2022 19:09:30 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 37D13808D4; Sun, 5 Jun 2022 19:09:20 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EA93980722; Sun, 5 Jun 2022 19:09:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654470558; bh=yuFwZksfPuxtc6lG0ukAYiOskQ/6FRl2v0cozEzCMCM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LSkYuzbzp0nC13pS7Fvp8jqVpPCXOwo9yk/lAJUJLgq8+3A1KPskbv9Eo8Zh63zz6 +0kb3mfADhb3sbWKEXlmczQqrK+BWEWD2s26ha1niqOecCZ4h3JhxES6mx/pcs7oAh TB+SPJ0qEpbh3/AB00dWA3g0m31cbrV6aOSkP24C+Qe8bLegWzpJK6lNJjZypDed3Y Wkx6Bjc2dgCdfATVbSiyBp6FxgzQYwBsy/2mKLbu33H2CyhqrbMlgTlbQKcYdv7ATA +e+K0K7Imzb98AcyFVlycQqZJse5TnUDn1Z5dlw10nM5Ng1Nn1t3sN70VDx8aVH8eV RWbVeflp44LRw== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7BDA1204BA; Sun, 5 Jun 2022 19:09:18 -0400 (EDT) In-Reply-To: <87k09u26ls.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 05 Jun 2022 22:33:19 +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:233756 Archived-At: > I stumbled onto a related thing earlier tonight -- I said `M-x > byte-compile-file RET RET' and then it did nothing -- because of the > no-byte-compile. > > I'm not sure whether I agree with that -- if I've explicitly asked Emacs > to do it, I think that should override the cookie. Or at least issue a > message of some sort. That's a slightly different case from mine: the `no-byte-compile` is often used either because the user really only ever wants to load the `.el` or because the compilation is known to fail (e.g. because it requires macros defined in a package that's not marked as a strict dependency, very common in tests). Generating a `.elc` file explicitly with `M-x byte-compile-file` could be a problem if subsequent "normal" use will fail to update that `.elc` because of the `no-byte-compile`. So, I think `byte-compile-file` should not silently override the `no-byte-compile`. It could prompt to choose between "really compile" and "compile but don't generate the .elc file". Stefan