From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26324 invoked from network); 28 Oct 2023 15:38:42 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 28 Oct 2023 15:38:42 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwlOL-0000gx-Q8; Sat, 28 Oct 2023 11:38:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwlOI-0000gp-V4 for info-gnus-english@gnu.org; Sat, 28 Oct 2023 11:38:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwlOH-00065Z-4o for info-gnus-english@gnu.org; Sat, 28 Oct 2023 11:38:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 37CC924002A for ; Sat, 28 Oct 2023 17:38:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698507498; bh=axboXqIB+kTVZv53WVO81grR59/fGI0UAlYGH21Nppg=; h=From:To:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=bAXPDc3lCIbnxx41TIXTqzmZY1Wbrb57kHBNHiSv389R0CJYvFETTW0WmDba755Sx 0zpJdC2YwrEXwUDkcpVW2WrMlmpJz/NFVnL7OC/H9F9lQ8bk+s0Enbbck5OCHfJyQ0 SjCHUnsWF/dI3KnQkHu/fZw3Ded4GYrVb7+cE1aEIyIlM8OA5jkhYvpRObcb1ABJ+Q +l9KEcle394qqCgWYo2hrsjXfnNmV9QFd3JajUm09DUjov+MEDK5hge7xRx0X6QqGN DRfnCdZrEEkm6M2T2hB1lQPP6XP/FQASdnvQswngzLSW/NIkoTUt+iP5BzvzLIHuZE eGkAv09yHtD9w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SHkFb1TZ1z6txR for ; Sat, 28 Oct 2023 17:38:10 +0200 (CEST) From: =?utf-8?Q?Bartosz_Kaczy=C5=84ski?= To: info-gnus-english@gnu.org Subject: Re: use-package :custom causes gnus to load In-Reply-To: <864jiaize8.fsf@csic.es> ("Juan =?utf-8?Q?Jos=C3=A9_Garc?= =?utf-8?Q?=C3=ADa-Ripoll=22's?= message of "Sat, 28 Oct 2023 16:40:15 +0200") References: <86cywzhy38.fsf@csic.es> <87a5s3ugee.fsf@posteo.net> <864jiaize8.fsf@csic.es> Date: Sat, 28 Oct 2023 15:38:06 +0000 Message-ID: <87lebm4v1d.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=bkaczynski@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Juan Jos=C3=A9 Garc=C3=ADa-Ripoll writes: > Your below example shows using :config and an explicit setq statement to > change the value of that variable. I found that this approach *does not* > trigger loading gnus, but using the :custom field of use-package does. I > cannot really fathom why. So you want the variable set, but without invoking Gnus? What's your purpose in doing so? According to documentation: >:config can be used to execute code after a package is loaded. So, the `:custom` option executes code before the package is loaded.