bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files


From: Ship Mints
Subject: bug#55811: 29.0.50; No flymake diagnostics for no-byte-compile files
Date: Mon, 3 Feb 2025 15:57:17 -0500

Is it possible to get some traction on this patch?

TIA,

-Stephane

On Tue, Jan 21, 2025 at 8:16 PM Ship Mints <shipmints@gmail.com> wrote:
Sorry I wasn't clear. Joao's suggestion will not work.

elisp-flymake--batch-compile-for-flymake invokes byte-compile-file in a subprocess which loads the input file into a fresh buffer with reset buffer locals, negating the parent-process call-site patch's intention.

Disabling no-byte-compile has to happen in elisp-flymake--batch-compile-for-flymake to influence byte-compile-file. I've used a new defvar to let bind in the spirit of bytecomp--inhibit-lexical-cookie-warning.

I've attached a patch that works for me, along with an appropriate commit log message.

-Stephane

On Tue, Jan 21, 2025 at 5:07 PM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Would be great to adopt the simple flymake change in master,

Do I understand correctly that you tried it and it worked for you?


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]