From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 13:12:10 2021 Received: (at submit) by debbugs.gnu.org; 10 Jul 2021 17:12:10 +0000 Received: from localhost ([127.0.0.1]:33377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2GWQ-0004ZV-AY for submit@debbugs.gnu.org; Sat, 10 Jul 2021 13:12:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:44490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2GWO-0004ZN-V3 for submit@debbugs.gnu.org; Sat, 10 Jul 2021 13:12:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2GWM-0000Ya-Dp for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 13:12:08 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:23977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2GWJ-0000no-DS for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 13:12:05 -0400 Received: (Authenticated sender: naofumi@yasufuku.dev) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 04623240002 for ; Sat, 10 Jul 2021 17:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1625937118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=wJe+JfdjGq2Vh/yImnAvH7x8pjhrH2i/jA4J0PTkDE4=; b=g88IQddTXfcDhYEhNJSOgBQaAqv7PjDuX4e9pAlSUlo4tojwqdLZbLTb0wBoLtW8rVsZjb iMAFunOkFgxIXQEdl8+Jr8iykPg/CvmmySSIKQLMz3D/sY1oUc9hXbx7DoCaawCRH4/C3p JRoQ9LyPvfMzHXpbAZCI3+mleRZyzXNeNVFeCUX4aN1PrJN9UXNtaquNcUTjIIFgv/fXnZ 2UABsc26WOd1ZXGe24rb9k9gVfsvEMIXK/JAY3wJIQmM9GJhi4l5woWUWMYVrxDR5+Cttz HKr11ziGlFVOayB+q4Rs7LxY0R9FzlECre+BFChRJbJ89Z6RSSKtFrlanI59ig== User-agent: mu4e 1.4.15; emacs 28.0.50 From: Naofumi Yasufuku To: bug-gnu-emacs@gnu.org Subject: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9sGyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms Message-ID: Date: Sun, 11 Jul 2021 02:11:51 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Received-SPF: pass client-ip=217.70.183.193; envelope-from=naofumi@yasufuku.dev; helo=relay1-d.mail.gandi.net X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Precondition: - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 - macOS - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old Emacs doesn't start due to the following error: $ ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ I've not seen such error under linux. At least, this issue disappears if make_lock_file_name() in src/filelock.c is reverted. ---- src/filelock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/filelock.c b/src/filelock.c index 106633f584..052801a3e1 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -622,7 +622,10 @@ lock_if_free (lock_info_type *clasher, char *lfname) static Lisp_Object make_lock_file_name (Lisp_Object fn) { - return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); + Lisp_Object func = intern ("make-lock-file-name"); + if (NILP (Fboundp (func))) + return Qnil; + return call1 (func, Fexpand_file_name (fn, Qnil)); } /* lock_file locks file FN, ---- Regards, --Naofumi In GNU Emacs 28.0.50 (build 2, x86_64-apple-darwin20.5.0, NS appkit-2022.50 Version 11.4 (Build 20F71)) of 2021-07-11 built on hyperion.local Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 Repository branch: HEAD Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.4 Configured using: 'configure --prefix=/Users/naofumi/.local/emacs-head --with-mailutils --with-native-compilation --with-xwidgets --with-ns --disable-ns-self-contained' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB Important settings: value of $LC_TIME: C value of $LANG: ja_JP.UTF-8 locale-coding-system: utf-8-hfs Major mode: Lisp Interaction Minor modes in effect: company-statistics-mode: t global-company-mode: t company-mode: t yas-global-mode: t yas-minor-mode: t doom-modeline-mode: t which-key-mode: t disable-mouse-global-mode: t key-chord-mode: t shell-dirtrack-mode: t projectile-mode: t global-git-gutter-mode: t ivy-mode: t amx-mode: t pyvenv-tracking-mode: t editorconfig-mode: t windmove-mode: t winner-mode: t global-so-long-mode: t global-whitespace-mode: t recentf-mode: t global-auto-revert-mode: t electric-pair-mode: t delete-selection-mode: t show-paren-mode: t savehist-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/naofumi/.emacs.d/elpa-28/cmake-mode-20210104.1831/cmake-mode hides /usr/local/share/emacs/site-lisp/cmake/cmake-mode /Users/naofumi/.emacs.d/elpa-28/password-store-20200328.1214/password-store hides /usr/local/share/emacs/site-lisp/pass/password-store /Users/naofumi/.emacs.d/elpa-28/transient-20210701.1116/transient hides /Users/naofumi/src/git.sv.gnu.org/emacs/lisp/transient Features: (shadow highlight-indent-guides editorconfig-core editorconfig-core-handle editorconfig-fnmatch face-remap emacsbug counsel xdg swiper server skk-cursor ccc skk-sticky skk-dcomp skk-comp skk-look skk-server skk-study skk-hint skk-cus cus-edit pp cus-start cus-load skk-emacs skk-macs skk-vars skk company-statistics company-oddmuse company-keywords company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase yasnippet-snippets yasnippet doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path f all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp doom-tomorrow-night-theme doom-themes doom-themes-base base16-tomorrow-night-theme base16-theme vlf-setup which-key disable-mouse key-chord shell-pop term shell ehelp win-switch elscreen-gf elscreen projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs git-gutter ivy-xref ivy-migemo two-column ivy-hydra ivy ivy-faces ivy-overlay colir color ace-link avy amx s migemo smart-jump-lisp-mode smart-jump-elisp-mode smart-jump xref project hydra lv pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util editorconfig mu4e-maildirs-extension dash gnus-dired mu4e desktop frameset mu4e-org ox-gfm ox-md 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 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 noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func mu4e-main mu4e-view cal-menu calendar cal-loaddefs thingatpt comint ansi-color 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 jka-compr image-mode exif mu4e-lists hl-line mu4e-vars message rmc puny dired-x dired comp comp-cstr warnings rx cl-extra help-mode dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader mu4e-meta auth-source-pass windmove winner ring so-long disp-table whitespace recentf-ext recentf tree-widget wid-edit diminish autorevert filenotify cua-base elec-pair delsel paren savehist exec-path-from-shell finder-inf advice edmacro kmacro slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib japan-util iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 724701 452278) (symbols 48 40867 3) (strings 32 183109 67092) (string-bytes 1 6433859) (vectors 16 80273) (vector-slots 8 1785177 383090) (floats 8 1019 1732) (intervals 56 15057 358) (buffers 992 32)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 13:17:24 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 17:17:24 +0000 Received: from localhost ([127.0.0.1]:33390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2GbT-0006d6-RW for submit@debbugs.gnu.org; Sat, 10 Jul 2021 13:17:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2GbR-0006Xy-Mg for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 13:17:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=qJZVN2R6RxvBfb2O0jvrmfI6MaEvVsOZoH8pBALqusk=; b=raOPEosbdQ0wtRM+liveZ111qp 7Wpb4uT60BeIl0+kLFgyKcawHJJF+od9CbR6QFqVz9+r0Prb7oGmIGmWjbbJ4yHF7tjp4BYe8sWgu 59uO9vVqIqcfcbHKK9qtl0pWelzG3fM+5izSfSH9ASMphO9k3q8HqoOvReG6FtPAVa2w=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2GbF-00065z-9S; Sat, 10 Jul 2021 19:17:15 +0200 From: Lars Ingebrigtsen To: Naofumi Yasufuku Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUzLTSvo6aFeYH/ //+uDohvAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UHChEOC0N1IaQAAAFdSURBVCjPTZHBaoNAEIb/ LG3QvdtDT1Iw1DyFPfZWSkbUUwi0NHmKjRBovVsST1airPuU3V2NyR5m/m9n52eWgbctY6xnSrJM wCOicNPHSmU9vJ1SMlwD0FBFOs9MyAokJrsWfpBdKxKlyTAhLUARg1ONPb1wBSNhgCMXbiHIPJUc aeQCngHBtdsc4AZ0PIpBAYyDi1Gj5mAamL2oHe0GP1jBARoHzT57fu8wtyDys1/PEbwZyEVtGoLE wH5wezpC6WeTNXNQj5KvtWMjB1gmGjZjxcs0REOPoj98Y9BMtNtcGQPLixPFRlm4Uz1hOiqw4A/f ub8FXUn8y0c9DaN26hPhUuC3oGe4gWY7gY8mzfQ4/jBcn7VGMutciODa0+nLCX7tJsaBjvUe6UJW bZqGJbWE+PGrpBcKiQ6EUn22tKOA6DUGdedSQ/hBhxX6qqtaqZaqLKTZj1kg8AD8A2iXcoJUEAQV AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA3LTEwVDE3OjE0OjExKzAwOjAwlOjRhAAAACV0RVh0 ZGF0ZTptb2RpZnkAMjAyMS0wNy0xMFQxNzoxNDoxMSswMDowMOW1aTgAAAAASUVORK5CYII= X-Now-Playing: The Style Council's _Our Favourite Shop_: "Homebreakers" Date: Sat, 10 Jul 2021 19:17:08 +0200 In-Reply-To: (Naofumi Yasufuku's message of "Sun, 11 Jul 2021 02:11:51 +0900") Message-ID: <87r1g6m6ln.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Naofumi Yasufuku writes: > Precondition: > - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 > - macOS > - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old > > Emacs doesn't start due to the following error: > [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Naofumi Yasufuku writes: > Precondition: > - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 > - macOS > - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old > > Emacs doesn't start due to the following error: > $ ./src/emacs -Q > Symbol=E2=80=99s value as variable is void: lock-file-name-transforms > $ Try saying "make bootstrap" and see whether the problem goes away. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 13:17:42 2021 Received: (at control) by debbugs.gnu.org; 10 Jul 2021 17:17:42 +0000 Received: from localhost ([127.0.0.1]:33393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Gbm-0006ps-7A for submit@debbugs.gnu.org; Sat, 10 Jul 2021 13:17:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Gbk-0006lF-JC for control@debbugs.gnu.org; Sat, 10 Jul 2021 13:17:40 -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=pEia3TRBv4Zb1rebBHL2MKOxdsIzbvztK4YqXgPHYRM=; b=Nje83RuZm/HscMrbgPGrIR05WN ruzuh7OdUP4NJNxMLvxHtexzVpJtXG72r7z2TUFuEEfM4AA2Eb7QCaQidgluKz9Fz08h4BJKS0f6O DHK9yHUbCwQrqx4M88WLsgMvFVJAf+Z0RRaqvZULjc+Gh7yj7aFvwqebEvGbzwFAmTts=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2GbX-000669-VW for control@debbugs.gnu.org; Sat, 10 Jul 2021 19:17:30 +0200 Date: Sat, 10 Jul 2021 19:17:22 +0200 Message-Id: <87pmvqm6l9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49507 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 49507 + moreinfo 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: -2.3 (--) 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: -3.3 (---) tags 49507 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 15:17:42 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 19:17:42 +0000 Received: from localhost ([127.0.0.1]:33474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ITt-0003SV-Me for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:17:42 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:35247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ITq-0003SG-Ka for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 15:17:40 -0400 Received: (Authenticated sender: naofumi@yasufuku.dev) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 0318D100006; Sat, 10 Jul 2021 19:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1625944652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X0jGGBstf5Rf5MnwoOAqEXVjziMQF7l3KAcAlFdkusI=; b=PtuyzaKdxNvKTQHzXYgEvQ8ECAUO7lxwKSlHkXwkbuyPtF57clTKIRQd6Kl7DNTFVGLDnP smv+oN4CrV8euCgmdtC/WSNap6fX0k/yyNdi0xccsXT41jy0Kd9KNwlVroCDusSIbTUaL6 P/DQSpRbAObUrnq9wK6KIXmaivjZ2wkF7M1+WNW8L5kt6T5xblv52K+f64rIBlqF+GeWNA ZLb+TSN4Pk9d94rwwHDFTbD9aePeQYMfWfgd4i2D+IUI00+4m2mXjqwgL9UCkYDs7uFV0D tl7Vaq732p15nsoOaABjjpRUoUiDWev+kUNOIimk+40a2UdYkMMT8BWFtF9m2w== References: <87r1g6m6ln.fsf@gnus.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Naofumi Yasufuku To: Lars Ingebrigtsen Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9s?= =?iso-2022-jp?B?GyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms In-reply-to: <87r1g6m6ln.fsf@gnus.org> Date: Sun, 11 Jul 2021 04:17:24 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Naofumi Yasufuku writes: > >> Precondition: >> - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 >> - macOS >> - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old >> >> Emacs doesn't start due to the following error: >> $ ./src/emacs -Q >> Symbol$B!G(Bs value as variable is void: lock-file-name-transforms >> $ > > Try saying "make bootstrap" and see whether the problem goes away. I've tried "make bootstrap", but it doesn't solve. I found out that this issue is language environment specific and not macOS specific. The same issue can be reproduced under linux with LANG=ja_JP.UTF-8: $ LANG=C ./src/emacs -Q $ LANG=en_US.UTF-8 ./src/emacs -Q # LANG=ja_JP.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ ------------------------------------------------------------------------ [naofumi@hyperion src ((9ce6541ac9...))]% gdb emacs GNU gdb (GDB) 10.2 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin20.3.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = /private/tmp/com.apple.launchd.LJFJOAZgMb/org.xquartz:0 TERM = xterm-256color Breakpoint 1 at 0x1000d3a00: terminate_due_to_signal. (2 locations) (gdb) b make_lock_file_name Breakpoint 2 at 0x100100aa8: make_lock_file_name. (3 locations) (gdb) r -Q Starting program: /Users/naofumi/src/git.sv.gnu.org/emacs/src/emacs -Q [New Thread 0x2303 of process 36192] [New Thread 0x2203 of process 36192] warning: unhandled dyld version (17) [New Thread 0x1907 of process 36192] [New Thread 0x2003 of process 36192] [New Thread 0x2103 of process 36192] Thread 2 hit Breakpoint 2, make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 625 return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); (gdb) bt #0 make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 #1 lock_file (fn=XIL(0x14562c9a4)) at filelock.c:666 #2 Flock_file (file=XIL(0x14562c9a4)) at filelock.c:755 #3 0x000000010010c9b5 in write_region (start=, end=, filename=, append=, visit=make_fixnum(0), lockname=, mustbenew=XIL(0), desc=10) at fileio.c:5230 #4 0x0000000000000008 in ?? () #5 0x00000001460b7400 in ?? () #6 0x00007ffeefbfd7e0 in ?? () #7 0x00007fff20324131 in ?? () #8 0x000000014545e380 in ?? () #9 0x000000014545e380 in ?? () #10 0x0000000000000008 in ?? () #11 0x0000000145466a00 in ?? () #12 0x0000000145467e00 in ?? () #13 0x0000000000000008 in ?? () #14 0x00007ffeefbfd890 in ?? () #15 0x00007fff20323937 in ?? () #16 0x00007ffeefbfd820 in ?? () #17 0xf6b78000c0001002 in ?? () #18 0x00007ffeefbfffff in ?? () #19 0x00000001001488ef in swap_in_symval_forwarding (symbol=0x14562c9a4, blv=0x481b79e8) at data.c:1385 #20 0x00000001481c9980 in ?? () #21 0x0000000000001400 in ?? () #22 0x00007ffeefbfd840 in ?? () #23 0x000000014562c9a4 in ?? () #24 0x00000001460be5e0 in ?? () #25 0x0000000000000488 in ?? () #26 0x0000000000000000 in ?? () Lisp Backtrace: "write-region" (0xefbfdd58) "comp-run-async-workers" (0xefbfdf10) "native--compile-async" (0xefbfe180) "defalias" (0xefbfe250) "set-language-environment" (0xefbfeac8) "set-locale-environment" (0xefbfee88) "normal-top-level" (0xefbfef30) (gdb) s Symbol$B!G(Bs value as variable is void: lock-file-name-transforms [Inferior 1 (process 36192) exited with code 0377] (gdb) q [naofumi@hyperion src ((9ce6541ac9...))]% ------------------------------------------------------------------------ Regards, --Naofumi From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 15:29:55 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 19:29:55 +0000 Received: from localhost ([127.0.0.1]:33502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Ifj-0003k9-Gb for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:29:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Ifh-0003jw-P6 for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 15:29:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43466) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Ifb-0001JO-NX; Sat, 10 Jul 2021 15:29:47 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2Ifb-0004tY-9L; Sat, 10 Jul 2021 15:29:47 -0400 Date: Sat, 10 Jul 2021 22:29:34 +0300 Message-Id: <83r1g6arxd.fsf@gnu.org> From: Eli Zaretskii To: Naofumi Yasufuku In-Reply-To: (message from Naofumi Yasufuku on Sun, 11 Jul 2021 04:17:24 +0900) Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9sGyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms References: <87r1g6m6ln.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Naofumi Yasufuku > Date: Sun, 11 Jul 2021 04:17:24 +0900 > Cc: 49507@debbugs.gnu.org > > Lisp Backtrace: > "write-region" (0xefbfdd58) > "comp-run-async-workers" (0xefbfdf10) > "native--compile-async" (0xefbfe180) > "defalias" (0xefbfe250) > "set-language-environment" (0xefbfeac8) > "set-locale-environment" (0xefbfee88) > "normal-top-level" (0xefbfef30) > (gdb) s > Symbol$B!G(Bs value as variable is void: lock-file-name-transforms Any idea why Emacs needs to native-compile something at startup? Which Lisp file does it native-compile here? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 15:30:49 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 19:30:49 +0000 Received: from localhost ([127.0.0.1]:33510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Iga-0003ne-QN for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:30:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2IgZ-0003nO-Er for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 15:30:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=u3nYOWdAE4XNxZ2V0CSzUbKVbVtpauJ+g1NH03LNDRw=; b=GjT7qd9llyDcH7LBWMymaDOHNY WcbctOYi/fY2Mef9fxMSOmK8NWDp24pOL/GN8aFzxwA3eOBJwu1f7Olpcl9WEwI4QJ6l4CQL6DuDS k2QjkHpAXZZydvoj2iSW3gCZlZ48eaN6uce9X63ex3izQBCKJ45jkf5z9TaGI6JA9/sc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2IgG-000791-9x; Sat, 10 Jul 2021 21:30:30 +0200 From: Lars Ingebrigtsen To: Naofumi Yasufuku Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87r1g6m6ln.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUtKjA6Qk5MWFwm HyO1l1x9jZtPcpL///9nLqjFAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UHChMcLJ0PMHIAAAGxSURB VDjLZZM9bsMwDIVFCehscvAsctCcIDco2iPYcy2guv8RSuonkVLGQGx95nskJTvXAxBxc0CiwUyb rYXHzf4QDVdg77jgbL2xmofIhPXp8QgdALC02BrRX3eSL4tP4foYhs0dG/hm7OBhKahSFRxHHMXW 97XGBr4/oXloioVnvZoHNClVum/mzDSDYKCWZb01gM+M2wqAJm81EcEGHLg5vE6pg/fgbQJhAkNq lPvcFKYGSFbg2Tfg1wyQza99zKwFum1aDTdE6mTthFAm8ELwVGJRKVgtqB4TWjxUq5QhtQCg8/c8 s2W5tWD/e5zHka3cFVAqRznOkt9GAkVNLN7BXrDkYtcCdudLTFcqomwGHxuUa88VlAVEBR/Z9Fbg f1wqPuM/AGzuGeUJttF3BZIxleTsS2DmWEH0FUg6d1XNrwzRenW0jjI4lbu6x50SFhYbkgokJWPC KFcHzjtrZrSJdKVI9fOTmlHiMMmJvQGIdvR7CprWfhkIngxIS2Hdcdqz1/ugLYlqSU3RSRNpobEd GNRNyyVHvYmaoqOKo5JqnwEJiXEGJHU3dTZACAP8AcQ+cWvz2CwmAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIxLTA3LTEwVDE5OjI4OjQ0KzAwOjAw9wh6eAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0w Ny0xMFQxOToyODo0NCswMDowMIZVwsQAAAAASUVORK5CYII= X-Now-Playing: Sade's _Promise_: "War Of the Hearts" Date: Sat, 10 Jul 2021 21:30:26 +0200 In-Reply-To: (Naofumi Yasufuku's message of "Sun, 11 Jul 2021 04:17:24 +0900") Message-ID: <87lf6em0fh.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Naofumi Yasufuku writes: > $ LANG=C ./src/emacs -Q > $ LANG=en_US.UTF-8 ./src/emacs -Q > # LANG=ja_JP.UTF-8 ./src/emacs -Q > Symbol’s value as variable is void: lock-file-name-transforms 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Naofumi Yasufuku writes: > $ LANG=3DC ./src/emacs -Q > $ LANG=3Den_US.UTF-8 ./src/emacs -Q > # LANG=3Dja_JP.UTF-8 ./src/emacs -Q > Symbol=E2=80=99s value as variable is void: lock-file-name-transforms I'm unable to reproduce the issue on Debian/bullseye with the current master. Could you try setting `debug-on-error' so that you get a backtrace? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 15:56:59 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 19:56:59 +0000 Received: from localhost ([127.0.0.1]:33540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2J5v-0004Oe-3S for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:56:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2J5t-0004OQ-Os for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 15:56:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=BkePs5+L41x90AQvbDrlzVOvGNZ7zpnxxbJ+rBT8Qvw=; b=rpwa9vuad2ZBvGjLGAEpckRw3Z 8DR08yU9IKZdSpA8hqk+PzhLaiM/QhP0PdZ9RI1Xu4ezqJ8eXqbtchYDbF0QTinJNK4Po+XrMQycp 0bUtwbfKwYaH+hmrfZQXrxSNENm2xVBJ2cN8eI+wrT3Zy7sDuA0494Ixqjn/948OOphw=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2J5c-0007Ps-Pj; Sat, 10 Jul 2021 21:56:51 +0200 From: Lars Ingebrigtsen To: Naofumi Yasufuku Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: X-Now-Playing: Sade's _Promise_: "Tar Baby" Date: Sat, 10 Jul 2021 21:56:35 +0200 In-Reply-To: (Naofumi Yasufuku's message of "Sun, 11 Jul 2021 02:11:51 +0900") Message-ID: <87h7h2lz7w.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Naofumi Yasufuku writes: > Precondition: > - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 > - macOS > - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old > > Emacs doesn't start due to the following error: > [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Naofumi Yasufuku writes: > Precondition: > - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 > - macOS > - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old > > Emacs doesn't start due to the following error: > $ ./src/emacs -Q > Symbol=E2=80=99s value as variable is void: lock-file-name-transforms > $ [...] > - return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); > + Lisp_Object func =3D intern ("make-lock-file-name"); > + if (NILP (Fboundp (func))) > + return Qnil; > + return call1 (func, Fexpand_file_name (fn, Qnil)); Well, that code was buggy (as Michael pointed out) -- Fboundp doesn't work on interned symbols, apparently? But in any case, make-lock-file-name and lock-file-name-transforms are defined in the same file ("files.el"), so what you're seeing here just shouldn't be possible -- it should complain about make-lock-file-name being undefined, not the variable. So I think this points to there being something odd going on in your build tree. Are you sure you have no private modifications in the tree? Do you still see this issue from a freshly checked out tree? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 18:36:06 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 22:36:06 +0000 Received: from localhost ([127.0.0.1]:33604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2LZs-0008Bd-KH for submit@debbugs.gnu.org; Sat, 10 Jul 2021 18:36:06 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:49147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2LZn-0008B4-RE for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 18:36:02 -0400 Received: (Authenticated sender: naofumi@yasufuku.dev) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 769931BF204; Sat, 10 Jul 2021 22:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1625956553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QLKDX+0G47jZWMrKjsAllMsFfqpMS2ZEXM5Jxhm751g=; b=pha1bqO2p0b+FUlcjBqiUeEYxu5zXBzMmvly1Zqu9BqWuCY9310hIz8ipcAufZWwNaqIxf twa0JlphOly25AMJ527kTCd8yR+zgTLuC9HKYRjhCtGMeSFhKRr80ATuO4pZpSqTL2fcGD YREzAi/EQn0dwIcOg5n4ZCRRxhaISjxD0+GSjg4nrETn0H+JpaIgu+bdmEKdmOm+LbZ88r aWE7Y7gnlvnUPna5YlPCo4i4fyzafn9sIXQG/cPvNqBrqIB4VKNys3ZUPcopemRj7qH6Iy ENg1hPmsG2TJ+RXycO5TPzVJKw8HiwlwgXdX3rAt0KCpQC1IBNp3TQKRblc5mA== References: <87r1g6m6ln.fsf@gnus.org> <83r1g6arxd.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Naofumi Yasufuku To: Eli Zaretskii Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9s?= =?iso-2022-jp?B?GyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms In-reply-to: <83r1g6arxd.fsf@gnu.org> Date: Sun, 11 Jul 2021 07:35:46 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: >> From: Naofumi Yasufuku >> Date: Sun, 11 Jul 2021 04:17:24 +0900 >> Cc: 49507@debbugs.gnu.org >> >> Lisp Backtrace: >> "write-region" (0xefbfdd58) >> "comp-run-async-workers" (0xefbfdf10) >> "native--compile-async" (0xefbfe180) >> "defalias" (0xefbfe250) >> "set-language-environment" (0xefbfeac8) >> "set-locale-environment" (0xefbfee88) >> "normal-top-level" (0xefbfef30) >> (gdb) s >> Symbol$B!G(Bs value as variable is void: lock-file-name-transforms > > Any idea why Emacs needs to native-compile something at startup? > Which Lisp file does it native-compile here? It seems lisp/language/*-util.el autoloads can invoke this native-compile. $ LANG=ja_JP.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ LANG=zh_CN.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ LANG=ko_KR.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ LANG=ru_RU.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ ls BUGS configure~ CONTRIBUTE doc COPYING emacs-async-comp-china-util-LRUF4Q.el ChangeLog.1 emacs-async-comp-cyril-util-rr4O3Z.el ChangeLog.2 emacs-async-comp-japan-util-NCE2ge.el ChangeLog.3 emacs-async-comp-korea-util-V8cDm0.el GNUmakefile etc INSTALL info INSTALL.REPO leim Makefile lib Makefile.in lib-src README lisp aclocal.m4 lwlib admin m4 autogen.sh make-dist autom4te.cache modules build-aux msdos config.bat native-lisp config.log nextstep config.log~ nt config.status oldXMenu configure src configure.ac test $ From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 18:42:31 2021 Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 22:42:31 +0000 Received: from localhost ([127.0.0.1]:33608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Lg7-0008KO-3J for submit@debbugs.gnu.org; Sat, 10 Jul 2021 18:42:31 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:20109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Lg5-0008KA-A1 for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 18:42:29 -0400 Received: (Authenticated sender: naofumi@yasufuku.dev) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id D6045240007; Sat, 10 Jul 2021 22:42:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1625956943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xPsXWck7pQpyTPzVmjWbtQlzODNUAkdxfh9NlOPV5qM=; b=py4Z4JXmx3+IJvz0S6LHTp+JrWWu9LtRz24fIjiqhXp7UHrWj5Vd0iAVtfR/+wXvK40osO kGn9Otfi0z3IhuZIuSZLl2mlhfGI5OjfqJVP3B9DpoQBDgQpaAaK3y1xnvAW4nToYfXpjn CNp1z7xDBhQ/EBbe4wH5q0yYuqn1hBXAe44qol+V+bKt8Uzgq6HnRT6dYmPW5vs3JqOM/N 5liwlKrgzlNzImj7IMG3r+voxHc7FHrfYNJMkIzFuONrpVYVua8WYvUSBAlAYXZ+6r1D60 8E79VLZSz5twfjOE15pcjC9DaHeE7Y/k0RHFzXpC3RxMBuAUwRPVZhuNuCXeWA== References: <87h7h2lz7w.fsf@gnus.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Naofumi Yasufuku To: Lars Ingebrigtsen Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9s?= =?iso-2022-jp?B?GyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms In-reply-to: <87h7h2lz7w.fsf@gnus.org> Date: Sun, 11 Jul 2021 07:42:15 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Naofumi Yasufuku writes: > >> Precondition: >> - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 >> - macOS >> - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old >> >> Emacs doesn't start due to the following error: >> $ ./src/emacs -Q >> Symbol$B!G(Bs value as variable is void: lock-file-name-transforms >> $ > > [...] > >> - return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); >> + Lisp_Object func = intern ("make-lock-file-name"); >> + if (NILP (Fboundp (func))) >> + return Qnil; >> + return call1 (func, Fexpand_file_name (fn, Qnil)); > > Well, that code was buggy (as Michael pointed out) -- Fboundp doesn't > work on interned symbols, apparently? > > But in any case, make-lock-file-name and lock-file-name-transforms are > defined in the same file ("files.el"), so what you're seeing here just > shouldn't be possible -- it should complain about make-lock-file-name > being undefined, not the variable. > I found that the following simple `lock-file-name-transforms' change can also avoid this error: ---- lisp/files.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 0dfcab8f89..894a06e6e7 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -424,7 +424,6 @@ lock-file-name-transforms :type '(repeat (list (regexp :tag "Regexp") (string :tag "Replacement") (boolean :tag "Uniquify"))) - :initialize 'custom-initialize-delay :version "28.1") (defvar auto-save--timer nil "Timer for `auto-save-visited-mode'.") ---- > So I think this points to there being something odd going on in your > build tree. Are you sure you have no private modifications in the tree? > Do you still see this issue from a freshly checked out tree? I've tested with fresh build of new checked out under both macOS and linux (Ubuntu 21.04). The result is same. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 02:21:41 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 06:21:41 +0000 Received: from localhost ([127.0.0.1]:33759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2SqT-0004vD-6N for submit@debbugs.gnu.org; Sun, 11 Jul 2021 02:21:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2SqR-0004v0-Gl for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 02:21:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35564) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2SqL-0001RJ-L0; Sun, 11 Jul 2021 02:21:33 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2917 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2SqL-0000Gx-8Y; Sun, 11 Jul 2021 02:21:33 -0400 Date: Sun, 11 Jul 2021 09:21:23 +0300 Message-Id: <83im1hbcbg.fsf@gnu.org> From: Eli Zaretskii To: Naofumi Yasufuku In-Reply-To: (message from Naofumi Yasufuku on Sun, 11 Jul 2021 07:42:15 +0900) Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9sGyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Naofumi Yasufuku > Date: Sun, 11 Jul 2021 07:42:15 +0900 > Cc: 49507@debbugs.gnu.org > > I found that the following simple `lock-file-name-transforms' change > can also avoid this error: > > ---- > lisp/files.el | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lisp/files.el b/lisp/files.el > index 0dfcab8f89..894a06e6e7 100644 > --- a/lisp/files.el > +++ b/lisp/files.el > @@ -424,7 +424,6 @@ lock-file-name-transforms > :type '(repeat (list (regexp :tag "Regexp") > (string :tag "Replacement") > (boolean :tag "Uniquify"))) > - :initialize 'custom-initialize-delay > :version "28.1") Ah, I see the problem. Defcustom's that are marked with 'custom-initialize-delay are evaluated early in the process of restoring from the pdumper file, when the code of files.el was not yet loaded. Lars, why did you use this :initialize tag here? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 02:22:51 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 06:22:51 +0000 Received: from localhost ([127.0.0.1]:33763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Srb-0004x7-HZ for submit@debbugs.gnu.org; Sun, 11 Jul 2021 02:22:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2SrZ-0004wt-Hh for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 02:22:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35602) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2SrT-0002Qm-UM; Sun, 11 Jul 2021 02:22:43 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2SrT-0000NV-HH; Sun, 11 Jul 2021 02:22:43 -0400 Date: Sun, 11 Jul 2021 09:22:35 +0300 Message-Id: <83h7h1bc9g.fsf@gnu.org> From: Eli Zaretskii To: Naofumi Yasufuku In-Reply-To: (message from Naofumi Yasufuku on Sun, 11 Jul 2021 07:35:46 +0900) Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9s?= =?iso-2022-jp?B?GyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms References: <87r1g6m6ln.fsf@gnus.org> <83r1g6arxd.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Naofumi Yasufuku > Cc: larsi@gnus.org, 49507@debbugs.gnu.org > Date: Sun, 11 Jul 2021 07:35:46 +0900 > > >> Lisp Backtrace: > >> "write-region" (0xefbfdd58) > >> "comp-run-async-workers" (0xefbfdf10) > >> "native--compile-async" (0xefbfe180) > >> "defalias" (0xefbfe250) > >> "set-language-environment" (0xefbfeac8) > >> "set-locale-environment" (0xefbfee88) > >> "normal-top-level" (0xefbfef30) > >> (gdb) s > >> Symbol$B!G(Bs value as variable is void: lock-file-name-transforms > > > > Any idea why Emacs needs to native-compile something at startup? > > Which Lisp file does it native-compile here? > > It seems lisp/language/*-util.el autoloads can invoke this native-compile. Right, that figures. We preload the files in lisp/language/, but not the support some of them need if the corresponding language-environment is activated. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 07:52:45 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 11:52:45 +0000 Received: from localhost ([127.0.0.1]:34110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Y0r-0007BO-4F for submit@debbugs.gnu.org; Sun, 11 Jul 2021 07:52:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2Y0p-0007B9-Kg for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 07:52:44 -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=KTR4fYQuGT4qyZzrB7rKTvN/y19uz+zUgajr/QG1AY8=; b=q66tCExOfXwZpjQ+W+CSRtp8Az 9esGEY8zglWQHHOEdDeWKmsabyN6sRAD0MUIbvCKry8+4w9dUkIwFBAcnM09Ywzd4sjyKdXs9t9Qz 7B/lUoqAkW5kV7otW2m8K7kW7Nvs1d0SEofkKPRudTcbnuhNcfTWRc8OohzrA8NFmdZ4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2Y0W-0002OJ-Ub; Sun, 11 Jul 2021 13:52:31 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUHBwcoLixKVlRR dISqraj////Hgq6aAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHBxIxKEngHG4AAAGkSURBVDjLrZNh koMgDIWJ7gFI5AASPUAVDlAl9z/TBkTFzu6/OtOOzTckeY9XY777wJf71a72jxoC0YA0ftbD0OFr sJ4+EXVgFzLjMFJbnkzf8zRNvIYHgGg7YPSIRMvymGBNRx5HYw3ZDwBoDcJzgjEh00lWRP+o4yyJ Z1lUCyLWNbVnL+UpAtBWUzlKEtGv9XTldBtmrUfZrrbNVqDgXd9tJQeOSV61PoPF+4h2q8A7MA2g +WxFC+B4kyHKfk80/iIuSWrv7FrMbSIN6Oy54SxDA0x3bxX2FjTrpvgfcBfomBuw9xfomW+33A7p /PWI8ryZeGYAi4oqUatureKwEFfBS/NQvJk2rWfgbLmPt4E8ciWbw6Wln3krQE1nvfIAoOHNoJul 3K4WGXUieCU5QV25IZhsdQit6isgxZ0UH/nQnQytuacB+ZE4GoJDmIZKc81ZUvQSvSYWkbMC1Bdf LInbxPTqd40oHygnQj9hhyji/J4zujeJ9hbJSSLWOK55n9PLfHKQmDgPDSEwD5frLiJUX1UD+3CG zVtVcPwr9JQtzX4BceY4qJAP7wIAAAAQZVhJZklJKgAIAAAAAAAAAAAAAACcPLkoAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIxLTA3LTA3VDE4OjQ5OjM5KzAwOjAwPKRZbwAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMS0wNy0wN1QxODo0OTozOSswMDowME354dMAAAAASUVORK5CYII= X-Now-Playing: Tuxedomoon's _Live At The Palms (1978)_: "Polk Gulch Pavane" Date: Sun, 11 Jul 2021 13:52:24 +0200 In-Reply-To: <83im1hbcbg.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Jul 2021 09:21:23 +0300") Message-ID: <87sg0lkqyv.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: > Lars, why did you use this :initialize tag here? I was just cargo-culting from the defcustom of auto-save-file-name-transforms above. 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org, Naofumi Yasufuku 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 (---) Eli Zaretskii writes: > Lars, why did you use this :initialize tag here? I was just cargo-culting from the defcustom of auto-save-file-name-transforms above. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 08:29:20 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 12:29:20 +0000 Received: from localhost ([127.0.0.1]:34121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2YaG-00081T-9B for submit@debbugs.gnu.org; Sun, 11 Jul 2021 08:29:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2YaE-00081G-7t for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 08:29:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Ya7-0003PI-DE; Sun, 11 Jul 2021 08:29:11 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1633 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2Ya6-0007Xi-EQ; Sun, 11 Jul 2021 08:29:11 -0400 Date: Sun, 11 Jul 2021 15:28:59 +0300 Message-Id: <83a6mtavas.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen , Stefan Monnier In-Reply-To: <87sg0lkqyv.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 11 Jul 2021 13:52:24 +0200) Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org, naofumi@yasufuku.dev 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: Lars Ingebrigtsen > Cc: Naofumi Yasufuku , 49507@debbugs.gnu.org > Date: Sun, 11 Jul 2021 13:52:24 +0200 > > Eli Zaretskii writes: > > > Lars, why did you use this :initialize tag here? > > I was just cargo-culting from the defcustom of > auto-save-file-name-transforms above. The initial value of auto-save-file-name-transforms uses temporary-file-directory, so it's reasonable to delay its initialization until Emacs starts up, as opposed to initializing it when Emacs is dumped (which could be on a different system). But lock-file-name-transforms's initial value is a constant, so we can safely initialize it at dump time. So I think we should simply remove the :initialize tag from that variable. However, given this incident, I'm worried that others could trip on this subtlety. So I wonder whether we should describe it in the ELisp manual. I think we should generally advise against using this tag for defcustom's that might affect the startup code itself. For 100% safety, one should probably use it only with variables defined in C. Stefan, do you agree? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 10:21:10 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 14:21:10 +0000 Received: from localhost ([127.0.0.1]:35565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aKU-0002cc-Hr for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:21:10 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aKR-0002bu-It for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 10:21:09 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7AE2A1001FC; Sun, 11 Jul 2021 10:21:01 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 683721001E8; Sun, 11 Jul 2021 10:21:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1626013260; bh=idjauCnT5EeeGkzrTpkqR8dS47XdSzBtm9rwCJ/Ng/8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gOaRkSpYZqlmdM8oLgcfwn3B8fDEzVxEpZDvEVH+Bg1JCsdOe+nYfGKQmMz+5mic8 Mj1V6F7EeTDVp+QkNuvx2NPI5NH5KNz3g9iQFsCB9BLAvPgJrFRBfq1/JC+U+U1H/h oh8p8/KXEwUxMc2J1cPVuNXbQehAFK6HcMCwxQSHwFMK3rqTuFrO6vEh4iijBTHRJc dx+uIo/dr1zky+OlE6nHwnY+7fkRkOg7JPBFlgbf8aqtAwnRygVPh0/H8snpuxN4jn 9snKYcV1RcmVA+SKo5CqznI4aiDLwpgRVzU12K7PX3ARSTTOfOtzSS0jsRK/tkQ7n8 TD7RflCIUXCpw== Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 317AF120189; Sun, 11 Jul 2021 10:21:00 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms Message-ID: References: <87h7h2lz7w.fsf@gnus.org> Date: Sun, 11 Jul 2021 10:20:59 -0400 In-Reply-To: <87h7h2lz7w.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 10 Jul 2021 21:56:35 +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.101 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-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org, Naofumi Yasufuku 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 (---) > Well, that code was buggy (as Michael pointed out) -- Fboundp doesn't > work on interned symbols, apparently? It does. The problem is that you want to use `Ffboundp` instead, AFAICT. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 10:27:26 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 14:27:26 +0000 Received: from localhost ([127.0.0.1]:35574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aQY-0002oA-FM for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:27:26 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2aQV-0002nm-Kv for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 10:27:25 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2F5FE1001FC; Sun, 11 Jul 2021 10:27:18 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8B0431001E8; Sun, 11 Jul 2021 10:27:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1626013632; bh=0s40WMR8DZTv9gs3GkfQafuXqngnzMgRpDOJ21dGOH4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IuiQz9bLZtWhXKEsSLVcxHrY7h//sJ7xADIXWynKrz2OXgusX/tvMNzoGfuSE5vm8 FNRincDcg4/BH46f9Emi6fKKau0aG/gyZs02ayL+yBdvqNT9z8v9tj/fy+qjHhBAgT yXuhA0n0RwF8LkLBgvBSgGOxPOSmgMcXGuBwPtwaN/oS837CDXkHccQtfcAH19twv0 kFWSIj2WB0STBBNyb8T9PYVr+jDoP1GvM4UeEJryboGy/OPkzHmHbseDHYb+YD4nQn Aelyxu4p9slGbmzcFUl+9G2TM2dMHKY7sI5n+8nL0O/K4JGOB4m+5tf7Ftt9pQU2x7 fpXJx+eyG4fsg== Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0D0B0120235; Sun, 11 Jul 2021 10:27:11 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms Message-ID: References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> <83a6mtavas.fsf@gnu.org> Date: Sun, 11 Jul 2021 10:27:11 -0400 In-Reply-To: <83a6mtavas.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Jul 2021 15:28:59 +0300") 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.100 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-Debbugs-Envelope-To: 49507 Cc: Lars Ingebrigtsen , 49507@debbugs.gnu.org, naofumi@yasufuku.dev 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 (---) > So I think we should simply remove the :initialize tag from that > variable. Agreed. `custom-initialize-delay` should be used sparingly. > However, given this incident, I'm worried that others could trip on > this subtlety. So I wonder whether we should describe it in the ELisp > manual. What is "it"? `custom-initialize-delay` is described in `lispref/custom.texi` so are you suggesting that we don't describe it there? I could go along with that (it's only meaningful for predumped files so it is kind of "internal to Emacs's core"). At the same time I don't see how that would have helped here. > I think we should generally advise against using this tag for > defcustom's that might affect the startup code itself. We should generally advise against using this initialization function at all. Obviously it has its uses, but it's finicky. > For 100% safety, one should probably use it only with variables > defined in C. Stefan, do you agree? I don't see why being defined in C would be relevant, no. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 10:51:09 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 14:51:09 +0000 Received: from localhost ([127.0.0.1]:35589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2anV-0003O9-8j for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:51:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2anQ-0003Nc-SC for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 10:51:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49012) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2anJ-0002yW-G3; Sun, 11 Jul 2021 10:50:57 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3083 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2anI-0002aH-SA; Sun, 11 Jul 2021 10:50:57 -0400 Date: Sun, 11 Jul 2021 17:50:45 +0300 Message-Id: <838s2cc3ay.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Sun, 11 Jul 2021 10:27:11 -0400) Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> <83a6mtavas.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org, naofumi@yasufuku.dev 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: Stefan Monnier > Cc: Lars Ingebrigtsen , 49507@debbugs.gnu.org, > naofumi@yasufuku.dev > Date: Sun, 11 Jul 2021 10:27:11 -0400 > > > However, given this incident, I'm worried that others could trip on > > this subtlety. So I wonder whether we should describe it in the ELisp > > manual. > > What is "it"? `custom-initialize-delay` is described in > `lispref/custom.texi` so are you suggesting that we don't describe > it there? No, I'm saying that we should recommend its use only with variables that are defined in C, which makes sure they are defined by the time the startup code runs. > > I think we should generally advise against using this tag for > > defcustom's that might affect the startup code itself. > > We should generally advise against using this initialization function > at all. Obviously it has its uses, but it's finicky. > > > For 100% safety, one should probably use it only with variables > > defined in C. Stefan, do you agree? > > I don't see why being defined in C would be relevant, no. Because those are always defined when the startup code runs. By contrast, if you define them in some preloaded Lisp file, the defcustom form could run before the preloaded Lisp is restored from the pdumper file. Maybe I'm confused, but in that case can you describe why the error happens for lock-file-name-transforms when the startup code needs to lock a file early on? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 11 12:43:02 2021 Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 16:43:02 +0000 Received: from localhost ([127.0.0.1]:35794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2cXl-0006Ey-SZ for submit@debbugs.gnu.org; Sun, 11 Jul 2021 12:43:02 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2cXg-0006Eg-Rk for 49507@debbugs.gnu.org; Sun, 11 Jul 2021 12:43:00 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5AF9A80D51; Sun, 11 Jul 2021 12:42:51 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 307DD80926; Sun, 11 Jul 2021 12:42:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1626021770; bh=oxfmL4VytBFYsfTuglGAFt1ogEGEc/Z8M1Qzq0BNh6U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=X+cf73Po1LWVo+dWvEtgjmqh5cu5ObZs1NunFk2NRNTBPs7Z6fwXLAoFyHnEWLVy0 jdRwfVAou91BeKKf8sm+Ahqt2Bb/N3h59icegL8cNRXO80WjbKI/o5dUP3z01he31T sgvwZGfIbas4edGDB6QEITmrTARTTv1nA0LZtSoYJDAnw2tRwyDNB9+77hy25B51L/ 3z6mHRnw/fhY4Ly+IzqB5nHQMAJlounnAItToLgQcQVt6ET1CkLUjbPhXNj8HHZoyI Ct+MtKfypJR2JU5wJfoHrXnyR74+ZGqmhTnh0ADCUr9qgJCI4OSiN2U8fnMg2X00Td HQkZ0BGi+tdQQ== Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EAA511201AF; Sun, 11 Jul 2021 12:42:49 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms Message-ID: References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> <83a6mtavas.fsf@gnu.org> <838s2cc3ay.fsf@gnu.org> Date: Sun, 11 Jul 2021 12:42:49 -0400 In-Reply-To: <838s2cc3ay.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Jul 2021 17:50:45 +0300") 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.098 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-Debbugs-Envelope-To: 49507 Cc: larsi@gnus.org, 49507@debbugs.gnu.org, naofumi@yasufuku.dev 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 don't see why being defined in C would be relevant, no. > Because those are always defined when the startup code runs. By > contrast, if you define them in some preloaded Lisp file, the > defcustom form could run before the preloaded Lisp is restored from > the pdumper file. The error indeed came from the fact that the var is not defined when `defcustom` is executed but instead only later on, when the predumped Emacs is executed (in `startup.el`). But to some extent it's only a side effect of the current implementation of `custom-initialize-delay`. We could change it to also define the variable when the `defcustom` is executed. [ AFAICT that should be mostly painless, but past experience with this functionality tells me that this change would inevitably introduce some unforeseen change which we'd only discover a few months later ;-) ] The underlying functionality is needed for any variable that's predefined in the dump and yet whose default value can't be precomputed when we dump Emacs. A `grep` shows that the vast majority of those variables are defined in ELisp. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 12 08:01:37 2021 Received: (at 49507) by debbugs.gnu.org; 12 Jul 2021 12:01:37 +0000 Received: from localhost ([127.0.0.1]:36671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ucz-0006qu-IO for submit@debbugs.gnu.org; Mon, 12 Jul 2021 08:01:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ucw-0006qg-UX for 49507@debbugs.gnu.org; Mon, 12 Jul 2021 08:01:36 -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=+bMMSIEyJk1r0uzh3oMzFbr+AJcXr+3iJKGGSSSA4eY=; b=b9VXx7kW2qApADYnyBCzPMDAXh OKoC6tkqWKD/AA54o8N3nWnnmvVHtvbCuslrtLEFPDWq5Fay0qpAhl7IknsTF898880aDBVsl/UbE ALrGhB3OH5h0TxE505Ng8nCr3lpkMUKpnuV4u7RiLoQcFSe7vCO/6srRRV0JS1EMQG1A=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2uci-0005q3-Uc; Mon, 12 Jul 2021 14:01:27 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> <83a6mtavas.fsf@gnu.org> <838s2cc3ay.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUWDSYoGDNPJEyh PoD////aMRICAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHDAwAF/hiP5oAAAGpSURBVDjLbVSBkcMw CANPAHQBQzZI9t/tBdhJen33rpdYSAiwQ6SqrEqsRIwHzQ1VIda9WCOX17/Qz+LFGNpovaRiEi0B j5nAgIhrqBtC3N5S0jLJSfaBSHO7ap3h2rFMBkWLBVzwo9IQUonRzcCrK4IDspk8ogleXs3jSkpK xtEE6BhQO7GXklGU08uOMH+8nQ7kASdcqkoIaHvLHTuu3K3QMRswp1CO05zNU/mT1SI+oAWgLFXn 0LOMD8EmG6z7AqgAKGcnwskOsaclgp8TqiUZJ+rdAFqZWqhfuUqSFskVTWB9DbHMYirW03qAHA5G lo67Nw1YemO0cajhYcoymr3vjigBoLkpNY+1BnL4Pk1vIHVwat7Aygkfn1U2RwOzjcx1xAaoZ0nZ 0kKLLzCG7xxjnzdMJCNugO+KtcgP8ExgNPVtt1u47Oq6H1w0WN11cHekRSb+Nz/z30qygJ6K3kDx vO9ZH5wvv5kWB4PkiBr7w8JxvE5txhdQt8GFX3WsYjww7/ocjH0K/P4S5NWd1RD9Wdbh35t5023r fEO4yPM/HRAyx7+Azj+RezxNuL9l/wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xMlQxMjow MDoyMiswMDowMHllJTAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTJUMTI6MDA6MjIrMDA6 MDAIOJ2MAAAAAElFTkSuQmCC X-Now-Playing: Boris with Merzbow's _Gensho (4)_: "Angel" Date: Mon, 12 Jul 2021 14:01:20 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 11 Jul 2021 12:42:49 -0400") Message-ID: <87o8b7u4fj.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 to some extent it's only a side effect of the current implementation > of `custom-initialize-delay`. We could change it to also define the > variable when the `defcustom` is executed. 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: Eli Zaretskii , 49507@debbugs.gnu.org, naofumi@yasufuku.dev 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 (---) Stefan Monnier writes: > But to some extent it's only a side effect of the current implementation > of `custom-initialize-delay`. We could change it to also define the > variable when the `defcustom` is executed. Yeah, I'd much prefer making `custom-initialize-delay' more robust. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 12 08:02:05 2021 Received: (at 49507) by debbugs.gnu.org; 12 Jul 2021 12:02:05 +0000 Received: from localhost ([127.0.0.1]:36675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2udQ-0006ry-PY for submit@debbugs.gnu.org; Mon, 12 Jul 2021 08:02:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2udP-0006rN-3M for 49507@debbugs.gnu.org; Mon, 12 Jul 2021 08:02:03 -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=Xx/62rUw0wmvlbGd97XIwGOzRxihZfh7xOGKiJsJrYc=; b=W+miIzxAWQM/iN/wam8Ddn4gw2 KoLch1lTcbjVN5Xq2qDQFJiO0d3J1TbKQxIMCBSiSvf3fcSKY+5utMx7/bzgeNSE40boatTmPHdH8 OQceevD7W77o6SYaNVaUIBziZA7J29Y4VIER28K74NhFOM7I0gS/Bz3rafENc1kxlzL4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2udC-0005qS-4G; Mon, 12 Jul 2021 14:01:56 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: <87h7h2lz7w.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUWDSYoGDNPJEyh PoD////aMRICAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHDAwAF/hiP5oAAAGpSURBVDjLbVSBkcMw CANPAHQBQzZI9t/tBdhJen33rpdYSAiwQ6SqrEqsRIwHzQ1VIda9WCOX17/Qz+LFGNpovaRiEi0B j5nAgIhrqBtC3N5S0jLJSfaBSHO7ap3h2rFMBkWLBVzwo9IQUonRzcCrK4IDspk8ogleXs3jSkpK xtEE6BhQO7GXklGU08uOMH+8nQ7kASdcqkoIaHvLHTuu3K3QMRswp1CO05zNU/mT1SI+oAWgLFXn 0LOMD8EmG6z7AqgAKGcnwskOsaclgp8TqiUZJ+rdAFqZWqhfuUqSFskVTWB9DbHMYirW03qAHA5G lo67Nw1YemO0cajhYcoymr3vjigBoLkpNY+1BnL4Pk1vIHVwat7Aygkfn1U2RwOzjcx1xAaoZ0nZ 0kKLLzCG7xxjnzdMJCNugO+KtcgP8ExgNPVtt1u47Oq6H1w0WN11cHekRSb+Nz/z30qygJ6K3kDx vO9ZH5wvv5kWB4PkiBr7w8JxvE5txhdQt8GFX3WsYjww7/ocjH0K/P4S5NWd1RD9Wdbh35t5023r fEO4yPM/HRAyx7+Azj+RezxNuL9l/wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xMlQxMjow MDoyMiswMDowMHllJTAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTJUMTI6MDA6MjIrMDA6 MDAIOJ2MAAAAAElFTkSuQmCC X-Now-Playing: Boris with Merzbow's _Gensho (4)_: "Angel" Date: Mon, 12 Jul 2021 14:01:49 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 11 Jul 2021 10:20:59 -0400") Message-ID: <87k0lvu4eq.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: >> Well, that code was buggy (as Michael pointed out) -- Fboundp doesn't >> work on interned symbols, apparently? > > It does. The problem is that you want to use `Ffboundp` instead, AFAICT. 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org, Naofumi Yasufuku 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 (---) Stefan Monnier writes: >> Well, that code was buggy (as Michael pointed out) -- Fboundp doesn't >> work on interned symbols, apparently? > > It does. The problem is that you want to use `Ffboundp` instead, AFAICT. Ff... heh. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 12 08:18:30 2021 Received: (at control) by debbugs.gnu.org; 12 Jul 2021 12:18:30 +0000 Received: from localhost ([127.0.0.1]:36704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2utK-0007Gv-2w for submit@debbugs.gnu.org; Mon, 12 Jul 2021 08:18:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ut3-0007GQ-J4 for control@debbugs.gnu.org; Mon, 12 Jul 2021 08:18:28 -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=G89Oi7J7RFtNVQKp5J3OUJ82iNde2bGzULCFqUxzDzo=; b=QgKfNlWyN3NzueFrhQ7t2Umbt9 +XdFkvhFtHvliWJZLuejv+GIvJ1HjbigfDvwnoStFXYRkUUQPdiN07X+uhVeMV390B+g05lOh118/ bSl6kgdUC2WSwT1/ohFRxlW5SIi4SIOZ92IHoMLJhHHR8Z6RxfHlg11iSx6eYAHrhLhY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2usw-0005yd-2r for control@debbugs.gnu.org; Mon, 12 Jul 2021 14:18:08 +0200 Date: Mon, 12 Jul 2021 14:18:05 +0200 Message-Id: <875yxfu3nm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49507 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 49507 - moreinfo 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: -3.3 (---) tags 49507 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 08:01:06 2021 Received: (at 49507) by debbugs.gnu.org; 16 Jul 2021 12:01:06 +0000 Received: from localhost ([127.0.0.1]:50677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4MWg-0000jg-FK for submit@debbugs.gnu.org; Fri, 16 Jul 2021 08:01:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4MWe-0000iz-9h for 49507@debbugs.gnu.org; Fri, 16 Jul 2021 08:01:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=99yUiJcQbnN8OJS2lKxyrLLedrN5tprnRGVLP7O8nfk=; b=UTAfJrOp/kTYhQ2MsW/+3r1hBz AuFzeGOamgG4j84Uix5vs4Z2Vtca7ysSFPMiMlaeY73YwKqnLAmigNDr+0N6HVIcbpRTTEl+n+1Jh iX+zsantniNV20jN7I4CBoEtr7yuN25l7Mr/2DlJ7u2KcOkCHMLpiA2K1SQ4Kwfp7wYA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4MWV-00040q-4E; Fri, 16 Jul 2021 14:00:57 +0200 From: Lars Ingebrigtsen To: Naofumi Yasufuku Subject: Re: bug#49507: 28.0.50; macOS: =?utf-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms References: X-Now-Playing: Doms & Deykers's _Fabric 94: Steffi_: "No Life on the Surface" Date: Fri, 16 Jul 2021 14:00:54 +0200 In-Reply-To: (Naofumi Yasufuku's message of "Sun, 11 Jul 2021 02:11:51 +0900") Message-ID: <87eebya2o9.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Naofumi Yasufuku writes: > Emacs doesn't start due to the following error: > $ ./src/emacs -Q > Symbol’s value as variable is void: lock-file-name-transforms I've now removed the :initialize form from the defcustom, so the build should work better now. (I'll be filing a new bug report about :initialize 'custom-initialize-delay in general.) 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: -2.3 (--) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Naofumi Yasufuku writes: > Emacs doesn't start due to the following error: > $ ./src/emacs -Q > Symbol=E2=80=99s value as variable is void: lock-file-name-transforms I've now removed the :initialize form from the defcustom, so the build should work better now. (I'll be filing a new bug report about :initialize 'custom-initialize-delay in general.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 08:01:10 2021 Received: (at control) by debbugs.gnu.org; 16 Jul 2021 12:01:11 +0000 Received: from localhost ([127.0.0.1]:50680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4MWk-0000jw-Lj for submit@debbugs.gnu.org; Fri, 16 Jul 2021 08:01:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4MWi-0000jY-Sp for control@debbugs.gnu.org; Fri, 16 Jul 2021 08:01:09 -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=+3YhVa9QBSwOPiYNNQHZpmn0QdjTq2IY8oqim1YjWHE=; b=F0Db0HjAbZyPrdQG35DHoLiFiw sdhhArFgIBazCQfbZ9AM6k8DFdNSUhlofpk2H4N62MG5QUrE+m4P/F5Q25H1+wbf/1JI3ycENgoGd 1Gs0YNVkHzIU1owazKONzt8uvT5ZUSKXpyncev3o+Pgkd7k0724OrKusVG0RUn5MPrgA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4MWb-00040z-9P for control@debbugs.gnu.org; Fri, 16 Jul 2021 14:01:03 +0200 Date: Fri, 16 Jul 2021 14:01:00 +0200 Message-Id: <87czria2o3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49507 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: close 49507 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: -2.3 (--) 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: -3.3 (---) close 49507 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 10:07:33 2021 Received: (at 49507) by debbugs.gnu.org; 16 Jul 2021 14:07:33 +0000 Received: from localhost ([127.0.0.1]:51959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4OUy-0006c0-1u for submit@debbugs.gnu.org; Fri, 16 Jul 2021 10:07:33 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:41985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4OUs-0006bi-8v for 49507@debbugs.gnu.org; Fri, 16 Jul 2021 10:07:26 -0400 Received: (Authenticated sender: naofumi@yasufuku.dev) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 670FB1BF207; Fri, 16 Jul 2021 14:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1626444435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+zViQR1H5D1l6LZPUkI1fEThGbOzb9RGXWPQLU1vLCM=; b=H2UDZaYVKgK/DWj76N8ga16XUnFfo+LhR4GshEKRlGEKQAHclAVKtyJG/dmhbl7GMdv30o vKtjoP8Zj1utdxlKblqosmTonxLNnfKLzB8VG9lQdWRK/SIjCSPhlbpYQG0Dr4yhhEN+U/ ul+99OGPrxchEV3jvGuLVcxoqmLujeVSNawtd+SRR7xMcZ7ERNhvh3iOeBVopEz7yjqX+P GmNYEmztqiim2Xyai1Emswe937WYlVxO7Y0DRpEBtoUkRdrRXrNBgoLkbWoOHiuWZjwOO/ 3pHbd+Sr9Me4Y8Ri/nHuiQCQP0v/kPFAKKb0mRkZoTIF2fllXqG6XIDnu/LsuQ== References: <87eebya2o9.fsf@gnus.org> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Naofumi Yasufuku To: Lars Ingebrigtsen Subject: Re: bug#49507: 28.0.50; macOS: =?iso-2022-jp?B?U3ltYm9s?= =?iso-2022-jp?B?GyRCIUcbKEJz?= value as variable is void: lock-file-name-transforms In-reply-to: <87eebya2o9.fsf@gnus.org> Date: Fri, 16 Jul 2021 23:07:06 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49507 Cc: 49507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > > I've now removed the :initialize form from the defcustom, so the build > should work better now. (I'll be filing a new bug report about > :initialize 'custom-initialize-delay in general.) Thank you, Lars and everyone. Sorry for my absence. I confirmed that 'LANG=ja_JP.UTF-8 emacs' starts up without error after commit 561ef16fd0. I agree that defcustom `custom-initialize-delay' implementation issue still remains, and this workaround lacks a bit of consistency of `make-lock-file-name' with custom `lock-file-name-transforms' variable. In closing, let me summarize this issue: -------- $ ./configure --with-native-compilation ... $ make -j8 bootstrap STEP 0) Make sure that ~/.emacs/eln-cache doesn't exist. Remove or rename it if exists. $ mv ~/.emacs/eln-cache ~/.emacs/eln-cache.old STEP 1) Run emacs with $LANG that can invoke async native compilation of lisp/language/*-util.el. $ LANG=ja_JP.UTF-8 ./src/emacs -Q Symbol$B!G(Bs value as variable is void: lock-file-name-transforms $ $ LANG=zh_CN.UTF-8 ./src/emacs -Q Symbol's value as variable is void: lock-file-name-transforms $ $ ls aclocal.m4 configure.ac lwlib admin CONTRIBUTE m4 autogen.sh COPYING make-dist autom4te.cache doc Makefile BUGS emacs-async-comp-china-util-C75DZz.el Makefile.in build-aux emacs-async-comp-japan-util-eJHmFp.el modules ChangeLog.1 etc msdos ChangeLog.2 GNUmakefile native-lisp ChangeLog.3 info nextstep compile_commands.json INSTALL nt config.bat INSTALL.REPO oldXMenu config.log leim README config.log~ lib src config.status lib-src test configure lisp $ TRACE) This error can happen if `write-region' by async native compilation runs at early stage of emacs startup. Not macOS-specific. $ cd src $ export LANG=ja_JP.UTF-8 $ gdb emacs .. Breakpoint 1 at 0x1000d3a00: terminate_due_to_signal. (2 locations) (gdb) b make_lock_file_name Breakpoint 2 at 0x100100aa8: make_lock_file_name. (3 locations) (gdb) r -Q Starting program: /home/naofumi/src/git.sv.gnu.org/emacs/src/emacs -Q [New Thread 0x2303 of process 36192] [New Thread 0x2203 of process 36192] warning: unhandled dyld version (17) [New Thread 0x1907 of process 36192] [New Thread 0x2003 of process 36192] [New Thread 0x2103 of process 36192] Thread 2 hit Breakpoint 2, make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 625 return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); (gdb) bt #0 make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 #1 lock_file (fn=XIL(0x14562c9a4)) at filelock.c:666 #2 Flock_file (file=XIL(0x14562c9a4)) at filelock.c:755 #3 0x000000010010c9b5 in write_region (start=, end=, filename=, append=, visit=make_fixnum(0), lockname=, mustbenew=XIL(0), desc=10) at fileio.c:5230 ... Lisp Backtrace: "write-region" (0xefbfdd58) "comp-run-async-workers" (0xefbfdf10) "native--compile-async" (0xefbfe180) "defalias" (0xefbfe250) "set-language-environment" (0xefbfeac8) "set-locale-environment" (0xefbfee88) "normal-top-level" (0xefbfef30) (gdb) s Symbol$B!G(Bs value as variable is void: lock-file-name-transforms [Inferior 1 (process 36192) exited with code 0377] (gdb) q EXPECTED BEHAVIOR) Emacs starts up and async native compilation runs without error like this: *Async-native-compile-log* -------- Compiling /home/naofumi/src/git.sv.gnu.org/emacs/lisp/language/japan-util.el... Compiling /home/naofumi/src/git.sv.gnu.org/emacs/lisp/emacs-lisp/cl-lib.el... Compiling /home/naofumi/src/git.sv.gnu.org/emacs/lisp/emacs-lisp/seq.el... ... -------- AN INTERIM WORKAROUND 1) Specify LANG=C or en_US $ LANG=en_US.UTF-8 ./src/emacs -Q $ AN INTERIM WORKAROUND 2) -------- lisp/files.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 0dfcab8f89..894a06e6e7 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -424,7 +424,6 @@ lock-file-name-transforms :type '(repeat (list (regexp :tag "Regexp") (string :tag "Replacement") (boolean :tag "Uniquify"))) - :initialize 'custom-initialize-delay :version "28.1") (defvar auto-save--timer nil "Timer for `auto-save-visited-mode'.") -------- In GNU Emacs 28.0.50 (build 1, aarch64-unknown-linux-gnu, GTK+ Version 3.24.25, cairo version 1.16.0) of 2021-07-16 built on phoebe Repository revision: 865535a24cd07efee3c2d323de6e9baae8bc817d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101001 System Description: Ubuntu 21.04 Configured using: 'configure --prefix=/home/naofumi/.local/emacs-head --with-mailutils --with-native-compilation --with-xwidgets' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 73557 8376) (symbols 48 7820 1) (strings 32 21016 3598) (string-bytes 1 690372) (vectors 16 17084) (vector-slots 8 281899 11071) (floats 8 27 36) (intervals 56 218 0) (buffers 992 12)) From unknown Sat Jun 14 05:23:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Aug 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator