From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49507: 28.0.50; macOS: =?UTF-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms Date: Sun, 11 Jul 2021 09:21:23 +0300 Message-ID: <83im1hbcbg.fsf@gnu.org> References: <87h7h2lz7w.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38399"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 49507@debbugs.gnu.org To: Naofumi Yasufuku Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 11 08:22:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2Sqw-0009nF-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jul 2021 08:22:10 +0200 Original-Received: from localhost ([::1]:52388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Sqv-0004Td-9B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jul 2021 02:22:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2Sqo-0004TQ-Uh for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 02:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2Sqo-0001sT-Mw for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 02:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2Sqo-0004vn-Ip for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 02:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jul 2021 06:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 49507-submit@debbugs.gnu.org id=B49507.162598450118928 (code B ref 49507); Sun, 11 Jul 2021 06:22:02 +0000 Original-Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 06:21:41 +0000 Original-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 Original-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 Original-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 Original-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 In-Reply-To: (message from Naofumi Yasufuku on Sun, 11 Jul 2021 07:42:15 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209782 Archived-At: > 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?