GNU bug report logs - #70068
[PATCH] Don't warn about lexical binding in lisp-interaction-mode

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Fri, 29 Mar 2024 11:33:02 UTC

Severity: normal

Tags: patch

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 70068 <at> debbugs.gnu.org
Subject: Re: bug#70068: [PATCH] Don't warn about lexical binding in
 lisp-interaction-mode
Date: Wed, 3 Apr 2024 21:07:19 +0200
3 apr. 2024 kl. 20.17 skrev Philip Kaludercic <philipk <at> posteo.net>:

> You are right, I made a mistake; What I want to say is this:

> -      (unless (local-variable-p 'lexical-binding)
> +      (when (or (not (local-variable-p 'lexical-binding))
> +                (null lexical-binding))

Are you sure that you didn't mean

    (unless (or (local-variable-p 'lexical-binding)
                lexical-binding)

a.k.a.

    (when (and (not (local-variable-p 'lexical-binding)
               (not lexical-binding))

which may or may not make more sense? But how would either of these work, given that flymake runs a byte-compilation in a spawned Emacs and, as far as I can tell, propagates neither the buffer mode nor the lexical-binding value to that process?





This bug report was last modified 1 year and 39 days ago.

Previous Next


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