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#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really? Date: Thu, 09 Sep 2021 09:52:11 +0300 Message-ID: <83a6kmkzqc.fsf@gnu.org> References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <838s0fpixr.fsf@gnu.org> <83k0jtr45c.fsf@gnu.org> <83fsufo8ff.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36067"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21695@debbugs.gnu.org, hmelman@gmail.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 09 08:54:36 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 1mODxE-0009C9-60 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 08:54:36 +0200 Original-Received: from localhost ([::1]:42580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mODxC-00081S-Om for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 02:54:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mODvi-0006dU-S2 for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 02:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mODvi-00037y-KM for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 02:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mODvi-0001fV-GB for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 02:53: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: Thu, 09 Sep 2021 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21695 X-GNU-PR-Package: emacs Original-Received: via spool by 21695-submit@debbugs.gnu.org id=B21695.16311703346353 (code B ref 21695); Thu, 09 Sep 2021 06:53:02 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 9 Sep 2021 06:52:14 +0000 Original-Received: from localhost ([127.0.0.1]:34030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mODuw-0001eP-8d for submit@debbugs.gnu.org; Thu, 09 Sep 2021 02:52:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mODur-0001e6-Es for 21695@debbugs.gnu.org; Thu, 09 Sep 2021 02:52:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49040) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mODul-0002NB-TX; Thu, 09 Sep 2021 02:52:04 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2257 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 1mODuf-0005Sn-P9; Thu, 09 Sep 2021 02:51:58 -0400 In-Reply-To: (message from Richard Stallman on Wed, 08 Sep 2021 23:11:33 -0400) 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:213877 Archived-At: > From: Richard Stallman > Cc: 21695@debbugs.gnu.org, hmelman@gmail.com > Date: Wed, 08 Sep 2021 23:11:33 -0400 > > > "Any source file" should include all the Lisp files installed on the > > user's machine, right? > > I don't think so. There is no need. > > To make language clearer, let's say the variable is foofoo, its defcustom > is in foofoo.el, and all its other uses in Emacs are in foofoo.el > after the defcustom. > > That option doesn't have any problems, I think. I don't see the significance of being defined and used in the same file, for this matter. A defcustom could need to use the :set attribute for such variables, if just changing the value doesn't produce the expected effect. For example, some other foofoo.el variables could depend on the value of foofoo, so any change in the value of the latter needs to recalculate the values of its dependencies. Now suppose .emacs uses (setq foofoo ...), and foofoo.el is from some third-party package, or even one of user's own init files. How will we be able to account for that by using a precompiled list of variables produced from just the bundled Emacs Lisp files?