From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Thibault Polge Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2020 17:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38872@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157798530610256 (code B ref -1); Thu, 02 Jan 2020 17:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2020 17:15:06 +0000 Received: from localhost ([127.0.0.1]:39967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1in43r-0002fI-9n for submit@debbugs.gnu.org; Thu, 02 Jan 2020 12:15:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:46008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1in43o-0002eb-Af for submit@debbugs.gnu.org; Thu, 02 Jan 2020 12:15:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in43k-000513-Vn for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:15:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED,URI_HEX autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1in43h-0006dW-3E for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:14:56 -0500 Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:41338 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1in43g-0006N8-El for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:14:53 -0500 Received: from maladict ([90.22.206.174]) by mwinf5d43 with ME id lVEh2100x3mHWUi03VEh6N; Thu, 02 Jan 2020 18:14:42 +0100 X-ME-Helo: maladict X-ME-Date: Thu, 02 Jan 2020 18:14:42 +0100 X-ME-IP: 90.22.206.174 From: Thibault Polge Date: Thu, 02 Jan 2020 18:14:31 +0100 Message-ID: <87woa97pc8.fsf@thb.lt> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 80.12.242.130 X-Spam-Score: -1.2 (-) 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.1 (/) This sexp: (let ((:k 1)) :k) evals to 1 in Emacs 25.3.1, 26.3, and HEAD (d36adb544d984b91c70f6194da01344e4b2b6fc9) if and only if `lexical-binding` is t. If lexical-binding is nil, it raises an error, as I'd expect it to. This is in contradiction with documentation at (info "Constant variables (elisp)"). The issue also appears if the symbol's been interned with (intern ":k") Best regards, Thibault In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.12) Windowing system distributor 'The X.Org Foundation', version 11.0.12005000 System Description: NixOS 20.03pre198214.4cd2cb43fb3 (Markhor) Recent messages: Executing scp -q /tmp/1577983199.org thblt@k9.thb.lt:/var/www/paste.thb.lt//1577983199.org (Shell command succeeded with no output) Wrote /tmp/1577983199.org.html Executing scp -q /tmp/1577983199.org.html thblt@k9.thb.lt:/var/www/paste.thb.lt//1577983199.org.html (Shell command succeeded with no output) Wrote /tmp/1577983199.org.html Pasted to https://paste.thb.lt/1577983199.org.html (on kill ring) Quit Saving file /home/thblt/temp/test.org... Wrote /home/thblt/temp/test.org Configured using: 'configure --prefix=/nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER GMP Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Nix Minor modes in effect: TeX-PDF-mode: t TeX-source-correlate-mode: t which-function-mode: t color-identifiers-mode: t outshine-mode: t pdf-occur-global-minor-mode: t magit-auto-revert-mode: t auto-revert-mode: t async-bytecomp-package-mode: t company-posframe-mode: t company-mode: t shell-dirtrack-mode: t outline-minor-mode: t super-save-mode: t yas-global-mode: t yas-minor-mode: t global-undo-tree-mode: t undo-tree-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-global-mode: t smartparens-mode: t recentf-mode: t beginend-global-mode: t beginend-prog-mode: t winner-mode: t which-key-mode: t popwin-mode: t ivy-posframe-mode: t eyebrowse-mode: t counsel-projectile-mode: t ivy-mode: t projectile-mode: t auto-compile-on-load-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/thblt/.emacs.d/lib/password-store/password-store hides /home/thblt/.nix-profile/share/emacs/site-lisp/password-store /home/thblt/.nix-profile/share/emacs/site-lisp/site-start hides /run/current-system/sw/share/emacs/site-lisp/site-start /home/thblt/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/site-lisp/site-start /home/thblt/.emacs.d/lib/auth-password-store/auth-source-pass hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/auth-source-pass /home/thblt/.emacs.d/lib/org/lisp/ob-emacs-lisp hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-emacs-lisp /home/thblt/.emacs.d/lib/org/lisp/ob-picolisp hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-picolisp /home/thblt/.emacs.d/lib/org/lisp/org-attach hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-attach /home/thblt/.emacs.d/lib/org/lisp/org-id hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-id /home/thblt/.emacs.d/lib/org/lisp/ox-publish hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-publish /home/thblt/.emacs.d/lib/org/lisp/org-indent hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-indent /home/thblt/.emacs.d/lib/org/lisp/ob-core hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-core /home/thblt/.emacs.d/lib/org/lisp/ob-hledger hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-hledger /home/thblt/.emacs.d/lib/org/lisp/org-protocol hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-protocol /home/thblt/.emacs.d/lib/org/lisp/ob-sqlite hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-sqlite /home/thblt/.emacs.d/lib/org/lisp/ob-python hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-python /home/thblt/.emacs.d/lib/org/lisp/org hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org /home/thblt/.emacs.d/lib/org/lisp/org-pcomplete hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-pcomplete /home/thblt/.emacs.d/lib/org/lisp/ob-java hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-java /home/thblt/.emacs.d/lib/org/lisp/ob-lua hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-lua /home/thblt/.emacs.d/lib/org/lisp/ob-mscgen hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-mscgen /home/thblt/.emacs.d/lib/org/lisp/org-timer hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-timer /home/thblt/.emacs.d/lib/org/lisp/org-lint hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-lint /home/thblt/.emacs.d/lib/org/lisp/org-plot hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-plot /home/thblt/.emacs.d/lib/org/lisp/ob-processing hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-processing /home/thblt/.emacs.d/lib/org/lisp/ob-scheme hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-scheme /home/thblt/.emacs.d/lib/org/lisp/ob-exp hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-exp /home/thblt/.emacs.d/lib/org/lisp/ob-sql hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-sql /home/thblt/.emacs.d/lib/org/lisp/org-faces hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-faces /home/thblt/.emacs.d/lib/org/lisp/org-crypt hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-crypt /home/thblt/.emacs.d/lib/org/lisp/org-table hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-table /home/thblt/.emacs.d/lib/org/lisp/ox-md hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-md /home/thblt/.emacs.d/lib/org/lisp/ox-ascii hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-ascii /home/thblt/.emacs.d/lib/org/lisp/org-loaddefs hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-loaddefs /home/thblt/.emacs.d/lib/org/lisp/org-colview hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-colview /home/thblt/.emacs.d/lib/org/lisp/ob-C hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-C /home/thblt/.emacs.d/lib/org/lisp/org-footnote hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-footnote /home/thblt/.emacs.d/lib/org/lisp/org-feed hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-feed /home/thblt/.emacs.d/lib/org/lisp/org-duration hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-duration /home/thblt/.emacs.d/lib/org/lisp/ob-calc hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-calc /home/thblt/.emacs.d/lib/org/lisp/ob-ebnf hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ebnf /home/thblt/.emacs.d/lib/org/lisp/ob-ocaml hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ocaml /home/thblt/.emacs.d/lib/org/lisp/ob-ditaa hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ditaa /home/thblt/.emacs.d/lib/org/lisp/org-mobile hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-mobile /home/thblt/.emacs.d/lib/org/lisp/ob-gnuplot hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-gnuplot /home/thblt/.emacs.d/lib/org/lisp/ox-texinfo hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-texinfo /home/thblt/.emacs.d/lib/org/lisp/org-datetree hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-datetree /home/thblt/.emacs.d/lib/org/lisp/ob-J hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-J /home/thblt/.emacs.d/lib/org/lisp/ob-ruby hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ruby /home/thblt/.emacs.d/lib/org/lisp/ob-eval hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-eval /home/thblt/.emacs.d/lib/org/lisp/ob-abc hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-abc /home/thblt/.emacs.d/lib/org/lisp/ox-html hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-html /home/thblt/.emacs.d/lib/org/lisp/ob-io hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-io /home/thblt/.emacs.d/lib/org/lisp/org-compat hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-compat /home/thblt/.emacs.d/lib/org/lisp/ob-perl hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-perl /home/thblt/.emacs.d/lib/org/lisp/org-archive hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-archive /home/thblt/.emacs.d/lib/org/lisp/ob-dot hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-dot /home/thblt/.emacs.d/lib/org/lisp/ob-ref hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ref /home/thblt/.emacs.d/lib/org/lisp/org-habit hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-habit /home/thblt/.emacs.d/lib/org/lisp/org-capture hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-capture /home/thblt/.emacs.d/lib/org/lisp/ob-shell hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-shell /home/thblt/.emacs.d/lib/org/lisp/ob-js hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-js /home/thblt/.emacs.d/lib/org/lisp/ob-stan hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-stan /home/thblt/.emacs.d/lib/org/lisp/ob-css hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-css /home/thblt/.emacs.d/lib/org/lisp/ob-clojure hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-clojure /home/thblt/.emacs.d/lib/org/lisp/ob-tangle hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-tangle /home/thblt/.emacs.d/lib/org/lisp/org-element hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-element /home/thblt/.emacs.d/lib/org/lisp/org-version hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-version /home/thblt/.emacs.d/lib/org/lisp/ob-haskell hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-haskell /home/thblt/.emacs.d/lib/org/lisp/org-src hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-src /home/thblt/.emacs.d/lib/org/lisp/ob-lilypond hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-lilypond /home/thblt/.emacs.d/lib/org/lisp/ob-groovy hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-groovy /home/thblt/.emacs.d/lib/org/lisp/org-install hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-install /home/thblt/.emacs.d/lib/org/lisp/ob-table hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-table /home/thblt/.emacs.d/lib/org/lisp/ob-ledger hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-ledger /home/thblt/.emacs.d/lib/org/lisp/ob-plantuml hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-plantuml /home/thblt/.emacs.d/lib/org/lisp/ob-coq hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-coq /home/thblt/.emacs.d/lib/org/lisp/org-inlinetask hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-inlinetask /home/thblt/.emacs.d/lib/org/lisp/ox-beamer hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-beamer /home/thblt/.emacs.d/lib/org/lisp/org-macs hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-macs /home/thblt/.emacs.d/lib/org/lisp/org-entities hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-entities /home/thblt/.emacs.d/lib/org/lisp/ox-odt hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-odt /home/thblt/.emacs.d/lib/org/lisp/ob-lisp hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-lisp /home/thblt/.emacs.d/lib/org/lisp/ob-fortran hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-fortran /home/thblt/.emacs.d/lib/org/lisp/ob-forth hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-forth /home/thblt/.emacs.d/lib/org/lisp/ox-icalendar hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-icalendar /home/thblt/.emacs.d/lib/org/lisp/ob-comint hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-comint /home/thblt/.emacs.d/lib/org/lisp/ob-screen hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-screen /home/thblt/.emacs.d/lib/org/lisp/org-list hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-list /home/thblt/.emacs.d/lib/org/lisp/ob-shen hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-shen /home/thblt/.emacs.d/lib/org/lisp/org-mouse hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-mouse /home/thblt/.emacs.d/lib/org/lisp/ob-vala hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-vala /home/thblt/.emacs.d/lib/org/lisp/ob hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob /home/thblt/.emacs.d/lib/org/lisp/ob-sed hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-sed /home/thblt/.emacs.d/lib/org/lisp/ob-octave hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-octave /home/thblt/.emacs.d/lib/org/lisp/ox-org hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-org /home/thblt/.emacs.d/lib/org/lisp/org-ctags hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-ctags /home/thblt/.emacs.d/lib/org/lisp/org-macro hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-macro /home/thblt/.emacs.d/lib/org/lisp/ob-asymptote hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-asymptote /home/thblt/.emacs.d/lib/org/lisp/ob-latex hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-latex /home/thblt/.emacs.d/lib/org/lisp/ob-awk hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-awk /home/thblt/.emacs.d/lib/org/lisp/ox hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox /home/thblt/.emacs.d/lib/org/lisp/ob-maxima hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-maxima /home/thblt/.emacs.d/lib/org/lisp/ob-makefile hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-makefile /home/thblt/.emacs.d/lib/org/lisp/org-agenda hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-agenda /home/thblt/.emacs.d/lib/org/lisp/org-clock hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/org-clock /home/thblt/.emacs.d/lib/org/lisp/ox-latex hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-latex /home/thblt/.emacs.d/lib/org/lisp/ob-sass hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-sass /home/thblt/.emacs.d/lib/org/lisp/ob-org hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-org /home/thblt/.emacs.d/lib/org/lisp/ob-R hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-R /home/thblt/.emacs.d/lib/org/lisp/ob-matlab hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-matlab /home/thblt/.emacs.d/lib/org/lisp/ox-man hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ox-man /home/thblt/.emacs.d/lib/org/lisp/ob-lob hides /nix/store/rfgmqyi2klm545isn0r2wd8jqpwgvygn-emacs-27.1/share/emacs/27.0.50/lisp/org/ob-lob Features: (shadow sort orgalist mail-extr emacsbug mhtml-mode css-mode smie eww mm-url smartparens-javascript js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flycheck-irony irony-diagnostics flycheck highlight-indent-guides scpaste nix-mode nix-repl nix-shell nix-store nix-instantiate nix-shebang nix-format nix visual-regexp dabbrev two-column iso-transl org-agenda ace-window avy texmathp preview prv-emacs reporter tex-fold tex-buf font-latex latex latex-flymake flymake-proc flymake tex-ispell tex-style tex dbus smartparens-latex tex-mode latexenc reftex-parse misearch multi-isearch add-log which-func org-indent toc-org org-ref org-ref-ivy-cite bibtex-completion biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi biblio-core url-queue org-ref-core warnings reftex-cite reftex reftex-loaddefs reftex-vars parsebib org-ref-glossary org-ref-bibtex org-ref-citeproc doi-utils org-ref-utils org-ref-pdf url-http url-auth url-gw nsm htmlize f disp-table ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir ol-docview ol-bibtex bibtex ol-bbdb ol-w3m vc-git diff-mode mwim aggressive-indent color-identifiers-mode smartparens-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp company-oddmuse company-keywords company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-bbdb company-irony company-template irony-completion irony-snippet irony irony-iotask outshine outshine-org-cmds outorg pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-start cus-load pdf-view bookmark pp pdf-cache pdf-info tq pdf-util auth-source-pass mu4e-contrib mu4e desktop frameset mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils doc-view image-mode exif mu4e-lists mu4e-vars message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader hl-line mu4e-meta magit-repos magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor async-bytecomp async magit-mode transient magit-git magit-section magit-utils crm rainbow-mode evil-nerd-commenter evil-nerd-commenter-sdk smartparens-html sgml-mode dom company-posframe company pcase ob-shell shell ob-dot ox-extra ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree generator smartparens-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs find-func cal-menu calendar cal-loaddefs tex-site auto-loads visual-fill-column super-save yasnippet-snippets yasnippet undo-tree diff smartparens-config smartparens-text smartparens recentf tree-widget wid-edit nav-flash pulse beginend flyspell-correct-ivy flyspell-correct flyspell ispell hydra lv winner which-key popwin ivy-posframe easy-mmode posframe eyebrowse format-spec dash general diminish rx counsel-projectile counsel xdg xref project dired dired-loaddefs swiper ivy delsel colir ivy-overlay ffap projectile grep compile comint ansi-color ring ibuf-ext ibuffer ibuffer-loaddefs thingatpt server powerline powerline-separators color powerline-themes kurecolor s cl eziam-light-theme eziam-common advice edmacro kmacro finder-inf package browse-url url-handlers url-parse auth-source eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars jka-compr no-littering auto-compile packed org-loaddefs cl-extra help-mode cl-seq borg info easymenu cl-loaddefs cl-lib autoload radix-tree lisp-mnt seq byte-opt gv bytecomp byte-compile cconv tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 789164 59498) (symbols 48 58767 1) (strings 32 205390 12137) (string-bytes 1 6934731) (vectors 16 92237) (vector-slots 8 1927353 75174) (floats 8 771 680) (intervals 56 22691 4615) (buffers 1000 34)) From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2020 19:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thibault Polge Cc: 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.157920435124559 (code B ref 38872); Thu, 16 Jan 2020 19:53:01 +0000 Received: (at 38872) by debbugs.gnu.org; 16 Jan 2020 19:52:31 +0000 Received: from localhost ([127.0.0.1]:38377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isBBu-0006O3-IZ for submit@debbugs.gnu.org; Thu, 16 Jan 2020 14:52:30 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:49186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isBBq-0006Nj-M8 for 38872@debbugs.gnu.org; Thu, 16 Jan 2020 14:52:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=E5juMcXUxVpGIX8MK5n/xb6fmtDl69KP66J5MFG4an0=; b=uGNMjHA7TlPgc9JqBIB5UF+Tpo tEygtXxXfH0urbZwEI/zSBLVAGjT1ejdsIKx1WrIe29MGmIv4JxvFMM4wIFHD74xuLSQW77/LAnNt gj9gYSuO3gG8TUfU8F/hjc0jcR7iVBAYaBoFlA+lIWjSAD8x70V9PP05KCQuT1rKm+Kzv/N5UTwgC ENjdb1vttDG9B6q05Vx818eMpxz3U5wcgnkckKtlvOL94y2Rkk2d1fetzMCqrKUxGTHSWYloloGoW +gQ1Lx9YwO0/XaUCdSVqzfHs89D96XlnRrAb95ZT+bZNrMJYZxs7rYEZUQV48Ava5o/tdzUB7lCSL BfcUlTQw==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:55652 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1isBBi-001Vrd-IJ; Thu, 16 Jan 2020 14:52:18 -0500 From: Stefan Kangas In-Reply-To: <87woa97pc8.fsf@thb.lt> (Thibault Polge's message of "Thu, 02 Jan 2020 18:14:31 +0100") References: <87woa97pc8.fsf@thb.lt> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Thu, 16 Jan 2020 20:52:15 +0100 Message-ID: <87a76n41sg.fsf@marxist.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: 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 Thibault Polge writes: > This sexp: > > (let ((:k 1)) :k) > > evals to 1 in Emacs 25.3.1, 26.3, and HEAD > (d36adb544d984b91c70f6194da01344e4b2b6fc9) if and only if > `lexical-binding` is t. > > If lexical-binding is nil, it raises an error, as I'd expect it to. > > This is in contradiction with documentation at (info "Constant variables > (elisp)"). The issue also appears if the symbol's been interned with > (intern ":k") Thanks, I can reproduce this on current master. I'm very new to Emacs internals, but decided to dig in. The problem is that a keyword ":a" has that: (a1) XSYMBOL (tem)->u.s.declared_special == false (a2) XSYMBOL (tem)->u.s.trapped_write == SYMBOL_NOWRITE However, in eval.c line 972, where "let" is defined, we lexically bind a symbol under the above conditions: if (!NILP (lexenv) && SYMBOLP (var) && !XSYMBOL (var)->u.s.declared_special && NILP (Fmemq (var, Vinternal_interpreter_environment))) /* Lexically bind VAR by adding it to the lexenv alist. */ lexenv = Fcons (Fcons (var, tem), lexenv); This is what causes the bug. In contrast, "nil" and "t" has that: (b1) XSYMBOL (tem)->u.s.declared_special == true This makes the above check fail, and we defer to the dynamic binding code which refuses to bind them. 1. One possible fix is to add a check for (b), and refuse to bind it if it's true. The attached patch does that. 2. I'm not sure, but it seems to me that keywords *should* perhaps have declared_special == TRUE. That should be set for anything that should never be lexically bound -- right? If this is correct, then I guess we should make sure that it gets set properly, probably already in read1? In plain language, either we (1) change the test in "let" or we (2) change how keyword symbols gets initialized to pass the existing test. Or maybe we should do both..? Please, if someone could check my findings or point me in the right direction here, that would be very helpful. Or even provide a proper fix if mine is completely wrong. :-) Best regards, Stefan Kangas --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Don-t-let-bind-keywords-when-lexical-binding-is-t.patch >From 1070ee4579bc907bfdd1b96edc80b4f4d271d57d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 16 Jan 2020 15:33:08 +0100 Subject: [PATCH] Don't let-bind keywords when lexical-binding is t * src/eval.c (Flet): Signal an error if trying to bind a keyword symbol when lexical-binding is t. This is consistent with the manual section "(elisp)Constant variables". (Bug#38872) * test/src/eval-tests.el (eval-tests-let): Add rudimentary tests for the let-form. --- src/eval.c | 7 +++++-- test/src/eval-tests.el | 12 ++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/eval.c b/src/eval.c index 4559a0e1f6..9a3f703f40 100644 --- a/src/eval.c +++ b/src/eval.c @@ -972,8 +972,11 @@ DEFUN ("let", Flet, Slet, 1, UNEVALLED, 0, if (!NILP (lexenv) && SYMBOLP (var) && !XSYMBOL (var)->u.s.declared_special && NILP (Fmemq (var, Vinternal_interpreter_environment))) - /* Lexically bind VAR by adding it to the lexenv alist. */ - lexenv = Fcons (Fcons (var, tem), lexenv); + if (XSYMBOL (var)->u.s.trapped_write == SYMBOL_NOWRITE) + xsignal1 (Qsetting_constant, var); + else + /* Lexically bind VAR by adding it to the lexenv alist. */ + lexenv = Fcons (Fcons (var, tem), lexenv); else /* Dynamically bind VAR. */ specbind (var, tem); diff --git a/test/src/eval-tests.el b/test/src/eval-tests.el index 074f5be1ef..702bd25040 100644 --- a/test/src/eval-tests.el +++ b/test/src/eval-tests.el @@ -28,6 +28,18 @@ (require 'ert) (eval-when-compile (require 'cl-lib)) +(ert-deftest eval-tests-let () + "Test let binding using dynamic and lexical scope." + (dolist (nil-or-t '(nil t)) + (with-temp-buffer + (setq lexical-binding nil-or-t) + (should (equal (let ((x 1)) x) 1)) + (should-error (let ((1 2)) x) :type '(wrong-type-argument)) + ;; Behave consistently with (info "(elisp)Constant variables") + (should-error (let ((t 1)) t) :type '(setting-constant)) + (should-error (let ((nil 1)) nil) :type '(setting-constant)) + (should-error (let ((:a 1)) :a) :type '(setting-constant))))) + (ert-deftest eval-tests--bug24673 () "Check that Bug#24673 has been fixed." ;; This should not crash. -- 2.20.1 --=-=-=-- From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2020 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Thibault Polge , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.157920519825957 (code B ref 38872); Thu, 16 Jan 2020 20:07:01 +0000 Received: (at 38872) by debbugs.gnu.org; 16 Jan 2020 20:06:38 +0000 Received: from localhost ([127.0.0.1]:38382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isBPX-0006kV-0Y for submit@debbugs.gnu.org; Thu, 16 Jan 2020 15:06:38 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:56983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isBPS-0006kJ-CP for 38872@debbugs.gnu.org; Thu, 16 Jan 2020 15:06:34 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47zFZY02cQz1qql0; Thu, 16 Jan 2020 21:06:28 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47zFZX5bQgz1qr2G; Thu, 16 Jan 2020 21:06:28 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id LyB7JCNB0NDq; Thu, 16 Jan 2020 21:06:28 +0100 (CET) X-Auth-Info: El+8ekQjvk09DizGVNQ7QZMcYDZjQA1KlqsGuu3PLoW6stoWxaB3PyFE+gmNugVW Received: from igel.home (ppp-46-244-172-243.dynamic.mnet-online.de [46.244.172.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 16 Jan 2020 21:06:27 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 7994F2C2A0D; Thu, 16 Jan 2020 21:06:27 +0100 (CET) From: Andreas Schwab References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> X-Yow: In order to make PLANS for the WEEKEND...so that we can read RESTAURANT REVIEWS and decide to GO to that restaurant & then NEVER GO...so we can meet a FRIEND after work in a BAR and COMPLAIN about Interior Sect'y JAMES WATT until the SUBJECT is changed to NUCLEAR BLACKMAIL...and so our RELATIVES can FORCE us to listen to HOCKEY STATISTICS while we wait for them to LEAVE on the 7:48.... Date: Thu, 16 Jan 2020 21:06:27 +0100 In-Reply-To: <87a76n41sg.fsf@marxist.se> (Stefan Kangas's message of "Thu, 16 Jan 2020 20:52:15 +0100") Message-ID: <871rrzmaik.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) 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.4 (-) On Jan 16 2020, Stefan Kangas wrote: > diff --git a/src/eval.c b/src/eval.c > index 4559a0e1f6..9a3f703f40 100644 > --- a/src/eval.c > +++ b/src/eval.c > @@ -972,8 +972,11 @@ DEFUN ("let", Flet, Slet, 1, UNEVALLED, 0, > if (!NILP (lexenv) && SYMBOLP (var) > && !XSYMBOL (var)->u.s.declared_special > && NILP (Fmemq (var, Vinternal_interpreter_environment))) > - /* Lexically bind VAR by adding it to the lexenv alist. */ > - lexenv = Fcons (Fcons (var, tem), lexenv); > + if (XSYMBOL (var)->u.s.trapped_write == SYMBOL_NOWRITE) I think that should use the same condition as set_internal, so that (let ((:k :k))) still works. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2020 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: Thibault Polge , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.15792143498077 (code B ref 38872); Thu, 16 Jan 2020 22:40:02 +0000 Received: (at 38872) by debbugs.gnu.org; 16 Jan 2020 22:39:09 +0000 Received: from localhost ([127.0.0.1]:38539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isDnB-00026D-CY for submit@debbugs.gnu.org; Thu, 16 Jan 2020 17:39:09 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:36476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isDn9-00025j-Dl for 38872@debbugs.gnu.org; Thu, 16 Jan 2020 17:39:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=z0uWxKZ/tcAmPXZfQ9GEtaYJ4ar2mbxOUInT7DQr0Go=; b=QtJ/buzJJ4CX5TNUSLLA2VOfq7 OJG94TxLzviHHe9fAEG+UoWlK6ZKzty4uZx76UbLWe8uHgTwkrsOPfA8FcUnYvQtS4ldkEV4AvfD5 2omop+gzCrn6Bngm7VQjlrwvmsQU4Q4vS3s7yan4lzbpwep16CZ98Z8DYHNsXcYgWuYRnItveAv2j m8w9v3B6U2rc5+hPDLAX3SR3t2KSt7JHc5dOu+VrJ4wrikmg7oABi2w5+5co2o5I0Hv1pxknFlEjn cpTNpJf6VCRwNzfnxBWpe81CUTXHBc3nJfDm6RDhly+ndts9VLIec9K7BAIDaXnQQNeu0O/5OozKb W1OjjTow==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:41916 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1isDn2-000CoX-HU; Thu, 16 Jan 2020 17:39:00 -0500 From: Stefan Kangas In-Reply-To: <871rrzmaik.fsf@igel.home> (Andreas Schwab's message of "Thu, 16 Jan 2020 21:06:27 +0100") References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Thu, 16 Jan 2020 23:38:57 +0100 Message-ID: <87wo9r2fi6.fsf@marxist.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: 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 Andreas Schwab writes: >> diff --git a/src/eval.c b/src/eval.c >> index 4559a0e1f6..9a3f703f40 100644 >> --- a/src/eval.c >> +++ b/src/eval.c >> @@ -972,8 +972,11 @@ DEFUN ("let", Flet, Slet, 1, UNEVALLED, 0, >> if (!NILP (lexenv) && SYMBOLP (var) >> && !XSYMBOL (var)->u.s.declared_special >> && NILP (Fmemq (var, Vinternal_interpreter_environment))) >> - /* Lexically bind VAR by adding it to the lexenv alist. */ >> - lexenv = Fcons (Fcons (var, tem), lexenv); >> + if (XSYMBOL (var)->u.s.trapped_write == SYMBOL_NOWRITE) > > I think that should use the same condition as set_internal, so that (let > ((:k :k))) still works. Thanks, I forgot about that case. I changed the code to just defer to the dynamic version for keywords and added a test. Seems to be working, and is even simpler than what I had before. Best regards, Stefan Kangas --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Don-t-let-bind-keywords-when-lexical-binding-is-t.patch >From ea8725007633104014039f55d16737355897b5da Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 16 Jan 2020 15:33:08 +0100 Subject: [PATCH] Don't let-bind keywords when lexical-binding is t * src/eval.c (Flet): Don't allow let-binding a keyword symbol when lexical-binding is t. This is consistent with the manual section "(elisp)Constant variables". (Bug#38872) * test/src/eval-tests.el (eval-tests-let): Add tests for the let-form. --- src/eval.c | 1 + test/src/eval-tests.el | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/src/eval.c b/src/eval.c index 4559a0e1f6..072d01e2ea 100644 --- a/src/eval.c +++ b/src/eval.c @@ -971,6 +971,7 @@ DEFUN ("let", Flet, Slet, 1, UNEVALLED, 0, if (!NILP (lexenv) && SYMBOLP (var) && !XSYMBOL (var)->u.s.declared_special + && (!XSYMBOL (var)->u.s.trapped_write) == SYMBOL_NOWRITE && NILP (Fmemq (var, Vinternal_interpreter_environment))) /* Lexically bind VAR by adding it to the lexenv alist. */ lexenv = Fcons (Fcons (var, tem), lexenv); diff --git a/test/src/eval-tests.el b/test/src/eval-tests.el index 074f5be1ef..f56859ec54 100644 --- a/test/src/eval-tests.el +++ b/test/src/eval-tests.el @@ -28,6 +28,20 @@ (require 'ert) (eval-when-compile (require 'cl-lib)) +(ert-deftest eval-tests-let () + "Test let binding using dynamic and lexical scope." + (dolist (nil-or-t '(nil t)) + (message "lexical-binding: %s" nil-or-t) + (with-temp-buffer + (setq lexical-binding nil-or-t) + (should (equal (let ((x 1)) x) 1)) + (should-error (let ((1 2)) x) :type '(wrong-type-argument)) + ;; Behave consistently with (info "(elisp)Constant variables") + (should (equal (let ((:a :a)) :a) :a)) + (should-error (let ((t 1)) t) :type '(setting-constant)) + (should-error (let ((nil 1)) nil) :type '(setting-constant)) + (should-error (let ((:a 1)) :a) :type '(setting-constant))))) + (ert-deftest eval-tests--bug24673 () "Check that Bug#24673 has been fixed." ;; This should not crash. -- 2.20.1 --=-=-=-- From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2020 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab , Stefan Monnier Cc: thibault@thb.lt, stefan@marxist.se, 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.15792472611118 (code B ref 38872); Fri, 17 Jan 2020 07:48:02 +0000 Received: (at 38872) by debbugs.gnu.org; 17 Jan 2020 07:47:41 +0000 Received: from localhost ([127.0.0.1]:38796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isMM1-0000Hy-9d for submit@debbugs.gnu.org; Fri, 17 Jan 2020 02:47:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isMLy-0000Hi-G3 for 38872@debbugs.gnu.org; Fri, 17 Jan 2020 02:47:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1isMLs-000893-1x; Fri, 17 Jan 2020 02:47:32 -0500 Received: from [176.228.60.248] (port=4289 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1isMLr-0000MI-40; Fri, 17 Jan 2020 02:47:31 -0500 Date: Fri, 17 Jan 2020 09:47:30 +0200 Message-Id: <83ftge34od.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <871rrzmaik.fsf@igel.home> (message from Andreas Schwab on Thu, 16 Jan 2020 21:06:27 +0100) References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: Andreas Schwab > Date: Thu, 16 Jan 2020 21:06:27 +0100 > Cc: Thibault Polge , 38872@debbugs.gnu.org > > On Jan 16 2020, Stefan Kangas wrote: > > > diff --git a/src/eval.c b/src/eval.c > > index 4559a0e1f6..9a3f703f40 100644 > > --- a/src/eval.c > > +++ b/src/eval.c > > @@ -972,8 +972,11 @@ DEFUN ("let", Flet, Slet, 1, UNEVALLED, 0, > > if (!NILP (lexenv) && SYMBOLP (var) > > && !XSYMBOL (var)->u.s.declared_special > > && NILP (Fmemq (var, Vinternal_interpreter_environment))) > > - /* Lexically bind VAR by adding it to the lexenv alist. */ > > - lexenv = Fcons (Fcons (var, tem), lexenv); > > + if (XSYMBOL (var)->u.s.trapped_write == SYMBOL_NOWRITE) > > I think that should use the same condition as set_internal, so that (let > ((:k :k))) still works. Adding Stefan Monnier to the discussion. Stefan, any comments on this issue? Thanks. From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2020 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Thibault Polge , Andreas Schwab , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.157927030920605 (code B ref 38872); Fri, 17 Jan 2020 14:12:01 +0000 Received: (at 38872) by debbugs.gnu.org; 17 Jan 2020 14:11:49 +0000 Received: from localhost ([127.0.0.1]:39002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isSLl-0005MH-IV for submit@debbugs.gnu.org; Fri, 17 Jan 2020 09:11:49 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isSLj-0005M2-1Q for 38872@debbugs.gnu.org; Fri, 17 Jan 2020 09:11:47 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5BBA644DEED; Fri, 17 Jan 2020 09:11:41 -0500 (EST) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9781E44DEEA; Fri, 17 Jan 2020 09:11:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1579270299; bh=lIiqoljs3utZABNy1MmlrA/877rr8pM+cLGCJ/ySAxc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=NeCKayhrwhKuWgHIIho1aScFOlLqG9WymuTLmcsa5FMq2o8ebL/Vpv7i4qrkcg52y BQb/1meDEuZ0/2mk2gBdUxWNlVdH1ZD8aYott9w26xzY9X89bjrZlpXkG94UZysd2S /N5T8aypyBicRieFikFmMDyp1nzI14KGzpHlFH9H+4UMhCbnFYdp1Xo69pO2Mzo0vY Vz+fJL0YFUzwpYRjhdj6laQrAH/YAd4cqfYKhFZe1+ynQK1STOREV0/clRLZRC55eB n+eFW6IswRtD843BX/hAYDtAHj+SZxTGxqBQ6jNF+BDfuDe9hHIGZ3bfeLz2aEQ1Sf kJpNi+XK2j2Vw== Received: from pastel (unknown [45.72.156.100]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 248A9120623; Fri, 17 Jan 2020 09:11:39 -0500 (EST) From: Stefan Monnier Message-ID: References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> Date: Fri, 17 Jan 2020 09:11:37 -0500 In-Reply-To: <87wo9r2fi6.fsf@marxist.se> (Stefan Kangas's message of "Thu, 16 Jan 2020 23:38:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.017 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: 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 (---) >> I think that should use the same condition as set_internal, so that (let >> ((:k :k))) still works. > Thanks, I forgot about that case. We should also look at what the byte-compiler does with this code. I get the impression that the best/simplest course of action is to set `declared_special` to `true` for keywords. Stefan From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Andreas Schwab , Thibault Polge , Stefan Kangas , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.1600598187564 (code B ref 38872); Sun, 20 Sep 2020 10:37:02 +0000 Received: (at 38872) by debbugs.gnu.org; 20 Sep 2020 10:36:27 +0000 Received: from localhost ([127.0.0.1]:48814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJwhm-000092-Vk for submit@debbugs.gnu.org; Sun, 20 Sep 2020 06:36:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJwhk-00008o-GJ for 38872@debbugs.gnu.org; Sun, 20 Sep 2020 06:36:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z33M1HGwRAvPFUWx2FeoulJinm695UjHivN+wCU7Ejo=; b=eA5tUYiEOKIoObuxk9OClTL1ml HsuDcuyTFVVxyzNyguvwce3j8mvVO76gKXPR0eNZcUmhRYjjoC/7WJLS5pyheCNG/YLmm8fRMwu42 VTXhYiV1nCKdyiLtwHE5Pqn0YiTmgPgEC0smWFTgyWnvtHk3lxdubJ5zcRaXwwX+TUXk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJwhZ-0006L4-PW; Sun, 20 Sep 2020 12:36:16 +0200 From: Lars Ingebrigtsen References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> X-Now-Playing: Act's _Laughter, Tears and Rage_: "Chance" Date: Sun, 20 Sep 2020 12:36:12 +0200 In-Reply-To: (Stefan Monnier's message of "Fri, 17 Jan 2020 09:11:37 -0500") Message-ID: <87zh5kpwf7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >>> I think that should use the same condition as set_internal, so that (let >>> ((:k :k))) still works. >> Thanks, I forgot about that case. > > We should also look at what the byte-compiler does wit [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Stefan Monnier writes: >>> I think that should use the same condition as set_internal, so that (let >>> ((:k :k))) still works. >> Thanks, I forgot about that case. > > We should also look at what the byte-compiler does with this code. > > I get the impression that the best/simplest course of action is to set > `declared_special` to `true` for keywords. So this would be just: diff --git a/src/lread.c b/src/lread.c index 8064bf4d0e..f465b451a9 100644 --- a/src/lread.c +++ b/src/lread.c @@ -4104,6 +4104,7 @@ intern_sym (Lisp_Object sym, Lisp_Object obarray, Lisp_Object index) { make_symbol_constant (sym); XSYMBOL (sym)->u.s.redirect = SYMBOL_PLAINVAL; + XSYMBOL (sym)->u.s.declared_special = true; SET_SYMBOL_VAL (XSYMBOL (sym), sym); } Which seems to work? "make check" still works after doing this, and the test case now fails like it should do. Some more context below. But I have to admit I don't understand why this fixes the test case. :-/ intern_sym (Lisp_Object sym, Lisp_Object obarray, Lisp_Object index) { Lisp_Object *ptr; XSYMBOL (sym)->u.s.interned = (EQ (obarray, initial_obarray) ? SYMBOL_INTERNED_IN_INITIAL_OBARRAY : SYMBOL_INTERNED); if (SREF (SYMBOL_NAME (sym), 0) == ':' && EQ (obarray, initial_obarray)) { make_symbol_constant (sym); XSYMBOL (sym)->u.s.redirect = SYMBOL_PLAINVAL; XSYMBOL (sym)->u.s.declared_special = true; SET_SYMBOL_VAL (XSYMBOL (sym), sym); } -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: schwab@linux-m68k.org, thibault@thb.lt, stefan@marxist.se, monnier@iro.umontreal.ca, 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.16005993702618 (code B ref 38872); Sun, 20 Sep 2020 10:57:02 +0000 Received: (at 38872) by debbugs.gnu.org; 20 Sep 2020 10:56:10 +0000 Received: from localhost ([127.0.0.1]:48893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJx0n-0000fy-0h for submit@debbugs.gnu.org; Sun, 20 Sep 2020 06:56:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJx0k-0000fJ-I3 for 38872@debbugs.gnu.org; Sun, 20 Sep 2020 06:56:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33174) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJx0c-0003Lr-Or; Sun, 20 Sep 2020 06:55:54 -0400 Received: from [176.228.60.248] (port=2135 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJx0L-0007kY-T1; Sun, 20 Sep 2020 06:55:49 -0400 Date: Sun, 20 Sep 2020 13:55:36 +0300 Message-Id: <83zh5kzphz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zh5kpwf7.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 20 Sep 2020 12:36:12 +0200) References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> <87zh5kpwf7.fsf@gnus.org> 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: -1.0 (-) > From: Lars Ingebrigtsen > Date: Sun, 20 Sep 2020 12:36:12 +0200 > Cc: Stefan Kangas , Thibault Polge , > Andreas Schwab , 38872@debbugs.gnu.org > > Stefan Monnier writes: > > > I get the impression that the best/simplest course of action is to set > > `declared_special` to `true` for keywords. > > So this would be just: > > diff --git a/src/lread.c b/src/lread.c > index 8064bf4d0e..f465b451a9 100644 > --- a/src/lread.c > +++ b/src/lread.c > @@ -4104,6 +4104,7 @@ intern_sym (Lisp_Object sym, Lisp_Object obarray, Lisp_Object index) > { > make_symbol_constant (sym); > XSYMBOL (sym)->u.s.redirect = SYMBOL_PLAINVAL; > + XSYMBOL (sym)->u.s.declared_special = true; > SET_SYMBOL_VAL (XSYMBOL (sym), sym); > } > > Which seems to work? "make check" still works after doing this, and the > test case now fails like it should do. Some more context below. I see you've installed this change, but the log message doesn''t mention it, nor its reason. can we have some explanation in the comments in the code, please? From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: schwab@linux-m68k.org, thibault@thb.lt, stefan@marxist.se, monnier@iro.umontreal.ca, 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.16005994362733 (code B ref 38872); Sun, 20 Sep 2020 10:58:02 +0000 Received: (at 38872) by debbugs.gnu.org; 20 Sep 2020 10:57:16 +0000 Received: from localhost ([127.0.0.1]:48901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJx1v-0000i1-UU for submit@debbugs.gnu.org; Sun, 20 Sep 2020 06:57:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJx1u-0000hp-Mk for 38872@debbugs.gnu.org; Sun, 20 Sep 2020 06:57:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zQVV8HW40wzMCqWRu4pjTzsygTE66N09H0A+pNeLZ48=; b=KF7xbInLImnIPOGwqaskkEQKtK CNv7c2ai52CzQhVfHkl5q2Z/hLe6MrkBtSZj65XvxcJApna+Vkmhatm5e0PWOBZA0L3gwk+OcD7MS +VdqHoGqb1Oq6TKXOznKauxXx0b8e21D7WXaCCnX03y3JP0YzQ7rj2xSD7rH+QGNsqUg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJx1k-0006aY-N9; Sun, 20 Sep 2020 12:57:08 +0200 From: Lars Ingebrigtsen References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> <87zh5kpwf7.fsf@gnus.org> <83zh5kzphz.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX9/f3e1NFbRUK5 hnW1op8QCxAuICGbZlr///8DNCxcAAAAAWJLR0QIht6VegAAAAd0SU1FB+QJFAo3AuD0FUMAAAGS SURBVDjLxdJBb8IgFABgnE12LZFkV31ael7b2KuNTO9m0DsJeN2gk78/irVW65Jll71D89oPHvAK Qn8O7KN9/GbsBHzggjEUMVahGdtuzhBxHxWlgJ4krNBaqnkH9c4DOA+r0wKtl/Sjg/dI8UoCoGcA D7IH/rkbwA50D3XzFuApzIDrDL5IBjMGpfjBl6IQd6V6EFqpSuvr4vO7lqAJxnGbxMPj+9e2XTcf f2oVCxGGk3O+ubaKC5daltOQ83m3qTavM1hMMlBDCPnRQIFPegxLSC2Rmo+hkQ0BPga7IZjsx6VE vkGTWZUnjwBPi22i7uDAqvglazL1AHCkrOH3UG8rTEp/8gFMA+xfiQH3AMoVcQaS4TkCHEtgWwdc jOG0bJs7gtQZDb7pDwBO/BLqBmh2/mFcQg/H0lhHbdip0BKSDg64iCMPX20Voam6zDjMGhQ544wf H+CyuNhbwrI0d4prJajuoTapLUrIHZXApdJ9Ey04l+dlXjrnIBGqB9CpJx+pubk+55uIq+tF7G7i P8Y3mvK2JKQ7pDAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDktMjBUMTA6NTU6MDIrMDA6MDCb DfyxAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTIwVDEwOjU1OjAyKzAwOjAw6lBEDQAAAABJ RU5ErkJggg== X-Now-Playing: Act's _Laughter, Tears and Rage_: "Heaven Knows I'm Miserable Now" Date: Sun, 20 Sep 2020 12:57:03 +0200 In-Reply-To: <83zh5kzphz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Sep 2020 13:55:36 +0300") Message-ID: <874knspvgg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I see you've installed this change, but the log message doesn''t > mention it, nor its reason. can we have some explanation in the > comments in the code, please? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Eli Zaretskii writes: > I see you've installed this change, but the log message doesn''t > mention it, nor its reason. can we have some explanation in the > comments in the code, please? Did I? I didn't mean to -- I must have forgotten to remove it before checking in something else. I'll back it out again. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Stefan Kangas , Thibault Polge , Andreas Schwab , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.160060641422628 (code B ref 38872); Sun, 20 Sep 2020 12:54:02 +0000 Received: (at 38872) by debbugs.gnu.org; 20 Sep 2020 12:53:34 +0000 Received: from localhost ([127.0.0.1]:49126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJyqU-0005su-Hq for submit@debbugs.gnu.org; Sun, 20 Sep 2020 08:53:34 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJyqS-0005sf-0L for 38872@debbugs.gnu.org; Sun, 20 Sep 2020 08:53:33 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5B41010022B; Sun, 20 Sep 2020 08:53:26 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B89721000C9; Sun, 20 Sep 2020 08:53:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1600606404; bh=urZ9FqB/CH01ybpHw8BpcxY3vWFLem1UduhnhjEAMSM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RYe4QQAdJ1ITgp4ZnFiAYFzy2XLzJuK/aCol7jom0QKBxDkXvzSRotvDdFxm2+dQj sEVJ9F69AEDIQIQTMSOcS4a1LH2b8ZCdsk4kMshK9HE0yc3BFI1tS8GaEROhXuQCOS IWVsemT0HA5Jrlkqh3Hm0iF5gs4QeDA0W5ZlYooQ2NBy2BZ+nmyVsfAo2OVxbkGc/M p+n+xZQunrtAyWjYa1Mh4wJl8UOkTBvGoFycT7tGLxblygs9btXgToHRNll83/tS4R +zfHa3x11k4GKayWXCZf93zxoa6VPIx7JYiCCHspiHiFi9u75pLeymTSMu48lbvDkk uCZWioEqc7bIw== Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7BB921206E3; Sun, 20 Sep 2020 08:53:24 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> <87zh5kpwf7.fsf@gnus.org> Date: Sun, 20 Sep 2020 08:53:23 -0400 In-Reply-To: <87zh5kpwf7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 20 Sep 2020 12:36:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.050 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: 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 (---) > But I have to admit I don't understand why this fixes the test case. :-/ It's the magic of Emacs, Stefan From unknown Sat Jun 14 05:01:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38872: 27.0.50; Keywords can be let-bound Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Andreas Schwab , Thibault Polge , Stefan Kangas , 38872@debbugs.gnu.org Received: via spool by 38872-submit@debbugs.gnu.org id=B38872.160063029027116 (code B ref 38872); Sun, 20 Sep 2020 19:32:02 +0000 Received: (at 38872) by debbugs.gnu.org; 20 Sep 2020 19:31:30 +0000 Received: from localhost ([127.0.0.1]:52696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK53Z-00072z-Fs for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:31:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK53X-0006wA-Hq for 38872@debbugs.gnu.org; Sun, 20 Sep 2020 15:31:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=K3OZ3ZuTPtxCYKaxETZYxcEdiPxjs06WFu4ZIkBK0xs=; b=G3dcG08ZzJEkZ6U5J2w2ZfpB+j /YLGOjXMQIWUC21oLI2qtcq+RRvLGoBk+AlJjksq4zFF+TdICLXNje9jrCB+gTJp/0tQIJdLnQ7mA TOj5NsEz9bGaI6/GjjPRnRg60DVRloPKP14sM4Peok4JKotaJB3KRWvdUbYo8oqFaFfo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kK53N-00016h-Kz; Sun, 20 Sep 2020 21:31:20 +0200 From: Lars Ingebrigtsen References: <87woa97pc8.fsf@thb.lt> <87a76n41sg.fsf@marxist.se> <871rrzmaik.fsf@igel.home> <87wo9r2fi6.fsf@marxist.se> <87zh5kpwf7.fsf@gnus.org> X-Now-Playing: Japan's _Gentlemen Take Polaroids_: "Burning Bridges" Date: Sun, 20 Sep 2020 21:31:16 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 20 Sep 2020 08:53:23 -0400") Message-ID: <87d02gkzy3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> But I have to admit I don't understand why this fixes the test case. :-/ > > It's the magic of Emacs, > > Stefan OK; applied to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Stefan Monnier writes: >> But I have to admit I don't understand why this fixes the test case. :-/ > > It's the magic of Emacs, > > Stefan OK; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 20 15:31:36 2020 Received: (at control) by debbugs.gnu.org; 20 Sep 2020 19:31:36 +0000 Received: from localhost ([127.0.0.1]:52699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK53f-00078Y-QM for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:31:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK53d-000725-IE for control@debbugs.gnu.org; Sun, 20 Sep 2020 15:31:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hh651ZNGkJZS1VZek7U3n0frTQW0L2lkKs/hCeSGBlE=; b=roxFFXBdbZffT0mcG1wyEKAoGg aRGfD2XwFoy+yx8QyPYt/pXYrYyLMyKj85aRa7aBhbv//BKKlskO49aTMhSeKC4MKh1QDbmHOeZSc lD9le7ySHvP9aKeHZabo+/A502Ic1+ExMpl6LJCE0bbCeFsuj/EuK0n0YltPVJrNGwuc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kK53V-00016p-RA for control@debbugs.gnu.org; Sun, 20 Sep 2020 21:31:28 +0200 Date: Sun, 20 Sep 2020 21:31:24 +0200 Message-Id: <87bli0kzxv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38872 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 38872 fixed close 38872 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 38872 fixed close 38872 28.1 quit