From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really? Date: Sun, 12 Sep 2021 21:17:39 -0400 Message-ID: References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <838s0fpixr.fsf@gnu.org> <83k0jtr45c.fsf@gnu.org> <87v93avtoe.fsf@gnus.org> <87r1dyvtav.fsf@gnus.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, hmelman@gmail.com, 21695@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 13 03:18:34 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 1mPacD-0004Sz-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Sep 2021 03:18:33 +0200 Original-Received: from localhost ([::1]:42136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPacC-0005jR-DT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 21:18:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPabk-0005dx-Mq for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 21:18:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPabj-0005M8-Bx for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 21:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPabi-0003GK-Ni for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 21:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Sep 2021 01:18: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.163149586712496 (code B ref 21695); Mon, 13 Sep 2021 01:18:02 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 13 Sep 2021 01:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:43727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPabS-0003FT-Ql for submit@debbugs.gnu.org; Sun, 12 Sep 2021 21:17:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPabR-0003FG-1x for 21695@debbugs.gnu.org; Sun, 12 Sep 2021 21:17:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46250) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPabL-0004nB-T1; Sun, 12 Sep 2021 21:17:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mPabL-0003W5-PU; Sun, 12 Sep 2021 21:17:39 -0400 In-Reply-To: (message from Gregory Heytings on Fri, 10 Sep 2021 13:49:07 +0000) 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:214171 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The solution you proposed is not optimal I think, in particular because > variables can also be set interactively, e.g. with M-: or C-x C-e, so > checking that they have been set correctly after loading the init file is > not enough. Yes they can, but why is there a problem? I don't see one. Could you spell out the scenario? > * src/eval.c (Fsetq): Display warning when a custom variable with a :set > property is set with setq. Warnings are displayed only for custom variables > whose files have been loaded and that have a :set property. That might be a good solution too. I'm not trying to argue that my solution is best. I'm only arguing against telling people to change their init files to replace `setq' with `customize-set-variable'. If your solution avoids that, I don't mind. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)