From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Roi Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Apr 2025 08:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 77918@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174505211824042 (code B ref -1); Sat, 19 Apr 2025 08:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2025 08:41:58 +0000 Received: from localhost ([127.0.0.1]:57543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u63lt-0006Fh-F1 for submit@debbugs.gnu.org; Sat, 19 Apr 2025 04:41:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40646) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u63lp-0006Ex-7b for submit@debbugs.gnu.org; Sat, 19 Apr 2025 04:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u63li-0001aT-8p for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2025 04:41:46 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u63lf-0005T8-4T for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2025 04:41:45 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43cf05f0c3eso18213405e9.0 for ; Sat, 19 Apr 2025 01:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745052101; x=1745656901; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=e4MGzhRJG5MiIiIu3kYz5Gk5YKOsYOTK10NXV6UQnGM=; b=gRp9wXQvXFcXEgh1T0RBkTj2QdnGqP1SDEVA5bFdKutdkKTS74myJajoGgDcI8ChlM CyZBGXLAElBFY2duQ9rRYlDuDg9oTBp5/En2SJkGtSA+y5e88L6o2aNa+24lStQMuyuq 39BqP7RBok55yxNr3NZzDCtgsnwUBQajNgFgqrkeMXropotyuwmWDgSjDdwZz8EoX00p GZ8E9iSXJXI3YhK6kuPMHEPDg6TotblpgoBETvROggzFMiaSGPAjlKZHbGDqA/jKuX7K yfQwfwwvxOF7sO3/UuMRSMjbUrKy2Y5q28K6ZDu7MpTIjNlniXdjxrVYQ2Eo6Ht6tr2a EVGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745052101; x=1745656901; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e4MGzhRJG5MiIiIu3kYz5Gk5YKOsYOTK10NXV6UQnGM=; b=fl0tQ7lKcWL/dxNPzxFMFw6CP328gnDVQ7IK4tbxIqK2VWIh7oTR3lG4zqYyX+kDxd vHgqiccFXLmlDPsqgBEleZqr+XbRVmPfeiyNMU0KOXejKPdn8qtdT1fQuFP61ZiWvK/R zF0uzXSp+nsi3Gw7vcWQzxjwjicb4acdd9SqjOwa7W3oFGjTVxgg/mUK9ApiiyHrArOZ PODXtzZ3CAcnbCBqpPRiH+ifTGIp7FeovsjqydLVk9cs46qywG7lvFqYG5iUHS008x1Q whtVfMW9Rn2JQtbLn06nFsojgmEHK7skUgwCl9otfZeHEflLMpqJ0m7ZuJtLfWVpA42i HOww== X-Gm-Message-State: AOJu0YxnpOQUXjycjvntt/v02PQ5yvsyC5mGFN7Yo8+4JTxjfVpHnuXm yZXRSk1JaK6oY2IOKbWd1p64SgLpKJ6pKoGkr5z/KB2DD9vGPE7FCP+uNw== X-Gm-Gg: ASbGncv7bv0IN2kEe+5Lv4oXNW+jTONcskXnJTBvQd7pw9THq2OBEsqU0JxZedmyhAW pRZQSH5MDV7WRvL2G7OrHSYvnpF1wDWCWCXz4BLYegZyMonQT+67XgAaxae6RNM2UAf9K6LwpjR dNWbyU4R2DyHZ6t9pdfYP0bWnpSW1sijq0xDkMM0kF1pUwClS22Q1yXB4NIgy4Q9udEuWkNrBXA Ep5kr06jL0UZKURpKJpT0fH7VYTv+gxYhgQb0/7KPCyZo3NPEmUXbAZEsYlDcu1rkZ6f9ffv3q3 G1z11xTcu0AjY0nc53ZKtnopyRpVkmgfRUSZFMs= X-Google-Smtp-Source: AGHT+IEz0ru5wzUecOEW0mEEfVn9HJUSvYqjoAwOBGhE8GP5vkpStEf4xEzVc9Q0i53QwaQ17mq1FA== X-Received: by 2002:a05:600c:35c9:b0:43d:fa59:cc8f with SMTP id 5b1f17b1804b1-4406ac412f2mr36807515e9.33.1745052100591; Sat, 19 Apr 2025 01:41:40 -0700 (PDT) Received: from localhost ([84.79.205.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39efa43cb43sm5204279f8f.53.2025.04.19.01.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Apr 2025 01:41:40 -0700 (PDT) From: Roi Martin Date: Sat, 19 Apr 2025 10:41:35 +0200 Message-ID: <8734e4k0g0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=jroi.martin@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Several warnings about missing 'lexical-binding' cookie show up in *Async-native-compile-log*. They seem to show up when a feature that has not been compiled yet is used and needs to be compiled. The issue is reproducible by just running 'emacs -Q'. You can find some of the warnings below. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-dired-aux-xXuqdt.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/dired-aux.el... Compilation finished. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-shell-rZsYYK.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/shell.el... Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-pcomplete-lO4nJm.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/pcomplete.el... Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-files-x-oLXnPa.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/files-x.el... Compilation finished. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-rfc2047-XugClb.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/mail/rfc2047.el... Compilation finished. What follows is one of the .el files that produced the warning (emacs-async-comp-icomplete-tWY9i1.el). Note that I elided the native-comp-eln-load-path and load-path values to shorten the report. (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/icomplete.el")(comp--native-compile "/home/n/src/emacs/lisp/icomplete.el" t) In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-04-19 built on wopr Repository revision: 9ea9c5a73e004903ca1c6e15cf5797458315ad9a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12401006 System Description: Fedora Linux 41 (Workstation Edition) Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3 ZLIB Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: elisp-compile Minor modes in effect: icomplete-mode: t fido-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils display-line-numbers files-x shell pcomplete compile text-property-search comint subr-x ansi-osc ansi-color ring dired-aux dired dired-loaddefs comp-run bytecomp byte-compile comp-common rx icomplete cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 171289 28956) (symbols 48 7497 4) (strings 32 26333 2931) (string-bytes 1 757901) (vectors 16 14367) (vector-slots 8 182883 43794) (floats 8 35 1262) (intervals 56 5930 1736) (buffers 992 16)) From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Apr 2025 11:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Roi Martin , Andrea Corallo Cc: 77918@debbugs.gnu.org Received: via spool by 77918-submit@debbugs.gnu.org id=B77918.174506317227203 (code B ref 77918); Sat, 19 Apr 2025 11:47:02 +0000 Received: (at 77918) by debbugs.gnu.org; 19 Apr 2025 11:46:12 +0000 Received: from localhost ([127.0.0.1]:59109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u66eB-00074f-AU for submit@debbugs.gnu.org; Sat, 19 Apr 2025 07:46:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47310) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u66e5-00072Z-1O for 77918@debbugs.gnu.org; Sat, 19 Apr 2025 07:46:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u66dz-0007ip-Ji; Sat, 19 Apr 2025 07:45:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TnRTOhkV2KOo5yF62goy401mfppk+6VA10q0+QWfqHI=; b=Mx8gHKb0arYxGAj56U3I evCWDKqsgVDybICp0R48OxXofFZFBEVclqvx4mZmUJYoxyP0q1nAX/22vo5LDoGnoyVH8q5QLTYVt FayAWqjNLkfd2kFwNGtGjiQ/XgQyEXrv6ItBOjEXaGLOGRy9XdFZUNMOGMr3zhMrEUWpEb1iifo4U DwgnhsMoX0vjTqO42S/5Sv9Dkr7vfrRsz3dBjloKSNa2i+7v85gjMOtmxTOWK+f0Oq2ENRROqM9Ke JwhMuVhWxqVpUAmodP08JgPK+Wm+t4Z7fIKBheVzOKeMYGoiCPqZuro022HPiQHTh7DnuNR9JNX6w Fcdh4ftwv7gqdg==; Date: Sat, 19 Apr 2025 14:45:56 +0300 Message-Id: <864iyk9xxn.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <8734e4k0g0.fsf@gmail.com> (message from Roi Martin on Sat, 19 Apr 2025 10:41:35 +0200) References: <8734e4k0g0.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Roi Martin > Date: Sat, 19 Apr 2025 10:41:35 +0200 > > > Several warnings about missing 'lexical-binding' cookie show up in > *Async-native-compile-log*. They seem to show up when a feature that > has not been compiled yet is used and needs to be compiled. The issue > is reproducible by just running 'emacs -Q'. You can find some of the > warnings below. > > Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-dired-aux-xXuqdt.el". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ > for more information. > Compiling /home/n/src/emacs/lisp/dired-aux.el... > Compilation finished. > Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-shell-rZsYYK.el". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ > for more information. > Compiling /home/n/src/emacs/lisp/shell.el... > Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-pcomplete-lO4nJm.el". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ > for more information. > Compiling /home/n/src/emacs/lisp/pcomplete.el... > Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-files-x-oLXnPa.el". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ > for more information. > Compiling /home/n/src/emacs/lisp/files-x.el... > Compilation finished. > Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-rfc2047-XugClb.el". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ > for more information. > Compiling /home/n/src/emacs/lisp/mail/rfc2047.el... > Compilation finished. > > What follows is one of the .el files that produced the warning > (emacs-async-comp-icomplete-tWY9i1.el). Note that I elided the > native-comp-eln-load-path and load-path values to shorten the report. > > (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/icomplete.el")(comp--native-compile "/home/n/src/emacs/lisp/icomplete.el" t) Andrea, what would you suggest as the solution for these warnings? (This was already reported as part of the discussion on emacs-devel, but we never finalized the solution for this aspect.) From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Roi Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Apr 2025 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Andrea Corallo Cc: 77918@debbugs.gnu.org Received: via spool by 77918-submit@debbugs.gnu.org id=B77918.174506370029903 (code B ref 77918); Sat, 19 Apr 2025 11:55:01 +0000 Received: (at 77918) by debbugs.gnu.org; 19 Apr 2025 11:55:00 +0000 Received: from localhost ([127.0.0.1]:59208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u66mi-0007mD-7l for submit@debbugs.gnu.org; Sat, 19 Apr 2025 07:55:00 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:50423) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u66md-0007lg-JC for 77918@debbugs.gnu.org; Sat, 19 Apr 2025 07:54:58 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-39c31e4c3e5so1776319f8f.0 for <77918@debbugs.gnu.org>; Sat, 19 Apr 2025 04:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745063689; x=1745668489; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=PZ6yuYgI8OXsl8WC2CoJAQxt4RCJkfXV2wZRilx1NsI=; b=TrlnCdsDSYYMQB5dmx/ppTB+yhfoNmKoAgwB1Mf8pHxwbZBUpffcTpBX3+DKty1Vuq yQVGQZsrAimiWEIvdOkaXPDMLSCyHaSEEEdDNN53QVaQQWT//5oJp2FWoBGpPW2kz0XL 1yevI3aS9fp05jyb81RrYhCAcgEH1vuA6/MOb/9Qz68UKOTQt07+s6nBvCMzcrrYtMQw 1LlslYQO2Wo7u69M96uhzzrstq9hjZSkapySpxGOf1WiuWBn/BeErym6Wr/T3ctilivD CJXHKTuzJKRTODmukpn+VPIpAhTC44cWkSjSHi/L6tfuVeSNpDm7+YOwDgGOK6SKim+0 QkgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745063689; x=1745668489; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PZ6yuYgI8OXsl8WC2CoJAQxt4RCJkfXV2wZRilx1NsI=; b=fTy9G2Q+i/aaGoU5UcRaZ1qhgEn4D2UcJ5yzCSyF5XL1TYNJh87AEp0g6r9cq54D6i J3+3S3KReG4wFDlltBBBpchYYgXbpLaDghKAusO4+TMtupp8C1u6Brp0UJFCQa5LQi5t T8lCMQ6SqtTY6BYFt5vmnD6nlwgTKsaoZYszMH5Jc7FoOF7gSiqotVTLPeMnzfrxwlrW Scaen/Q1qy26Vdf6sd2QNo8WUDwC3djty+g6kS+VQxIifik8bH/qDMzWkEPd3EUDKhVi mQjWP5d/brxnLJTgRaI8nHpmUjluq0Ao4fJmK55E0WxtHkizqyKNFqn5mfGDdm5cQ1m1 eUGw== X-Gm-Message-State: AOJu0Yx9RLqXv726z3Nx95hHuGrk/c5ue4K2K5fCwYi6UpigqM8WY5wX lhjy1VVBdFg+QeBzTrm3kWQH/zFsX9S72n3np51cFK+pRV579csS X-Gm-Gg: ASbGnctFt3xHxahPHXO5pB9+cQj9sRV+cHM2Hcj9/xIzE8Boi/PssN0HJUnu8vnjDSl Hv5eTRP6haA/2509oa78nMpsuAWYuOSdPEMyW+ybq6wH1pwAfTFb04gP8V751a8hYvlg/pE5EOD /ice/C+FrZIY1AsyoR38mCfBfsWveuxuvF3sTNHnZ4JD2VBUm5VTLrTNTFcZ7AyeyRqcp9sJQE7 5fXUnXOIzhSwiBiPcGJ616F2RWMPYvlo/Sb4ALEr3CBmo8FsuKp5/ReulC7oNS8VXjQNVuUSVMU aY3Oc+JRNbZ87BbadnGrErUsAkRjRutVSjcxuYc= X-Google-Smtp-Source: AGHT+IEf8M76h/Z3BNndS91U3qraO6kEVyYaWjdmdc1Oh8TkngdOlsE7bx5XUS4QIB1trhcySk7Djg== X-Received: by 2002:a05:6000:1acb:b0:391:47d8:de3d with SMTP id ffacd0b85a97d-39efba52d7dmr4399081f8f.16.1745063689144; Sat, 19 Apr 2025 04:54:49 -0700 (PDT) Received: from localhost ([84.79.205.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39efa493115sm5573777f8f.78.2025.04.19.04.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Apr 2025 04:54:48 -0700 (PDT) From: Roi Martin In-Reply-To: <864iyk9xxn.fsf@gnu.org> References: <8734e4k0g0.fsf@gmail.com> <864iyk9xxn.fsf@gnu.org> Date: Sat, 19 Apr 2025 13:54:47 +0200 Message-ID: <87zfgcicxk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Andrea, what would you suggest as the solution for these warnings? > > (This was already reported as part of the discussion on emacs-devel, > but we never finalized the solution for this aspect.) I attached a possible fix. Does it make sense? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-missing-lexical-binding-cookie-warning-on-async-.patch >From 56319638dd5d6e6ddc628346320260e5214d3a26 Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Sat, 19 Apr 2025 13:50:52 +0200 Subject: [PATCH] ; Fix missing lexical-binding cookie warning on async compilation (bug#77918) * lisp/emacs-lisp/comp-run.el (comp--run-async-workers): Fix missing lexical-binding cookie warning on async compilation. --- lisp/emacs-lisp/comp-run.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/comp-run.el b/lisp/emacs-lisp/comp-run.el index 061f1767b743..e0e00d88f83b 100644 --- a/lisp/emacs-lisp/comp-run.el +++ b/lisp/emacs-lisp/comp-run.el @@ -282,6 +282,7 @@ comp--run-async-workers (mapcar #'prin1-to-string expr))) (_ (progn (with-temp-file temp-file + (insert ";;; -*- lexical-binding: t -*-\n") (mapc #'insert expr-strings)) (comp-log "\n") (mapc #'comp-log expr-strings))) -- 2.49.0 --=-=-=-- From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Apr 2025 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Roi Martin Cc: 77918@debbugs.gnu.org, acorallo@gnu.org Received: via spool by 77918-submit@debbugs.gnu.org id=B77918.17450652956932 (code B ref 77918); Sat, 19 Apr 2025 12:22:02 +0000 Received: (at 77918) by debbugs.gnu.org; 19 Apr 2025 12:21:35 +0000 Received: from localhost ([127.0.0.1]:59483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u67CO-0001nG-G0 for submit@debbugs.gnu.org; Sat, 19 Apr 2025 08:21:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36886) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u67CL-0001ln-M0 for 77918@debbugs.gnu.org; Sat, 19 Apr 2025 08:21:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u67CG-0004IQ-6m; Sat, 19 Apr 2025 08:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KGO8jTPko+6Bso44IuLaQjcFjUnUAdNVon+Ch1eq2s8=; b=QohCYfXa85By aEK0AgTIoeedfJJaUnSXcOQ0bCzjv2IZo+nzWFYMFjO6Mipfk06Sshd81Oy6SlmGpP48WhspiPFTQ F4ylutIaOs3YKzL/slfm0QxDstJ+RgWrqMMqZCOxvOscl5OmjqiWW3Xn0zIRcORmwBrbrY99GRUxJ N68N3h1ZfWripoP1Zn8Y1FdS5/m6chJyr7sjLZKKlqxGVS6p1OVL0TEBJmclecAfYj6En6FrSYSMa yNn3centaD8d3HiFnXpYSo5cEtSYpZEWLJDZGdXSa1g0heIIymUOHFgllqsxPGjghC0VUv4mjW2/y sGB9uqYzEq3CA5ZbBHvsKQ==; Date: Sat, 19 Apr 2025 15:21:22 +0300 Message-Id: <86sem48hq5.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zfgcicxk.fsf@gmail.com> (message from Roi Martin on Sat, 19 Apr 2025 13:54:47 +0200) References: <8734e4k0g0.fsf@gmail.com> <864iyk9xxn.fsf@gnu.org> <87zfgcicxk.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Roi Martin > Cc: 77918@debbugs.gnu.org > Date: Sat, 19 Apr 2025 13:54:47 +0200 > > Eli Zaretskii writes: > > > Andrea, what would you suggest as the solution for these warnings? > > > > (This was already reported as part of the discussion on emacs-devel, > > but we never finalized the solution for this aspect.) > > I attached a possible fix. Does it make sense? Thanks, but let's wait for Andrea to chime in. He knows the subtleties of this code better than anyone, and I wouldn't assume lexical-binding always does TRT there without his say-so. From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Apr 2025 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Roi Martin Cc: Eli Zaretskii , 77918@debbugs.gnu.org Received: via spool by 77918-submit@debbugs.gnu.org id=B77918.17455034541149 (code B ref 77918); Thu, 24 Apr 2025 14:05:02 +0000 Received: (at 77918) by debbugs.gnu.org; 24 Apr 2025 14:04:14 +0000 Received: from localhost ([127.0.0.1]:39703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7xBV-0000IS-UY for submit@debbugs.gnu.org; Thu, 24 Apr 2025 10:04:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48762) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7xBR-0000Hq-CX for 77918@debbugs.gnu.org; Thu, 24 Apr 2025 10:04:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7xBK-0007ml-TZ; Thu, 24 Apr 2025 10:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=dyVKnCyQOVgEEH315tlnKL+OnU325ahlyyTbQfqd3Hk=; b=EhN6gx4VYKv6AZEvRdkl GQecLAesTBfZw2DaYu7XsdJGjCZSWZRs3HXpvp/Rm0zFw315tZ9DR4ieFHUEyFAnd5oZtTg8lc+Ug mzpKmkwX34ZmYaegsyOEgvJdR/gySiw7hW7x65vi+CiI2r+X2/lk8GvxjEHJ8v71vCjT+o2o9O3np VsJ7Izq53JsHcLtDC81cdq7kbIQZ37I1pIA9yR6RwJlF/5jZi9UYThQJ/8s+istaV1HrOafC6sMWe xeF/rmONL6SM7E2xNSOiqo1j2lMeoLt+dvO1qQKl/2R9W+kpIe3DpHHmana7AYBBxObEQIeiYPmCU NgPRke0mI7Tq5A==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1u7xBC-0002UF-0f; Thu, 24 Apr 2025 10:04:01 -0400 From: Andrea Corallo In-Reply-To: <87zfgcicxk.fsf@gmail.com> (Roi Martin's message of "Sat, 19 Apr 2025 13:54:47 +0200") References: <8734e4k0g0.fsf@gmail.com> <864iyk9xxn.fsf@gnu.org> <87zfgcicxk.fsf@gmail.com> Date: Thu, 24 Apr 2025 10:03:53 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Roi Martin writes: > Eli Zaretskii writes: > >> Andrea, what would you suggest as the solution for these warnings? >> >> (This was already reported as part of the discussion on emacs-devel, >> but we never finalized the solution for this aspect.) > > I attached a possible fix. Does it make sense? Thanks it does to me. Is it tested? Andrea From unknown Thu Sep 18 19:11:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* Resent-From: Roi Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Apr 2025 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrea Corallo Cc: Eli Zaretskii , 77918@debbugs.gnu.org Received: via spool by 77918-submit@debbugs.gnu.org id=B77918.17455046215370 (code B ref 77918); Thu, 24 Apr 2025 14:24:02 +0000 Received: (at 77918) by debbugs.gnu.org; 24 Apr 2025 14:23:41 +0000 Received: from localhost ([127.0.0.1]:39786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7xUK-0001OX-Lu for submit@debbugs.gnu.org; Thu, 24 Apr 2025 10:23:41 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:53509) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u7xUD-0001Nx-F6 for 77918@debbugs.gnu.org; Thu, 24 Apr 2025 10:23:37 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-391342fc0b5so846699f8f.3 for <77918@debbugs.gnu.org>; Thu, 24 Apr 2025 07:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745504607; x=1746109407; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KbFMN5+KUXuYkS5Qw4MmJHXqiXeL491JGcX8Ph4roTw=; b=CKGxhIeslENPH5LLoxKtGb96cOcTchYwoYw5w9Q1Sxo8fwOsE7acxwlgryjFDu9C3O n2zFOOtTJOyLQ1zxHB3Ps93xLh6MRF6+w7xk44uoEjwIzDJiCiotsZaZJKaLGxG3SjDx WU+4I3YMgum8gdzNPzPsLpFHzoiJcPw8XSk1Tvvq/0Iy1jw1iFUkjhCPYmU0QuCmW3k/ D6T7+4jCJuTPVI4uM4wKNy2AeYgAWdL5ixFl4r+jjw6RSQHpFbFvTpgylFeCGepErCXn 42E10tkPDIxkfWg0SZjQCKWhSeQRAqPE4sSYb8cy4QqMbnJhgFS/eN4HALH+BpstY6aS IpYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745504607; x=1746109407; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KbFMN5+KUXuYkS5Qw4MmJHXqiXeL491JGcX8Ph4roTw=; b=d6wIl1H3DA8dkNH6qMGPrvg6njrRuedVYGOxmEUlujiCwIiUvGvCQhwFUsKxqiBZd3 hwi1/1Ay5XBvGC84Dv+xm6xN21zwEl/AK5lgjVMSt+JUBgmB3KNJZe9j7vVkQzQFS5vA d/6SZ+Hby5IRmltyev5zySx0Ec0bVFBNSdMSJove3f2N5qUJ8wK/UCdlRh4guzGGJUm+ wTc12HDG++RpNUuKSq0sqhqk6TSBwRl5j/xGuQh2l77I/mpNs5WDugxA6Yep02+hfL77 GP1c8j3iXeVEDnjtpka8QbXSvX+Q2JiEt8aNXCagayw04Ntbzhmkw1u+KbXAfX7NTIDE LgAg== X-Forwarded-Encrypted: i=1; AJvYcCW+vOL7Ctf/P2LV9G9ePNFSO2JgAMdqe2XKNEiq0RacbZnkOuTvQ0RWaGksf+YuiMTMrtp+tg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxN1phFy0rvm9AZdUneP/dAV/h0aCoFSesDNWJZSbkS6j9t+oXo 7U+sL/WfXdRcratYb6bVMpK84KT8pCBKmJ90TkLvUM5bPAN3o72E X-Gm-Gg: ASbGncu+D6TJYwoLNVVup/2Vy3aPWtTgGLvCy5cv9y6uJA7U100/3JF9lZ9SWinGFNa /Jxq1KFWj99Bucb/IYF6Llt66OnlK48f7bXH5dkmpLCiwMswnI96R3r7o010/uxJRn9+M7i7ZjE kY+2VI6yfL8/caGtFiqe2RhmvL1tP2nrvQhFEejmNzafYH+i/lhYxu+L7xVpwFUAMvnZLSyF4uw Q4+02/nufOZHchltSHiu+yushJEVf89FfzhJjT69zQzo9CgPBVOH/2JxmOyEVsBcALOFAQOfIdF ycK1gcA+G3ap6bMlwjJOXIkxZdCFo0kgveG9GUA= X-Google-Smtp-Source: AGHT+IEj43mAdCBUWTJarRfVPGxlzFTmh7EOEwI9hy1rbpFAQwo/sE0VMGw4VWbcBxW8lSoxMla6Ow== X-Received: by 2002:a05:6000:40dc:b0:39a:c9d9:8f95 with SMTP id ffacd0b85a97d-3a06cfc5d2bmr2167609f8f.52.1745504606855; Thu, 24 Apr 2025 07:23:26 -0700 (PDT) Received: from localhost ([84.79.205.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d4c4965sm2231786f8f.46.2025.04.24.07.23.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 07:23:26 -0700 (PDT) From: Roi Martin In-Reply-To: References: <8734e4k0g0.fsf@gmail.com> <864iyk9xxn.fsf@gnu.org> <87zfgcicxk.fsf@gmail.com> Date: Thu, 24 Apr 2025 16:23:21 +0200 Message-ID: <87msc51vvq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrea Corallo 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? From unknown Thu Sep 18 19:11:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Roi Martin Subject: bug#77918: closed (Re: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log*) Message-ID: References: <8734e4k0g0.fsf@gmail.com> X-Gnu-PR-Message: they-closed 77918 X-Gnu-PR-Package: emacs Reply-To: 77918@debbugs.gnu.org Date: Fri, 25 Apr 2025 20:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1745613482-26878-1" This is a multi-part message in MIME format... ------------=_1745613482-26878-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-= native-compile-log* which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77918@debbugs.gnu.org. --=20 77918: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77918 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1745613482-26878-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77918-done) by debbugs.gnu.org; 25 Apr 2025 20:37:47 +0000 Received: from localhost ([127.0.0.1]:53765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u8Pnv-0006xs-9o for submit@debbugs.gnu.org; Fri, 25 Apr 2025 16:37:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33136) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u8Pnr-0006xb-JP for 77918-done@debbugs.gnu.org; Fri, 25 Apr 2025 16:37:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u8Pnl-0007X5-V8; Fri, 25 Apr 2025 16:37:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Vb4r0muQDx6sFovZOcWG9staiv+RP7c3AIAYsfxYdJc=; b=JQpk9oAurJIsySzqvRbI blNzqGZjUVMC3WnjfSjwLUPCUh69uSQkhbe40hvr7L+UnypFVU+F6gPeeqkSlj5xFzb/hmh7lYsKs Wb52uB+Xlok0T3d4EB/9//gqNO6gTDRb4uZtunRewjeJoCoK06zIkmRBtLn3U4w7RfMUEBHKOVZkA aOK1hjUdqI5TTk9NIy9stuHJ8VmA50yot6xZQM9l/FfwRBz+ZWR1nTX5dHBfaWPOazjS8fOh0921a R/DIxmtBpqqu58NXcir9zfZMOtAOAhUBZyc1PnUOy33q+CeCBNjWIv1SViUs0vbl6ZLxnHjM0MvwA tiPjyLQlpbssQA==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1u8Pnl-0006H9-5a; Fri, 25 Apr 2025 16:37:37 -0400 From: Andrea Corallo To: Roi Martin Subject: Re: bug#77918: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* In-Reply-To: <87msc51vvq.fsf@gmail.com> (Roi Martin's message of "Thu, 24 Apr 2025 16:23:21 +0200") References: <8734e4k0g0.fsf@gmail.com> <864iyk9xxn.fsf@gnu.org> <87zfgcicxk.fsf@gmail.com> <87msc51vvq.fsf@gmail.com> Date: Fri, 25 Apr 2025 16:37:37 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77918-done Cc: Eli Zaretskii , 77918-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Roi Martin writes: > Andrea Corallo 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? Thanks I think is okay. I've installed your patch with 3098d34bfd1. I'm also closing the bug. Thanks! Andrea ------------=_1745613482-26878-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Apr 2025 08:41:58 +0000 Received: from localhost ([127.0.0.1]:57543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u63lt-0006Fh-F1 for submit@debbugs.gnu.org; Sat, 19 Apr 2025 04:41:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40646) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u63lp-0006Ex-7b for submit@debbugs.gnu.org; Sat, 19 Apr 2025 04:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u63li-0001aT-8p for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2025 04:41:46 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u63lf-0005T8-4T for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2025 04:41:45 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43cf05f0c3eso18213405e9.0 for ; Sat, 19 Apr 2025 01:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745052101; x=1745656901; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=e4MGzhRJG5MiIiIu3kYz5Gk5YKOsYOTK10NXV6UQnGM=; b=gRp9wXQvXFcXEgh1T0RBkTj2QdnGqP1SDEVA5bFdKutdkKTS74myJajoGgDcI8ChlM CyZBGXLAElBFY2duQ9rRYlDuDg9oTBp5/En2SJkGtSA+y5e88L6o2aNa+24lStQMuyuq 39BqP7RBok55yxNr3NZzDCtgsnwUBQajNgFgqrkeMXropotyuwmWDgSjDdwZz8EoX00p GZ8E9iSXJXI3YhK6kuPMHEPDg6TotblpgoBETvROggzFMiaSGPAjlKZHbGDqA/jKuX7K yfQwfwwvxOF7sO3/UuMRSMjbUrKy2Y5q28K6ZDu7MpTIjNlniXdjxrVYQ2Eo6Ht6tr2a EVGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745052101; x=1745656901; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e4MGzhRJG5MiIiIu3kYz5Gk5YKOsYOTK10NXV6UQnGM=; b=fl0tQ7lKcWL/dxNPzxFMFw6CP328gnDVQ7IK4tbxIqK2VWIh7oTR3lG4zqYyX+kDxd vHgqiccFXLmlDPsqgBEleZqr+XbRVmPfeiyNMU0KOXejKPdn8qtdT1fQuFP61ZiWvK/R zF0uzXSp+nsi3Gw7vcWQzxjwjicb4acdd9SqjOwa7W3oFGjTVxgg/mUK9ApiiyHrArOZ PODXtzZ3CAcnbCBqpPRiH+ifTGIp7FeovsjqydLVk9cs46qywG7lvFqYG5iUHS008x1Q whtVfMW9Rn2JQtbLn06nFsojgmEHK7skUgwCl9otfZeHEflLMpqJ0m7ZuJtLfWVpA42i HOww== X-Gm-Message-State: AOJu0YxnpOQUXjycjvntt/v02PQ5yvsyC5mGFN7Yo8+4JTxjfVpHnuXm yZXRSk1JaK6oY2IOKbWd1p64SgLpKJ6pKoGkr5z/KB2DD9vGPE7FCP+uNw== X-Gm-Gg: ASbGncv7bv0IN2kEe+5Lv4oXNW+jTONcskXnJTBvQd7pw9THq2OBEsqU0JxZedmyhAW pRZQSH5MDV7WRvL2G7OrHSYvnpF1wDWCWCXz4BLYegZyMonQT+67XgAaxae6RNM2UAf9K6LwpjR dNWbyU4R2DyHZ6t9pdfYP0bWnpSW1sijq0xDkMM0kF1pUwClS22Q1yXB4NIgy4Q9udEuWkNrBXA Ep5kr06jL0UZKURpKJpT0fH7VYTv+gxYhgQb0/7KPCyZo3NPEmUXbAZEsYlDcu1rkZ6f9ffv3q3 G1z11xTcu0AjY0nc53ZKtnopyRpVkmgfRUSZFMs= X-Google-Smtp-Source: AGHT+IEz0ru5wzUecOEW0mEEfVn9HJUSvYqjoAwOBGhE8GP5vkpStEf4xEzVc9Q0i53QwaQ17mq1FA== X-Received: by 2002:a05:600c:35c9:b0:43d:fa59:cc8f with SMTP id 5b1f17b1804b1-4406ac412f2mr36807515e9.33.1745052100591; Sat, 19 Apr 2025 01:41:40 -0700 (PDT) Received: from localhost ([84.79.205.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39efa43cb43sm5204279f8f.53.2025.04.19.01.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Apr 2025 01:41:40 -0700 (PDT) From: Roi Martin To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Warnings about missing 'lexical-binding' cookie in *Async-native-compile-log* X-Debbugs-Cc: Date: Sat, 19 Apr 2025 10:41:35 +0200 Message-ID: <8734e4k0g0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=jroi.martin@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Several warnings about missing 'lexical-binding' cookie show up in *Async-native-compile-log*. They seem to show up when a feature that has not been compiled yet is used and needs to be compiled. The issue is reproducible by just running 'emacs -Q'. You can find some of the warnings below. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-dired-aux-xXuqdt.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/dired-aux.el... Compilation finished. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-shell-rZsYYK.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/shell.el... Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-pcomplete-lO4nJm.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/pcomplete.el... Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-files-x-oLXnPa.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/files-x.el... Compilation finished. Warning (files): Missing ‘lexical-binding’ cookie in "/tmp/emacs-async-comp-rfc2047-XugClb.el". You can add one with ‘M-x elisp-enable-lexical-binding RET’. See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’ for more information. Compiling /home/n/src/emacs/lisp/mail/rfc2047.el... Compilation finished. What follows is one of the .el files that produced the warning (emacs-async-comp-icomplete-tWY9i1.el). Note that I elided the native-comp-eln-load-path and load-path values to shorten the report. (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/icomplete.el")(comp--native-compile "/home/n/src/emacs/lisp/icomplete.el" t) In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-04-19 built on wopr Repository revision: 9ea9c5a73e004903ca1c6e15cf5797458315ad9a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12401006 System Description: Fedora Linux 41 (Workstation Edition) Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3 ZLIB Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: elisp-compile Minor modes in effect: icomplete-mode: t fido-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils display-line-numbers files-x shell pcomplete compile text-property-search comint subr-x ansi-osc ansi-color ring dired-aux dired dired-loaddefs comp-run bytecomp byte-compile comp-common rx icomplete cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 171289 28956) (symbols 48 7497 4) (strings 32 26333 2931) (string-bytes 1 757901) (vectors 16 14367) (vector-slots 8 182883 43794) (floats 8 35 1262) (intervals 56 5930 1736) (buffers 992 16)) ------------=_1745613482-26878-1--