From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really? Date: Wed, 15 Sep 2021 10:00:41 +0000 Message-ID: <3a92ee677874d4285328@heytings.org> References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <83k0jtr45c.fsf@gnu.org> <87v93avtoe.fsf@gnus.org> <87r1dyvtav.fsf@gnus.org> <87mtolx6de.fsf@gnus.org> <87ilz9x5c8.fsf@gnus.org> <87y284rb1z.fsf@gnus.org> <0d48a23084a8b0435f37@heytings.org> <83h7eqf9wx.fsf@gnu.org> <0d48a230848de1d1b255@heytings.org> <83ee9uf82a.fsf@gnu.org> <0d48a23084cf7a569554@heytings.org> <83czpef6hj.fsf@gnu.org> <97113ce8ba560c9ac39f@heytings.org> <6b0f1c8e-9cfa-99b5-2862-d25e85cff3e5@gmx.at> <97113ce8bab1a4e2456d@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18657"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, hmelman@gmail.com, 21695@debbugs.gnu.org, rms@gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 15 12:01:52 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 1mQRjj-0004dt-6l for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 12:01:51 +0200 Original-Received: from localhost ([::1]:58254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQRjh-0000sP-As for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 06:01:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQRiy-0000pX-8B for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 06:01:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQRiw-0002qd-Fk for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 06:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQRiv-0002xH-PB for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 06:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Sep 2021 10:01:01 +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.163170004511329 (code B ref 21695); Wed, 15 Sep 2021 10:01:01 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 15 Sep 2021 10:00:45 +0000 Original-Received: from localhost ([127.0.0.1]:50940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQRie-0002wf-Pc for submit@debbugs.gnu.org; Wed, 15 Sep 2021 06:00:44 -0400 Original-Received: from heytings.org ([95.142.160.155]:60994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQRid-0002wX-M6 for 21695@debbugs.gnu.org; Wed, 15 Sep 2021 06:00:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1631700042; bh=wV4PVonwEy3hN6SFSWROPyt+0AZEVLdAkpmFAHEdlU0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=DBaqfnyj8+IDhMLa4tEOwnNe3GSI0Brv/r5YtnEFFGstPWeR6f3wfww58qhe+1qpR 44zqDTBFbKQMbytF2ix0/LlAsi9eUsGqczp+aemYnJ+QwHfVIBQhgxVBDRoeSUkCjP 1WvMHEYbtMrQf8T48wNsNdCcnr7eHt1t7eYamkbqjvJ79gvHW/XJTqegZyymSj6vaz 6C3ARgVZWu5DH03oXoXrZyFvrBl+Zxuu8jKMHIuNZOah+j4bDR/OXJQ1Vu3HVdwbsM ywGTQXmYKJTIpJc6bpX3nandcwpskTGkLYciPP58eNtldW88rlaufNvF2C6TNVswT4 9ELCSl0LWql5Q== In-Reply-To: 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:214379 Archived-At: >> The point is not to display unnecessary warnings. The point is only to >> display warnings for custom variables that should not be set with setq >> because they have a :set form, or IOW, to display warnings for custom >> variables that should be set with customize-set-variables. > > I checked most of our uses of :set and agree that they usually behave > well-mannered so using `setq' instead is practically always a bug > indeed. > Thank you. So this has now been (at least) double-checked. > > But if the warnings are not displayed for byte-compiled code I miss who > their major addressee would be. > Users who use setq in their init files where customize-set-variable should be used, and users who use setq interactively (with e.g. M-:) when they should have used customize-set-variable instead. In particular newcomers who might be puzzled to see that (setq foo t) does not work as they think it should. Anyway, I don't feel a lot of enthusiasm for that feature, so I think it's probably better to let the patch rest in peace.