GNU bug report logs - #55811
29.0.50; No flymake diagnostics for no-byte-compile files

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 5 Jun 2022 20:24:02 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #38 received at 55811 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: João Távora <joaotavora <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 55811 <at> debbugs.gnu.org
Subject: Re: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile
 files
Date: Tue, 07 Jun 2022 09:46:35 -0400
> 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





This bug report was last modified 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.