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 12:12:40 +0000 Message-ID: References: <97d3ff2c-9e72-4004-88a9-08130ac99a74@default> <838s0fpixr.fsf@gnu.org> <83k0jtr45c.fsf@gnu.org> <87v93avtoe.fsf@gnus.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="27258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21695@debbugs.gnu.org, hmelman@gmail.com, Richard Stallman To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 09 14:13:24 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 1mOIvj-0006rb-GQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 14:13:23 +0200 Original-Received: from localhost ([::1]:41344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOIvi-0001Cm-AK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 08:13:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOIvO-0001CU-MZ for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 08:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOIvO-0004wq-DO for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 08:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOIvO-0003lx-6B for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 08:13: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 12:13: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.163118956214472 (code B ref 21695); Thu, 09 Sep 2021 12:13:02 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 9 Sep 2021 12:12:42 +0000 Original-Received: from localhost ([127.0.0.1]:34324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOIv4-0003lM-Gu for submit@debbugs.gnu.org; Thu, 09 Sep 2021 08:12:42 -0400 Original-Received: from heytings.org ([95.142.160.155]:53554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOIv3-0003lE-Jn for 21695@debbugs.gnu.org; Thu, 09 Sep 2021 08:12:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1631189560; bh=9BFqpJxyx7WJ/C5o5v5xobqD3TgpdDaXoa6ZmeWaoB0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Xs90pjwxy32/hiSBixMDNm7dal1qoan8+tCSJgR3dFfJkkTFsuXt5YxPFBEsQu88D EKqm2q+6gSFz1dRF8FRuX6fZKqvbQ2NiDF7OYt7mGDsQsf84wn6vF9lBBBknPEznot 4b1YhF26a1e1u/CPktA5VlH570MfyRUkYWOl3aSFV2RLCGYqPVv6OhyxIBFBzY2YY0 OotT7p70Dn2VSM4G2DqdhvxWV8yZFR0EoV2PP/R2hp1Axw/TKEsf47s3Y/9rTA+NrE fTwRL9NMTcSOWi86n0202VdnwY95jDxEOR7gFe48/avTx12kGxb9hRM2aLAMhJKAZU cswiCHPiuTyMw== In-Reply-To: <87v93avtoe.fsf@gnus.org> 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:213896 Archived-At: >> * src/eval.c (Fsetq): Display warning when a custom variable with a >> :set property is set with setq. > > It's usually fine to set user options that have a :set form with setq -- > if you do it before the .el file it belongs in is loaded. Finding a > variable it's problematic to use setq on in .emacs took some digging > (when I added the example in the manual). > Hmm... Unless I'm missing something, the case you mention (setq'ing a variable before the .el file is loaded) will not issue a warning. The example I used is (setq gdb-many-windows t).