From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 10:27:11 -0400 Message-ID: References: <87h7h2lz7w.fsf@gnus.org> <83im1hbcbg.fsf@gnu.org> <87sg0lkqyv.fsf@gnus.org> <83a6mtavas.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 49507@debbugs.gnu.org, naofumi@yasufuku.dev To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 11 16:28: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 1m2aRH-0000Of-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jul 2021 16:28:11 +0200 Original-Received: from localhost ([::1]:40666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2aRG-0007mz-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jul 2021 10:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2aR8-0007kI-TI for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 10:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2aR8-0003WF-LM for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2aR8-0002p6-Ac for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2021 10:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jul 2021 14:28: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.162601364610802 (code B ref 49507); Sun, 11 Jul 2021 14:28:02 +0000 Original-Received: (at 49507) by debbugs.gnu.org; 11 Jul 2021 14:27:26 +0000 Original-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 Original-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 Original-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) Original-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== Original-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) In-Reply-To: <83a6mtavas.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Jul 2021 15:28:59 +0300") 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:209799 Archived-At: > 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