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 07:47:24 -0400 Message-ID: References: <87k09u26ls.fsf@gnus.org> <87k09t561m.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="34180"; 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 14:10:28 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 1nyY2W-0008jl-Et for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 14:10:28 +0200 Original-Received: from localhost ([::1]:55368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyY2U-0004sR-VH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 08:10:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyXgo-0004k7-E7 for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 07:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyXgo-0000KF-5E for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 07:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyXgo-0002dE-2N for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 07:48:02 -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 11:48:02 +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.16546024589971 (code B ref 55811); Tue, 07 Jun 2022 11:48:02 +0000 Original-Received: (at 55811) by debbugs.gnu.org; 7 Jun 2022 11:47:38 +0000 Original-Received: from localhost ([127.0.0.1]:38818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyXgP-0002ai-SJ for submit@debbugs.gnu.org; Tue, 07 Jun 2022 07:47:38 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyXgK-0002U8-Un for 55811@debbugs.gnu.org; Tue, 07 Jun 2022 07:47:36 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 16F8F4426C5; Tue, 7 Jun 2022 07:47:27 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AC4334426C2; Tue, 7 Jun 2022 07:47:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654602445; bh=xKrQwsob7Ao8KZ4bU5cFneb48ROYpfTnSvbf+PPaIRg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bAofUtW6zsI0Zu3psrfAcn/0is+QRtmZICBeUV24luQ4ObcdWuYgXUfixxvIWd6Z5 apWK6g30UEoIAfbZpvP+U0iWiZ16k5d9HIMecIL5Bz5m+mTBMeJDU2yJCQdvwSM23g P1evfhw4jdsT5lRiw1Yl0uunu51W84FeMr4+jF/N0mFotu4nzyibjZ52wvEFfk+4hK spDLWaJUHpGK3/utMWe02XFa+oGmTTTZJx7Rb69smNpy6z/R1EJeokeWyC9YCtYyiM uwWO0UKCf9twIpJ1Y+LwspSDpBnvucD8bUrPRSJw6mvZVhfjvzxNQPeYi8jTESIQWf ZQ01MmK1UnBbg== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 725281204C5; Tue, 7 Jun 2022 07:47:25 -0400 (EDT) In-Reply-To: <87k09t561m.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 07 Jun 2022 07:41:41 +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:233863 Archived-At: > Of course you know this -- but just to clarify -- the byte-compilation > backend works by launching a Emacs -Q which is asked to byte-compile > only a file containing the current buffer's contents. During that > byte-compilation nothing more is loaded apart from what is preloaded or > explicitly loaded by the file at compile-time (via require or > eval-when/and-compile stuff). This bug-report is about the fact that there is no benefit to obeying `no-byte-compile` in flymake. Not about improving the way the sub-process reproduces a "good" initial state to compile the file (e.g. set up of `load-path` and whatnot). > Anyway, maybe you could give small example of such a file containing > such a cookie where you think Flymake's "I refuse to lint this" behavior > could be improved. A good example are all the files in the [EEV](http://elpa.gnu.org/packages/eev.html) package. Stefan