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 14:27:50 +0000 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> <87mtolx6de.fsf@gnus.org> <87ilz9x5c8.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="4045"; 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 16:28:12 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 1mOL2C-0000uK-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 16:28:12 +0200 Original-Received: from localhost ([::1]:36974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOL2B-0007eV-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 10:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOL22-0007d5-9n for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 10:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOL22-0006F8-1x for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOL21-00061N-UX for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 10:28: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: Thu, 09 Sep 2021 14:28: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.163119767423119 (code B ref 21695); Thu, 09 Sep 2021 14:28:01 +0000 Original-Received: (at 21695) by debbugs.gnu.org; 9 Sep 2021 14:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:35881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL1u-00060p-K3 for submit@debbugs.gnu.org; Thu, 09 Sep 2021 10:27:54 -0400 Original-Received: from heytings.org ([95.142.160.155]:53738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL1r-00060g-E9 for 21695@debbugs.gnu.org; Thu, 09 Sep 2021 10:27:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1631197670; bh=eYK4C2wWKijUHrbpLPKM7g8fcZsE30+A9RnZw/UNn7c=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=tYezqW4o448jLEaG+/rehB7t0PONLiMofWSDN6srBLZX45LH897YgOdhXiONIemYP GiPZVEwwZD1358oVdC3EeSCEnoGRXpHFD7Ee9dEelotsUap4ZsbT9OU+USdwyc4och 4vLkQE8xVH5bDcFCbkRpbXC3W7ioE6CSo5Dh/jM8yW4ZiofdYvrLUr589W8SjMrHeh 3W7dFlivmViMsHHxAzuvnNeD8zfXap9d96wEqGL8DeXtdgswCO9QtJxSTfq7+Ao5nA 6QUoD+tnr7nAA80I8mh4qKgW6lFL+MlrLQOQJiznoIUwg+TO7VPwLyM4eazKeDGoeR 3pEtUyT01VUVw== In-Reply-To: <87ilz9x5c8.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:213918 Archived-At: >> Do you have an example of a variable with a :set for which it isn't >> problematic to use setq, and an example for which it is? > > Do you mean after loading/starting the package? I guess most of them > are problematic after loading, like (at random) vcursor-key-bindings. > > Most variable that's autoloaded and has a :set can probably be set > safely with setq (before loading the .el file). > Then I still don't get what you mean. An autoloaded but not yet loaded variable doesn't have its custom-set property set, so in that case there would be no warning with the proposed patch. Warnings are displayed only for customs variables that are "fully" loaded, and who have a :set property.