X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Aaron Jensen <aaronjensen@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 14:53:02 +0000 Resent-Message-ID: <handler.67991.B.170334313028981 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 67991 <at> debbugs.gnu.org Cc: monnier@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170334313028981 (code B ref -1); Sat, 23 Dec 2023 14:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Dec 2023 14:52:10 +0000 Received: from localhost ([127.0.0.1]:48844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH3MH-0007XM-Ip for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 09:52:10 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1rH3ME-0007Wp-Ua for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 09:52:07 -0500 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 <aaronjensen@HIDDEN>) id 1rH3M4-0008Jn-6A for bug-gnu-emacs@HIDDEN; Sat, 23 Dec 2023 09:51:56 -0500 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>) id 1rH3M1-000440-Px for bug-gnu-emacs@HIDDEN; Sat, 23 Dec 2023 09:51:55 -0500 Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-dafe04717baso2156596276.1 for <bug-gnu-emacs@HIDDEN>; Sat, 23 Dec 2023 06:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703343112; x=1703947912; darn=gnu.org; h=mime-version:message-id:date:cc:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=/155dYtIJk2I/Hy7qy95Tkh/Ii8dxvch8o8ppVeQzfU=; b=I5QDb0gNZuljA94XIHK1r/dFKZ1vyEqGJfw1PVez2wAac31Qui7fXJWw6JRnDBtflW cm7yUKM1I5DF8NemOFLsAfTWMAG0Q3+yqpy2G+mfvLEJ6hWjWSXk/9NelezdKvx6onAW N1dYg4JUeOHPDdPZ6Q2N1JeO/aKBa6ht+CvRwjDqu0LY0VcN8eUEzXs0Vta0Jm93JiDT z/uBFcA5+v04d4didcWdImrk2vhWPBkclwMsbiuYox4TLIhJYfyXrFYRSIV0vgHHnt3M 4MCVpHyZfTdUKD9bCY+dN5n73UujreHey4ldmHmRKzlkW9JDsmNYBcRPleDf2GTSG9Gq IvcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703343112; x=1703947912; h=mime-version:message-id:date:cc:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/155dYtIJk2I/Hy7qy95Tkh/Ii8dxvch8o8ppVeQzfU=; b=XgQEa0yZ8FvSSsjE92QzMYvRoO6Nvx8NXj70gn+vHdZRsXV5zLlEwI4sCRDUKsgg3v piE0Bik9o6uwALTufEIaSxhz5Wk/mzHpzqRJ1Cs7Ovl0nf+mx4X3YNa4BxcGTmaUaGHn b6OSowNKJ4FJUBVyhgO7maBGEd/uMXOFgJQeAgxvzrZtIv/zopEkP52OQvW7ZT+mSshu Yzt3tG3KjRfsIAci3V70ZFfLlXuG6aYuveFNuHWZS1TFI5b/aq5dSg0+R3ghCDnDzNaB d4IXR/4Vdo8ZYSCBE/mGYDYtd031ukKqpw3eHjNy0mVGs8xY6qSBSnao1/MyBnHgTCye 5AZQ== X-Gm-Message-State: AOJu0Yz/P7l69V2gSnC+6S2iYCH7lUrO2v1d9CoXVkaTE87478m8e3tb nSDSMNeS7bIhW4GltJKhGq6CR4vXkpQ= X-Google-Smtp-Source: AGHT+IGU/1jWlSoY6BCkS4BJcruD61jXBSQhlyeCDGrArtGuX71yGS+HOOvnC7YzYp+761zV4mOE/w== X-Received: by 2002:a25:b291:0:b0:dbc:ceab:4c1c with SMTP id k17-20020a25b291000000b00dbcceab4c1cmr1968664ybj.7.1703343112214; Sat, 23 Dec 2023 06:51:52 -0800 (PST) Received: from Aarons-MacBook-Pro.local (c-76-101-201-183.hsd1.fl.comcast.net. [76.101.201.183]) by smtp.gmail.com with ESMTPSA id 201-20020a2502d2000000b00d9cceda7947sm2339996ybc.3.2023.12.23.06.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 06:51:51 -0800 (PST) From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 23 Dec 2023 09:51:50 -0500 Message-ID: <m2edfdx989.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::b31; envelope-from=aaronjensen@HIDDEN; helo=mail-yb1-xb31.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) After commits: 0fde935b66e43e4d7ec137ba6195de993168587a a63b206fbde2ead91f1053d80a275f8850e5ffce boundp returns nil here, rather than t, like it used to: (format-mode-line '(:eval (let* ((some-var "some-value") (_ (message "Bound: %S" (boundp 'some-var)))) (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) This has an impact on a particular package I use for my modeline, which can be worked around if this behavior is expected. It seemed a significant chagne, so I wanted to report it, in case it was not expected. In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1.1 (Build 23B2082)) of 2023-11-17 built on Aarons-MacBook-Pro.local Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.2.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp --infodir=/opt/homebrew/Cellar/emacs-plus@30/30.0.50/share/info/emacs --prefix=/opt/homebrew/Cellar/emacs-plus@30/30.0.50 --with-xml2 --with-gnutls --with-native-compilation --without-compress-install --without-dbus --without-imagemagick --with-modules --with-rsvg --with-webp --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w -pipe -mmacosx-version-min=14 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' 'CPPFLAGS=-I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/icu4c/include -isystem/opt/homebrew/include -F/opt/homebrew/Frameworks -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' 'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/lib -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -L/opt/homebrew/opt/libgccjit/lib'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: windmove-mode: t global-flycheck-mode: t flycheck-mode: t global-evil-mc-mode: t evil-mc-mode: t global-git-commit-mode: t transient-posframe-mode: t corfu-prescient-mode: t corfu-history-mode: t eval-sexp-fu-flash-mode: t eros-mode: t speed-of-thought-mode: t global-evil-surround-mode: t evil-surround-mode: t tabspaces-mode: t flyspell-mode: t org-indent-mode: t org-appear-mode: t orgonomic-mode: t org-superstar-mode: t form-feed-mode: t org-roam-db-autosync-mode: t evil-org-mode: t undo-fu-session-global-mode: t undo-fu-session-mode: t ws-butler-global-mode: t ws-butler-mode: t yas-global-mode: t yas-minor-mode: t vertico-prescient-mode: t prescient-persist-mode: t vertico-mouse-mode: t vertico-mode: t mini-frame-mode: t better-jumper-mode: t better-jumper-local-mode: t ns-auto-titlebar-mode: t global-anzu-mode: t anzu-mode: t which-key-posframe-mode: t which-key-mode: t gcmh-mode: t xterm-mouse-mode: t global-auto-revert-mode: t save-place-mode: t winner-mode: t savehist-mode: t delete-selection-mode: t recentf-mode: t repeat-mode: t +popup-mode: t evil-mode: t evil-local-mode: t server-mode: t leader-key-leader-override-mode: t global-leader-key-leader-override-mode: t elpaca-use-package-mode: t override-global-mode: t global-display-line-numbers-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t prettify-symbols-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t minibuffer-regexp-mode: t line-number-mode: t auto-fill-function: #[128 \304\300\301%3#\207 [yas--auto-fill org-auto-fill-function :around nil apply] 5 advice] transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /Users/aaronjensen/.emacs.d/elpaca/builds/lispy/elpa hides /Users/aaronjensen/.emacs.d/elpaca/builds/ivy/elpa Features: (shadow sort mail-extr emacsbug evil-matchit-simple evil-matchit-prog evil-matchit evil-matchit-sdk semantic/lex semantic/fw evil-collection-help hippie-exp evil-collection-helpful helpful cc-langs cc-vars cc-defs trace info-look elisp-refs hide-mode-line info magit-patch magit-subtree magit-gitignore magit-ediff evil-collection-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util magit-extras vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference elpaca-log elpaca-ui popup-mode-core windmove evil-terminal-cursor-changer color executable flycheck evil-mc evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands evil-mc-common magit-delta xterm-color evil-collection-magit magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient-posframe transient magit-git magit-base crm vertico-directory cape corfu-prescient corfu-history corfu dtrt-indent eval-sexp-fu eros lispyville lispy lispy-inline avy etags fileloop evil-collection-edebug edebug lispy-tags mode-local zoutline elisp-def ert ewoc evil-collection-xref xref f f-shortdoc sotlisp skeleton elec-pair envrc inheritenv evil-surround evil-matchit-evil-setup tabspaces dired-x vc vc-git diff-mode vc-dispatcher flyspell ispell org-indent org-appear orgonomic org-superstar form-feed oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org-download url-http url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-cookie generate-lisp-file url-domsuf url-util url-gw nsm puny async vulpea vulpea-meta vulpea-select vulpea-buffer vulpea-db s vulpea-utils vulpea-note org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db emacsql-sqlite-builtin sqlite org-roam-utils org-roam-compat org-roam org-mac-link org-goto org-capture org-attach emacsql-sqlite emacsql-sqlite-common emacsql emacsql-compiler magit-section cursor-sensor dash evil-org-agenda evil-org imenu 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 org-agenda ox-ascii ox-gfm ox-md ox-html table ox-publish ox org-element org-persist xdg org-id org-refile avl-tree generator org-tempo tempo ob-shell shell org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec undo-fu-session ws-butler yasnippet vertico-prescient prescient char-fold vertico-mouse vertico mini-frame better-jumper ns-auto-titlebar evil-anzu anzu which-key-posframe posframe evil-collection-which-key which-key gcmh help-fns radix-tree cl-print xt-mouse autorevert filenotify saveplace winner hl-line evil-collection-ibuffer ibuffer ibuffer-loaddefs savehist delsel popup-mode-hacks evil-collection-debug debug backtrace find-func recentf tree-widget repeat orderless popup-mode popup-mode-settings evil-collection annalist evil-little-word cus-edit cus-start cus-load wid-edit pp evil evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core project advice evil-common thingatpt rect evil-vars memoize nano-modeline nano-light-theme face-remap nano-theme disp-table gcmh-autoloads copy-as-format-autoloads pdf-tools-autoloads tablist-autoloads restclient-autoloads vterm-autoloads dumb-jump-autoloads popup-autoloads haml-mode-autoloads emmet-mode-autoloads terraform-mode-autoloads hcl-mode-autoloads dockerfile-mode-autoloads yaml-mode-autoloads json-mode-autoloads json-snatcher-autoloads grip-mode-autoloads lua-mode-autoloads bundler-autoloads inf-ruby-autoloads ruby-refactor-autoloads evil-ruby-text-objects-autoloads sotlisp-autoloads elisp-def-autoloads lispyville-autoloads lispy-autoloads iedit-autoloads swiper-autoloads ivy-autoloads zoutline-autoloads eros-autoloads eval-sexp-fu-autoloads web-mode-autoloads ripgrep-capf-autoloads git-link-autoloads consult-git-commit-autoloads git-timemachine-autoloads magit-delta-autoloads xterm-color-autoloads prettier-autoloads iter2-autoloads nvm-autoloads editorconfig-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads lsp-ui-autoloads lsp-mode-autoloads spinner-autoloads markdown-mode-autoloads denote-autoloads imenu-list-autoloads org-superstar-autoloads ox-gfm-autoloads org-pandoc-import-autoloads gnuplot-autoloads org-download-autoloads async-autoloads org-journal-autoloads vulpea-autoloads org-roam-autoloads emacsql-autoloads orgonomic-autoloads org-drill-autoloads persist-autoloads org-appear-autoloads org-mac-link-autoloads evil-org-autoloads evil-terminal-cursor-changer-autoloads transient-posframe-autoloads better-jumper-autoloads buffer-move-autoloads rotate-autoloads mini-frame-autoloads embark-consult-autoloads embark-autoloads consult-autoloads orderless-autoloads cape-autoloads corfu-prescient-autoloads corfu-autoloads vertico-prescient-autoloads vertico-autoloads prescient-autoloads tabspaces-autoloads which-key-posframe-autoloads which-key-autoloads popup-mode-autoloads hide-mode-line-autoloads evil-anzu-autoloads anzu-autoloads titlecase-autoloads wgrep-autoloads yasnippet-autoloads form-feed-autoloads drag-stuff-autoloads dtrt-indent-autoloads ws-butler-autoloads evil-collection-autoloads annalist-autoloads evil-mc-autoloads evil-numbers-autoloads speeddating-autoloads evil-little-word-autoloads evil-matchit-autoloads evil-nerd-commenter-autoloads evil-visualstar-autoloads evil-surround-autoloads vundo-autoloads undo-fu-session-autoloads ztree-autoloads dwim-shell-command-autoloads treemacs-tab-bar-autoloads treemacs-magit-autoloads magit-autoloads git-commit-autoloads magit-section-autoloads with-editor-autoloads treemacs-evil-autoloads evil-autoloads goto-chg-autoloads treemacs-autoloads ace-window-autoloads avy-autoloads pfuture-autoloads ht-autoloads cfrs-autoloads all-the-icons-autoloads rainbow-mode-autoloads posframe-autoloads ns-auto-titlebar-autoloads nano-modeline-autoloads nano-theme-autoloads memoize-autoloads envrc-autoloads inheritenv-autoloads helpful-autoloads f-autoloads elisp-refs-autoloads s-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads server pcase hydra lv url-parse auth-source eieio eieio-core password-cache json map url-vars edmacro kmacro byte-opt compdef derived leader-key bind-map no-littering compat compdef-autoloads hydra-autoloads lv-autoloads leader-key-autoloads bind-map-autoloads no-littering-autoloads compat-autoloads elpaca-use-package use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core elpaca-use-package-autoloads compile text-property-search comint ansi-osc ansi-color ring time-date comp-run cl-macs elpaca elpaca-process elpaca-autoloads comp cl-seq comp-cstr comp-common warnings subr-x rx gv bytecomp byte-compile cl-extra help-mode icons cl-loaddefs cl-lib display-line-numbers rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1715062 1710222) (symbols 48 59369 9) (strings 32 463445 162848) (string-bytes 1 12748013) (vectors 16 187678) (vector-slots 8 3436760 1120751) (floats 8 1816 4805) (intervals 56 40244 7368) (buffers 992 34))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Aaron Jensen <aaronjensen@HIDDEN> Subject: bug#67991: Acknowledgement (30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935) Message-ID: <handler.67991.B.170334313028981.ack <at> debbugs.gnu.org> References: <m2edfdx989.fsf@HIDDEN> X-Gnu-PR-Message: ack 67991 X-Gnu-PR-Package: emacs Reply-To: 67991 <at> debbugs.gnu.org Date: Sat, 23 Dec 2023 14:53:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 67991 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 67991: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67991 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 15:11:01 +0000 Resent-Message-ID: <handler.67991.B67991.170334420510669 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Jensen <aaronjensen@HIDDEN> Cc: monnier@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170334420510669 (code B ref 67991); Sat, 23 Dec 2023 15:11:01 +0000 Received: (at 67991) by debbugs.gnu.org; 23 Dec 2023 15:10:05 +0000 Received: from localhost ([127.0.0.1]:51063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH3dd-0002m0-Fk for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:10:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rH3da-0002lI-88 for 67991 <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:10:04 -0500 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 <eliz@HIDDEN>) id 1rH3dN-0007rw-1A; Sat, 23 Dec 2023 10:09:51 -0500 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=IK//BTmnc+Z+jMApx96CoaKu/jsNa0qOTBaYHlZLBg8=; b=ehCCzwwPXeO4 l1iK+o1NycpRjEYD+STE4rIDaQtjBZskTqtSDVumELwYyuaA6couPhWl001DAveqLo3StLzor2XX5 ce1CFAt0LtgZ/j/S0fBgU0hkV15Ubw2hHsVfz8mUTgO26FRFGUpiGqQZCZaSfpqHKjxSoqRcE/fC0 iYCzoKzyxU6UWwfbNih1CRAHL975q6N5jkDAZA/rjMP1XV1PcGeB/8xcUVpB9G27cT7G5KApE5mAJ vz6lYDSZiG+7HyXMHKyvP5sEdtEDhxOu2t3e2GS9Gyl32xjmhNl+a9QQqvD/uFJltneWcMQvsbx1t i/k7x1CdEbpWaBtWusWEbA==; Date: Sat, 23 Dec 2023 17:09:40 +0200 Message-Id: <83o7ehc5vv.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <m2edfdx989.fsf@HIDDEN> (message from Aaron Jensen on Sat, 23 Dec 2023 09:51:50 -0500) References: <m2edfdx989.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: monnier@HIDDEN > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 23 Dec 2023 09:51:50 -0500 > > > After commits: > > 0fde935b66e43e4d7ec137ba6195de993168587a > a63b206fbde2ead91f1053d80a275f8850e5ffce > > boundp returns nil here, rather than t, like it used to: > > (format-mode-line > '(:eval (let* ((some-var "some-value") > (_ (message "Bound: %S" (boundp 'some-var)))) > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) If I evaluate this: (let* ((some-var "some-value") (_ (message "Bound: %S" (boundp 'some-var)))) (message "Var: %S, Bound: %S" some-var (boundp 'some-var))) in *scratch*, I also get nil and nil, both in Emacs 29 and with the latest master branch. So why would you expect to see t when you evaluate this as part of format-mode-line? Or what am I missing?
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 15:22:01 +0000 Resent-Message-ID: <handler.67991.B67991.170334492021795 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Jensen <aaronjensen@HIDDEN> Cc: monnier@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170334492021795 (code B ref 67991); Sat, 23 Dec 2023 15:22:01 +0000 Received: (at 67991) by debbugs.gnu.org; 23 Dec 2023 15:22:00 +0000 Received: from localhost ([127.0.0.1]:51069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH3p9-0005fT-QE for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:22:00 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:60546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rH3p7-0005f6-UF for 67991 <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:21:59 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a2330a92ae6so326822766b.0 for <67991 <at> debbugs.gnu.org>; Sat, 23 Dec 2023 07:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703344906; x=1703949706; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/S3SOKKRjmK5JmxunfuR9CBN/Nmt174tPhcPRAeeS6I=; b=LMuH8RNhH3m4qluWMKySiPvIEFwPag6YTKhDpUIjCXu389Ds5OeNcCNQOFrXMD0CNz eeRcyiMJPVKgO37qdGpPijga8u+lqcj1m5U23y4RsMwgaKdnw7vYCoOYKDfpQ4QoBhbE AHQga9Wu/TLsWDDTP4oTnWcxjioUc2xGDblV3Rh+KZZzK8aGMudUsM/jqfXiREC6E9Zr fDMPNgOf0D51xvV3pxduIGvD9KPNk064KFmg36tiewEJNNIz9hesjgYuluJwUvnqXRhj hGzB4h+xTy2hulmeit6FxAc20W90yJPLjJfq0TJTMjPyhvVCZzLtfbTrL1qcsygJpLAA my4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703344906; x=1703949706; h=mime-version:user-agent: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=/S3SOKKRjmK5JmxunfuR9CBN/Nmt174tPhcPRAeeS6I=; b=g2Dk10ZiMVSC71HbLI3rwQb47O5OO7fhbOPJskPc26YNoxr6ACvu3gN68jTqLBPp9K JHZJ3G8yPt65Y5nZJOlJV5b1nIRjBRjRTpZJomXs/KNMgkIqyrAjBFnEj5FuLO8qEhDg tWyppz4lkdZRDx7WnesYd86VQhLcUoram2Q8EN4tjbzgkYDm2GsEhcl0nAyXRnF5113+ eTIfk+nvaZRDHmWRp0aolMXJCEg3VNR2R4Wi1Mmn4w77EQRqnBaaJtvyZQVEMBLq5Pap zWolf1WgRNwKnYSs5hJqcQPif8FSj7ErDwaHfqpAoHfiHt4x2areSFK8FbI5hjCiv2Fp o4zw== X-Gm-Message-State: AOJu0YzPZdl++BikAZ5I1HGRLOkhk6xQwwH448+4FMWvqZjX2lLmQhaC SbvVezAOJIHA+btfD1f4wLY= X-Google-Smtp-Source: AGHT+IEOFXNO+6Y2Nzhj4rR3i9mIR8mR0HH/NhXLf4f5d/4Thbs4+pHk8IMzVoXZpcxesxQolXVyBw== X-Received: by 2002:a17:906:196:b0:a26:8541:f294 with SMTP id 22-20020a170906019600b00a268541f294mr1577744ejb.30.1703344906035; Sat, 23 Dec 2023 07:21:46 -0800 (PST) Received: from Pro.fritz.box (pd9e362fe.dip0.t-ipconnect.de. [217.227.98.254]) by smtp.gmail.com with ESMTPSA id ge24-20020a170907909800b00a1d5c52d628sm3188701ejb.3.2023.12.23.07.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 07:21:45 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2edfdx989.fsf@HIDDEN> (Aaron Jensen's message of "Sat, 23 Dec 2023 09:51:50 -0500") References: <m2edfdx989.fsf@HIDDEN> Date: Sat, 23 Dec 2023 16:21:44 +0100 Message-ID: <m2r0jddjw7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > After commits: > > 0fde935b66e43e4d7ec137ba6195de993168587a > a63b206fbde2ead91f1053d80a275f8850e5ffce > > boundp returns nil here, rather than t, like it used to: > > (format-mode-line > '(:eval (let* ((some-var "some-value") > (_ (message "Bound: %S" (boundp 'some-var)))) > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) > > This has an impact on a particular package I use for my modeline, which > can be worked around if this behavior is expected. It seemed a > significant chagne, so I wanted to report it, in case it was not expected. I don't know why that would have changed things with Stefan's commit, but are your sure that some-var is declared special (has a defvar, for instance)? When it is, boundp returns t here.
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Aaron Jensen <aaronjensen@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 15:53:01 +0000 Resent-Message-ID: <handler.67991.B67991.170334676912796 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Cc: monnier@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170334676912796 (code B ref 67991); Sat, 23 Dec 2023 15:53:01 +0000 Received: (at 67991) by debbugs.gnu.org; 23 Dec 2023 15:52:49 +0000 Received: from localhost ([127.0.0.1]:51099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH4Iz-0003KK-HU for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:52:49 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:57803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1rH4Ix-0003K3-05 for 67991 <at> debbugs.gnu.org; Sat, 23 Dec 2023 10:52:47 -0500 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2cc6d9b4c6aso30211361fa.3 for <67991 <at> debbugs.gnu.org>; Sat, 23 Dec 2023 07:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703346754; x=1703951554; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=W8LpoNy1Ery01K4ou8KkfbhLZ8wkrr/wuZM1RsOuvxc=; b=ObBsRAU+0vI9q1D85a+RX4Sgbo/KK1oxIdBdJ6tZdmBt6P5mbi9StrcnBUsL/AzWmL ZuB+LulWricmWdqewFXhkvLEUgk+zKRV2N0fMXDcwSKDSR+NAameXuqANRNXOeZKa6eC s7kwjjxDiK9qJ89vivkr2WAznAwn+9GO2IxxzBS4aOR+TEMKbrhbj/QRgSS1YzyQBSlq l2SHyblxoqfOZmeF5xLmO3Wu3hFcEJew/HnLWM5nxKkHUJ69xxbTqUJeR78XMSmRUCWd KiTvZCxM+KXICWXHf4NC9ZNDadimpVurTEA4G1Z9YmSjdxKcU2kB0nN4STTVc3rnbCs+ X1zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703346754; x=1703951554; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W8LpoNy1Ery01K4ou8KkfbhLZ8wkrr/wuZM1RsOuvxc=; b=adGXSWvnuVr5QYAzEfLqqZMuskEwNl47WGIbfwW3FyWV+gNtVSzmm8m19GIn9ApfCo pSt5BEeMB2bxpMzPE5Nfhutl3fSmFQI7yBUK2dZDE6r6dVbKHS4jMRrW6sERjmwm7aC1 j6s68G+v6RoMCrQFPYYn6rTd0R5QcvYGgnjFgeSZD0dEq8HfQEIwIa5h63+pg9wBm/SL X2vgyTmtkcsyBg2RM/LvS54+1KWJ5lVkw8vd1flqRmcC6Z56h8hH8vWajDbKfiFFb5AD ZD41QPLzgL2AlL4VG9/GFfLPlxZDJtm+W7z5A5+QXMZyrvjcWFZlfMDpoMZ3Mg0ZCmk9 GmEA== X-Gm-Message-State: AOJu0YzXwz7ZK4s3zkNU2HvaIUkWjiGM1hIoxWFIkkCsK9KpmFDr9nXY V1CywVcDGqmYVs6+V0DkeBdlhdQWysJxAs1OTco= X-Google-Smtp-Source: AGHT+IGDm4pL6VNJ7Ay86uFGa8ChcbnrjxUq8i4vOTf1aN7k9lHwf9h5MNc6CjHGHI7l4jQZZbmnfnR9qBMZIFrdnv0= X-Received: by 2002:a2e:8606:0:b0:2cb:2d48:334 with SMTP id a6-20020a2e8606000000b002cb2d480334mr1416954lji.60.1703346754098; Sat, 23 Dec 2023 07:52:34 -0800 (PST) MIME-Version: 1.0 References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> In-Reply-To: <m2r0jddjw7.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 23 Dec 2023 10:52:22 -0500 Message-ID: <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Sat, Dec 23, 2023 at 10:21=E2=80=AFAM Gerd M=C3=B6llmann <gerd.moellmann= @gmail.com> wrote: > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > > After commits: > > > > 0fde935b66e43e4d7ec137ba6195de993168587a > > a63b206fbde2ead91f1053d80a275f8850e5ffce > > > > boundp returns nil here, rather than t, like it used to: > > > > (format-mode-line > > '(:eval (let* ((some-var "some-value") > > (_ (message "Bound: %S" (boundp 'some-var)))) > > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))= ) > > > > This has an impact on a particular package I use for my modeline, which > > can be worked around if this behavior is expected. It seemed a > > significant chagne, so I wanted to report it, in case it was not expect= ed. > > I don't know why that would have changed things with Stefan's commit, > but are your sure that some-var is declared special (has a defvar, for > instance)? When it is, boundp returns t here. It's not in the package in question. But even if I defvar w/o giving it a value, it does not return t: (defvar some-var) (let* ((some-var "some-value") (_ (message "Bound: %S" (boundp 'some-var)))) (message "Var: %S, Bound: %S" some-var (boundp 'some-var))) (format-mode-line '(:eval (let* ((some-var "some-value") (_ (message "Bound: %S" (boundp 'some-var)))) (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) The first returns t, the second does not. As to your question, Eli, I don't know. If it shouldn't return nil then I can report that downstream and they can fix it there. Aaron
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 16:14:02 +0000 Resent-Message-ID: <handler.67991.B67991.170334801424932 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Jensen <aaronjensen@HIDDEN> Cc: monnier@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170334801424932 (code B ref 67991); Sat, 23 Dec 2023 16:14:02 +0000 Received: (at 67991) by debbugs.gnu.org; 23 Dec 2023 16:13:34 +0000 Received: from localhost ([127.0.0.1]:51124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH4d4-0006U3-6O for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 11:13:34 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:45458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rH4d2-0006Tp-AR for 67991 <at> debbugs.gnu.org; Sat, 23 Dec 2023 11:13:32 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40b5155e154so34376275e9.3 for <67991 <at> debbugs.gnu.org>; Sat, 23 Dec 2023 08:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703348000; x=1703952800; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BI9rUkClqMtwFYsAjWAvMcVu5GfmHMa0/WA1a7N0tK4=; b=P1WN/+MVTP7qe3J2lQKBGgSEamZbqG8EUcBqgvCoGCKpgJ6QGi4Fem9ut/W5hzoCJ6 JjKsHqxQi6kWKnJUnW+nr3IwkurNi0m5VLUOqnQAaAo8sAUc8HZguqn9YslCqGg4W+ib a0jiBqaryZXiX82NhCQG5ORUcd/o2GIixfinKWErZLE2qt1kS/SFZUHH6xY4JIDMCzcu IrHe5Z52EccaV8Vh4xU2QEk2hamv35hNF3daCMD2fHio6Piqm15kXpSpibUla31MATxM vK0DHXCLxPaqf2qv1JO0jiihPyjdUNSRECt8B6+aluxORQ8hacSd5RqR8QI9OWF9b+DT J5ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703348000; x=1703952800; h=content-transfer-encoding:mime-version:user-agent: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=BI9rUkClqMtwFYsAjWAvMcVu5GfmHMa0/WA1a7N0tK4=; b=X2sUrv+RqKKcp18vvmAxjSgB4cIocKjXrr1sEsSCBaidNirdNxW3no/xgM26vOXzNh b9DuRwDYhoCuouUo/cfqKuMMiOIMb8tJiW/igr4v17KC2JIy/tpCYEc5TcdjHq9Vd4LS f/WGWCDyQLTa+BAE1S105tiERy7bsfsM3X7e+zATvzq4WwceXxnJjjebiFeI2AxI+z5G CDDHttaHjmFQF/ZgcipskExyTg5/+zdibc/j/zPplpQqkLGJ035CiAO/ltSKU2JDxTB2 jllVzv/PKE3ypcScX/FG+KWdcvlBbgu4EVc+T6UoT18V2T/+zz5Sw2ENLl4m7spJoF46 LSDw== X-Gm-Message-State: AOJu0YwRJnOo0uPEKsctNT5ymfDXXfIR7oSrYYVbs33Ro/i4upEmc4bI Y26/qw4PQpAXUghGgOJNt8FClh8pStE= X-Google-Smtp-Source: AGHT+IEsA/uxp25P1XHSHT7Ktp4awf/M9/ajx0ceOKDXIMwusLVtP6eZvkS+6sd7kw1fk2PDiXJVqQ== X-Received: by 2002:a7b:c3c8:0:b0:40d:421e:ddb with SMTP id t8-20020a7bc3c8000000b0040d421e0ddbmr1729621wmj.227.1703348000265; Sat, 23 Dec 2023 08:13:20 -0800 (PST) Received: from Pro.fritz.box (pd9e362fe.dip0.t-ipconnect.de. [217.227.98.254]) by smtp.gmail.com with ESMTPSA id gi20-20020a1709070c9400b00a26a25d9205sm3088548ejc.16.2023.12.23.08.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 08:13:19 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> (Aaron Jensen's message of "Sat, 23 Dec 2023 10:52:22 -0500") References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> Date: Sat, 23 Dec 2023 17:13:18 +0100 Message-ID: <m2msu0ew2p.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > On Sat, Dec 23, 2023 at 10:21=E2=80=AFAM Gerd M=C3=B6llmann <gerd.moellma= nn@HIDDEN> wrote: >> >> Aaron Jensen <aaronjensen@HIDDEN> writes: >> >> > After commits: >> > >> > 0fde935b66e43e4d7ec137ba6195de993168587a >> > a63b206fbde2ead91f1053d80a275f8850e5ffce >> > >> > boundp returns nil here, rather than t, like it used to: >> > >> > (format-mode-line >> > '(:eval (let* ((some-var "some-value") >> > (_ (message "Bound: %S" (boundp 'some-var)))) >> > (message "Var: %S, Bound: %S" some-var (boundp 'some-var)))= )) >> > >> > This has an impact on a particular package I use for my modeline, which >> > can be worked around if this behavior is expected. It seemed a >> > significant chagne, so I wanted to report it, in case it was not expec= ted. >> >> I don't know why that would have changed things with Stefan's commit, >> but are your sure that some-var is declared special (has a defvar, for >> instance)? When it is, boundp returns t here. > > It's not in the package in question. It should have a defvar, to make sure that the binding of some-var in the let* behaves as expected also when lexical-binding it t, which it is in lisp-interaction-mode, for example. > But even if I defvar w/o giving > it a value, it does not return t: That's strange, indeed: (defvar some-var2) =3D> some-var2 (special-variable-p 'some-var2) =3D> nil (defvar some-var3 nil) =3D> some-var3 (special-variable-p 'some-var3) =3D> t Does someone know if that's intended for some reason? Looks like a bug to me.
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Dec 2023 16:43:01 +0000 Resent-Message-ID: <handler.67991.B67991.170334976915263 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Aaron Jensen <aaronjensen@HIDDEN> Cc: gerd.moellmann@HIDDEN, monnier@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170334976915263 (code B ref 67991); Sat, 23 Dec 2023 16:43:01 +0000 Received: (at 67991) by debbugs.gnu.org; 23 Dec 2023 16:42:49 +0000 Received: from localhost ([127.0.0.1]:51132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rH55M-0003y5-Vc for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 11:42:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rH55L-0003xt-9A for 67991 <at> debbugs.gnu.org; Sat, 23 Dec 2023 11:42:47 -0500 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 <eliz@HIDDEN>) id 1rH559-0006hO-UJ; Sat, 23 Dec 2023 11:42:35 -0500 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=TTd05zakqAz18C2cLSIjzuXe+RvMExaqVl06mBrvrCM=; b=GiL2H8MQ2uHhCOqou+L1 0G9BNPZkZ5064R74YSuZkgXmXH0j+i7ZgqsSTX7WhMH7zIS9U8Hnx6Xmbz7fIJKZF3kYOc+ofD4Kh HMQ3W9HfQKl0G4NY8MxLt05kKg8fMjeVe2MIID3nBxgRnoPcjpjhZOR7FmIqOShtP1B3mpiuXs387 9BYJKDDtYa5dQXTZE/o0EtD4y1XxhVGTtKMnATC9Rx/EVTZYh5m+u3Eoj1uK5NmyzErWweuBjhQ9c HUhpx7/mr5N4BcuA2UtE5E7PHqenM3w2xHL9gNEmuz/7tJLOkV5uU6PyfCJyfttp/J2mwNjZb+H8w ThSyAH3fLZ2sMg==; Date: Sat, 23 Dec 2023 18:42:26 +0200 Message-Id: <83msu0dg5p.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> (message from Aaron Jensen on Sat, 23 Dec 2023 10:52:22 -0500) References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: monnier@HIDDEN, 67991 <at> debbugs.gnu.org > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 23 Dec 2023 10:52:22 -0500 > > On Sat, Dec 23, 2023 at 10:21 AM Gerd Möllmann <gerd.moellmann@HIDDEN> wrote: > > > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > > > > After commits: > > > > > > 0fde935b66e43e4d7ec137ba6195de993168587a > > > a63b206fbde2ead91f1053d80a275f8850e5ffce > > > > > > boundp returns nil here, rather than t, like it used to: > > > > > > (format-mode-line > > > '(:eval (let* ((some-var "some-value") > > > (_ (message "Bound: %S" (boundp 'some-var)))) > > > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) > > > > > > This has an impact on a particular package I use for my modeline, which > > > can be worked around if this behavior is expected. It seemed a > > > significant chagne, so I wanted to report it, in case it was not expected. > > > > I don't know why that would have changed things with Stefan's commit, > > but are your sure that some-var is declared special (has a defvar, for > > instance)? When it is, boundp returns t here. > > It's not in the package in question. But even if I defvar w/o giving > it a value, it does not return t: > > (defvar some-var) > > (let* ((some-var "some-value") > (_ (message "Bound: %S" (boundp 'some-var)))) > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))) > > (format-mode-line > '(:eval (let* ((some-var "some-value") > (_ (message "Bound: %S" (boundp 'some-var)))) > (message "Var: %S, Bound: %S" some-var (boundp 'some-var))))) > > The first returns t, the second does not. This one will return t: (format-mode-line '(:eval (progn (defvar some-var) (let* ((some-var "some-value") (_ (message "Bound: %S" (boundp 'some-var)))) (message "Var: %S, Bound: %S" some-var (boundp 'some-var)))))) > As to your question, Eli, I don't know. If it shouldn't return nil > then I can report that downstream and they can fix it there. Let's wait for Stefan to chime in, he made the change you blamed.
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 24 Dec 2023 07:14:01 +0000 Resent-Message-ID: <handler.67991.B67991.17034020365438 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: monnier@HIDDEN, Aaron Jensen <aaronjensen@HIDDEN>, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.17034020365438 (code B ref 67991); Sun, 24 Dec 2023 07:14:01 +0000 Received: (at 67991) by debbugs.gnu.org; 24 Dec 2023 07:13:56 +0000 Received: from localhost ([127.0.0.1]:51644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rHIgO-0001Pd-35 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 02:13:56 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:53341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rHIgL-0001PO-Se for 67991 <at> debbugs.gnu.org; Sun, 24 Dec 2023 02:13:54 -0500 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a2699ee30d1so255789366b.2 for <67991 <at> debbugs.gnu.org>; Sat, 23 Dec 2023 23:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703402022; x=1704006822; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MJRj/9abmIRnB0O6LrUhhsimd/SibbY9Pq3k9L8ItVk=; b=JpctpG0+9/0vBg3tFOa76/+BXaZ6H2PH/n64CwczawnUZEnraG9QQMd8sA0dKk/PVu h6V60tQshtzyU/fUhAc9a1HtorVjhNUNSj07OfWjJekxOd0eTfFqMyk2cy0DAs+0BD0T Y2teWk1pydeToBNtrun1P0fJWkw4ESrUaVn3mcxuVmq5owZun6Ng/E8g2UvNV12F9VFn yJJokeEzgES60hT4ZFFzkXQGjWJCjSwYTpZ0mNkIdvOtj/unpnJnueWwipgOr61+ZVFJ 7NosOKNA6wNcqkjAETWyP8nwFwXvSw97lBIXW/QphqS2+JM4yN0l3PhccQGNLjHTtQhM +4ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703402022; x=1704006822; h=content-transfer-encoding:mime-version:user-agent: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=MJRj/9abmIRnB0O6LrUhhsimd/SibbY9Pq3k9L8ItVk=; b=dZJDo9Tp3a1OCjGj8p9Pvhn+JD1TJ5gHJKcZ9pmG9gyM02nVQyZ2ItdGgqFAZzR+sm 5ZGj105WRH10NfyHJkNUpo//vUBvY5yg3UR2VKjUpYAxc2ZPPdzqzPNE8jk1i09qRJLO x3RVtNHP4iuK5uydwSPgyUlhB0v4Tbfzm4XNVhOQZrTwuuWcOqYRBnmHkggHjrxQr4k5 o+Xm5OkcmFtnzBCdQOfnYfxCUs7qEwuP+OY1njScuOQPyD7HB9lwzT4kuqWNj3JdJSNo LghCIiOLyN46CUsF8cL253c7dzlCpcsB3WvaIk5Y9YH4jZvdngJEfoakWoh0kLL+ExBO 4kQw== X-Gm-Message-State: AOJu0YyU5VRXcbdBDZ9IVReWrcoPtVYGWiBhRPjFkA8KvbCZMXzmJ9CB 52YIRh5DAJeoB2AINKoXKvHxHTupV+A= X-Google-Smtp-Source: AGHT+IHo1gRNf8/GUA7T75llKB7ARLJX/7Qh5rcrg0kxtKOJuxIAPXO5Ii70SmhutPK3LIUqqa1M7A== X-Received: by 2002:a17:906:d011:b0:a23:b67:d044 with SMTP id z17-20020a170906d01100b00a230b67d044mr1790325ejy.8.1703402021500; Sat, 23 Dec 2023 23:13:41 -0800 (PST) Received: from Pro.fritz.box (p4fe3a021.dip0.t-ipconnect.de. [79.227.160.33]) by smtp.gmail.com with ESMTPSA id v27-20020a17090610db00b00a2689e28445sm3651529ejv.106.2023.12.23.23.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 23:13:41 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <83msu0dg5p.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 23 Dec 2023 18:42:26 +0200") References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> <83msu0dg5p.fsf@HIDDEN> Date: Sun, 24 Dec 2023 08:13:39 +0100 Message-ID: <m2frzsdqe4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > This one will return t: > > (format-mode-line > '(:eval (progn > (defvar some-var) > (let* ((some-var "some-value") > (_ (message "Bound: %S" (boundp 'some-var)))) > (message "Var: %S, Bound: %S" some-var (boundp 'some-var)))))) > Indeed. Looking at Fdefvar, one can see that a "(defvar foo)" does this when lexical-binding is t /* A simple (defvar foo) with lexical scoping does "nothing" except declare that var to be dynamically scoped *locally* (i.e. within the current file or let-block). */ while it does nothing at all if lexical-binding is nil. Maybe defvar's doc string could give some hint to that. This sentence at least is not true for "(defvar SYMBOL)": The =E2=80=98defvar=E2=80=99 form also declares the variable as "sp= ecial", so that it is always dynamically bound even if =E2=80=98lexical-binding=E2= =80=99 is t.
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 24 Dec 2023 07:47:01 +0000 Resent-Message-ID: <handler.67991.B67991.17034039644727 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Cc: monnier@HIDDEN, aaronjensen@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.17034039644727 (code B ref 67991); Sun, 24 Dec 2023 07:47:01 +0000 Received: (at 67991) by debbugs.gnu.org; 24 Dec 2023 07:46:04 +0000 Received: from localhost ([127.0.0.1]:51660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rHJBT-0001DT-Vo for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 02:46:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rHJBS-00011L-J0 for 67991 <at> debbugs.gnu.org; Sun, 24 Dec 2023 02:46:03 -0500 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 <eliz@HIDDEN>) id 1rHJBG-0002SN-21; Sun, 24 Dec 2023 02:45:50 -0500 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=uVx6aMOuQD2GbEOGui2/pF5PuC1m3VDKgCmhtpeZh+U=; b=MKq+tuMDZOaUgXf0lv9Z x4lvI3Hrc7qTLpMdwCLSLc2N4LQKELYbzpYJdfXuxwaDCdBrqZZTfgWBu/hD1zNYA/JkomyvPlF4E CMM7OwVT+1ZiPX9Iz3yS09C5RcriVBellN79r4iMGre/n7oaBXKfNk7ydzeqojALgBEKtfjOEWNGF 9+hSr5Nubhm791ZSPsiAZ4C92TlYzv4uhJjiiQ8inSD4cNRkziRDNB/yeuaqO4S40YNK2jiA1wu4B VX9IkovnKElaA44rlzWYksgSvc/pUcJaEC71xKxTIV1QT1MbpEGcdxSI4xNo4kSF4EeZRxIMmGVlV g+5kGftoprbo8g==; Date: Sun, 24 Dec 2023 09:45:41 +0200 Message-Id: <83cyuwcaca.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <m2frzsdqe4.fsf@HIDDEN> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sun, 24 Dec 2023 08:13:39 +0100) References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> <83msu0dg5p.fsf@HIDDEN> <m2frzsdqe4.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Aaron Jensen <aaronjensen@HIDDEN>, monnier@HIDDEN, > 67991 <at> debbugs.gnu.org > Date: Sun, 24 Dec 2023 08:13:39 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > This one will return t: > > > > (format-mode-line > > '(:eval (progn > > (defvar some-var) > > (let* ((some-var "some-value") > > (_ (message "Bound: %S" (boundp 'some-var)))) > > (message "Var: %S, Bound: %S" some-var (boundp 'some-var)))))) > > > > Indeed. Looking at Fdefvar, one can see that a "(defvar foo)" does this > when lexical-binding is t > > /* A simple (defvar foo) with lexical scoping does "nothing" except > declare that var to be dynamically scoped *locally* (i.e. within > the current file or let-block). */ > > while it does nothing at all if lexical-binding is nil. Maybe defvar's > doc string could give some hint to that. This sentence at least is not > true for "(defvar SYMBOL)": > > The ‘defvar’ form also declares the variable as "special", > so that it is always dynamically bound even if ‘lexical-binding’ is t. Thanks, I hope I clarified the doc string now.
X-Loop: help-debbugs@HIDDEN Subject: bug#67991: 30.0.50; boundp always returns nil in format-mode-line with let* after 0fde935 Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 24 Dec 2023 08:06:02 +0000 Resent-Message-ID: <handler.67991.B67991.170340515418696 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: monnier@HIDDEN, aaronjensen@HIDDEN, 67991 <at> debbugs.gnu.org Received: via spool by 67991-submit <at> debbugs.gnu.org id=B67991.170340515418696 (code B ref 67991); Sun, 24 Dec 2023 08:06:02 +0000 Received: (at 67991) by debbugs.gnu.org; 24 Dec 2023 08:05:54 +0000 Received: from localhost ([127.0.0.1]:51664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rHJUg-0004rU-39 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 03:05:54 -0500 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:46514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rHJUe-0004rA-6n for 67991 <at> debbugs.gnu.org; Sun, 24 Dec 2023 03:05:52 -0500 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a2343c31c4bso356107766b.1 for <67991 <at> debbugs.gnu.org>; Sun, 24 Dec 2023 00:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703405140; x=1704009940; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nYEuuYx0XkZPSj3TnwKgRH8oLM980AsoSRjDJWsgGfo=; b=HB67VVSc0thl6h/9Zqq9aF+FHg4vHKEVs3MkMWmTTj0ZZpX5LiIhucf/HfYKn5K+8A ypPaKsf5qtbnq0ghUybGhuSzmmeodkuqv4sE7TXrICjc/zY3p/qP4kDVpjMYoB+8YrqC x0+vTNdayiWSQu+5WrqOtX7Zc8atRfPU1LMpSmYbgt2LvufFhnbfZiCbpfa1K0yBI5lI 3YjJ6Ccn+3EyFtafpQZORo2E26073YplrMu2fDggjRyoHdEKfoe44jn1JfqMAU1YIuZa uve/VAyhqXGwXhCsA1FpQ/uIfyhUr9K3+dgoJ1V0u9SBYfqQ/GSIo3sFgChRra5Kzq9K ALwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703405140; x=1704009940; h=mime-version:user-agent: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=nYEuuYx0XkZPSj3TnwKgRH8oLM980AsoSRjDJWsgGfo=; b=LF2YEB7SgKEloGxYKeV2D156LXh+g1LeoGE52A6bne/td9jq4o3mviIdyCVAYXhUe/ jyKQxOhZ8g06GecK5iT/y118bZr7H/wWS/RIO0WUkZ7UTkKmLTifhMSbcciEDUAmICpt tmaWuNPbKMenkGN7gHy1MI8JcR6Ox3QIct025U2shqwLIcQU94WNJtcwniHJx+xhRHl1 ZI7w7oamFTtb5tR3Ca20uZpZvdwPydfVoSyHLyI7N+5KTMVa+oJMBY3gQcRCaMhufOC3 M1cw1NwdXTQXyDJd0FC/N6z7LomKLSk8nGPBSqFfv3jcYLrT93jqFwu+hYHwZCEv2TjC y/XA== X-Gm-Message-State: AOJu0YxBPqxVXnfvmWgnKBW8mA61Bw56U20AfZBBy73QAePXotT0Gnqb HVoAZGiuUncnb2INPhmIZKDKzW+EUjQ= X-Google-Smtp-Source: AGHT+IEKZW1N0uJa7cjPra+zVyzBypLfK0QC7pdYYrogkXiH3kfAG8dbes5mck/jJLN+3Pd9B8p09Q== X-Received: by 2002:a17:906:b7d9:b0:a23:f39:982f with SMTP id fy25-20020a170906b7d900b00a230f39982fmr1277747ejb.55.1703405139951; Sun, 24 Dec 2023 00:05:39 -0800 (PST) Received: from Pro.fritz.box (p4fe3a021.dip0.t-ipconnect.de. [79.227.160.33]) by smtp.gmail.com with ESMTPSA id gi16-20020a1709070c9000b00a19b7362dcfsm3759063ejc.139.2023.12.24.00.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 00:05:39 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <83cyuwcaca.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 24 Dec 2023 09:45:41 +0200") References: <m2edfdx989.fsf@HIDDEN> <m2r0jddjw7.fsf@HIDDEN> <CAHyO48zCg4ifPJd0i4apAurkui1OWjA-goUdGBeztd=0MobnZA@HIDDEN> <83msu0dg5p.fsf@HIDDEN> <m2frzsdqe4.fsf@HIDDEN> <83cyuwcaca.fsf@HIDDEN> Date: Sun, 24 Dec 2023 09:05:38 +0100 Message-ID: <m2bkagdnzh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Thanks, I hope I clarified the doc string now. LGTM. Thanks!
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.