GNU bug report logs - #77918
31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log*

Previous Next

Package: emacs;

Reported by: Roi Martin <jroi.martin <at> gmail.com>

Date: Sat, 19 Apr 2025 08:42:01 UTC

Severity: normal

Found in version 31.0.50

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roi Martin <jroi.martin <at> gmail.com>
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 77918 <at> debbugs.gnu.org
Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log*
Date: Thu, 24 Apr 2025 16:23:21 +0200
Andrea Corallo <acorallo <at> gnu.org> writes:

> Thanks it does to me.  Is it tested?

It seems to work fine on my machine.  This is the contents of
*Async-native-compile-log* after applying the patch:

  Compiling /home/n/src/emacs/lisp/icomplete.el...
  Compiling /home/n/src/emacs/lisp/emacs-lisp/subr-x.el...
  Compiling /home/n/src/emacs/lisp/progmodes/compile.el...
  Compiling /home/n/src/emacs/lisp/emacs-lisp/text-property-search.el...
  Compiling /home/n/src/emacs/lisp/comint.el...
  Compiling /home/n/src/emacs/lisp/ansi-osc.el...
  Compiling /home/n/src/emacs/lisp/ansi-color.el...
  Compiling /home/n/src/emacs/lisp/emacs-lisp/ring.el...
  Compiling /home/n/src/emacs/lisp/emacs-lisp/rx.el...
  Compiling /home/n/src/emacs/lisp/emacs-lisp/cl-lib.el...
  Compilation finished.
  Compiling /home/n/src/emacs/lisp/display-line-numbers.el...
  Compilation finished.

This is how one random temporary file looks like (I elided
native-comp-eln-load-path and load-path to shorten the output):

  ==> emacs-async-comp-time-date-5tSTnM.el <==
  ;;; -*- lexical-binding: t -*-
  (require 'comp)(setq comp-async-compilation t warning-fill-column most-positive-fixnum)(setq comp-file-preloaded-p 'nil native-comp-verbose '0 native-comp-eln-load-path '(...) load-path '(...) byte-compile-warnings 't)nil(message "Compiling %s..." "/home/n/src/emacs/lisp/calendar/time-date.el")(comp--native-compile "/home/n/src/emacs/lisp/calendar/time-date.el" t)

Also, eln files are created under 'eln-cache' in the init directory.

However, I did not run any additional test.  Is there any specific thing
you want me to check?




This bug report was last modified 76 days ago.

Previous Next


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