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: Thu, 09 Sep 2021 11:44:58 +0000 Message-ID: References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <838s0fpixr.fsf@gnu.org> <83k0jtr45c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="X99T95z12A" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28699"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21695@debbugs.gnu.org, hmelman@gmail.com To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 09 13:46:28 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 1mOIVg-0007AF-4F for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 13:46:28 +0200 Original-Received: from localhost ([::1]:47308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOIVe-00010Q-1i for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 07:46:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOIVH-00010D-CB for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 07:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOIVG-0006Zf-K2 for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 07:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOIVG-0002vm-Ge for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 07:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 11:46: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.163118790211168 (code B ref 21695); Thu, 09 Sep 2021 11:46:02 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 9 Sep 2021 11:45:02 +0000 Original-Received: from localhost ([127.0.0.1]:34286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOIUI-0002to-BL for submit@debbugs.gnu.org; Thu, 09 Sep 2021 07:45:02 -0400 Original-Received: from heytings.org ([95.142.160.155]:53502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOIUG-0002tN-G2 for 21695@debbugs.gnu.org; Thu, 09 Sep 2021 07:45:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1631187899; bh=iWk47s5sZH0Q61IbbLw1kh9H9LxlZI9wJsa+LjdzqDs=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=KQKkT7XpNxrjj0LDZPl9fKdZUptVuzjGxNwMsZ0cwQZRxfNh0TXzDPM/Qx+VnrXKD H77VZ1hHtYRPKsJo5efONNdcIlmOVvI1jddrCDT+lYrrIj/q5DG/qOvZzM29Jc1NMH BIInZ5+ISgw7gURGYtj1Dz4AOpFwYTMb9hFexgS2PmNGB8QDB4RHDCRge04YoArrId TW7eCrWBu8NDups+Aq+8ZtphOA/zV5DY7zzrOLkFCjCX7RX6LPrzq7lmgvJqNSATqw 02Ltrvd//Siw+zuRmHvaqcVmnvpiHk6E4y/kcI5Je5AR6OxIiK/nXtGqF3TiMLgnj6 j5DLh+QwSHMJA== 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:213891 Archived-At: --X99T95z12A Content-Type: text/plain; charset=us-ascii; format=flowed > > Instead of building such a list, is this not something that could be > done inside Fsetq, by checking whether Fget (sym, Qcustom_set) is > non-nil, and if so, issue an error/warning? > Patch attached. --X99T95z12A Content-Type: text/x-diff; name=Warn-when-defcustom-is-wrongly-set.patch Content-Transfer-Encoding: base64 Content-ID: Content-Description: Content-Disposition: attachment; filename=Warn-when-defcustom-is-wrongly-set.patch RnJvbSA1MGQxZTA3YWIwOThjM2M5ODI1OWY0MzUxNjdjYjFjYjRiZmViM2I1 IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBUaHUsIDkgU2Vw IDIwMjEgMTE6NDA6NTAgKzAwMDANClN1YmplY3Q6IFtQQVRDSF0gV2FybiB3 aGVuIGRlZmN1c3RvbSBpcyB3cm9uZ2x5IHNldC4NCg0KKiBzcmMvZXZhbC5j IChGc2V0cSk6IERpc3BsYXkgd2FybmluZyB3aGVuIGEgY3VzdG9tIHZhcmlh YmxlIHdpdGggYSA6c2V0DQpwcm9wZXJ0eSBpcy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