From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add new csetq macro Date: Sun, 04 Sep 2022 17:07:01 +0000 Message-ID: <87y1uzf4qy.fsf@posteo.net> References: <20220903140723.809684-1-lucien@phundrak.com> <875yi4ih3b.fsf@posteo.net> <87o7vvz7a7.fsf@phundrak.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lucien Cartier-Tilet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 04 19:08:56 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oUt79-0002G5-Ad for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Sep 2022 19:08:55 +0200 Original-Received: from localhost ([::1]:56912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUt78-0004NW-85 for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Sep 2022 13:08:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUt5S-0002kV-1q for emacs-devel@gnu.org; Sun, 04 Sep 2022 13:07:10 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUt5P-0001Oa-Tc for emacs-devel@gnu.org; Sun, 04 Sep 2022 13:07:09 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A7398240106 for ; Sun, 4 Sep 2022 19:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1662311223; bh=I2+ObmwOcgyWojhSDZJXjvfUezPFES9eJO57/cnFB+Y=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=FFD3Su/R8/hvITwEv51xxUHfxQxL6vAbudKAfR+PAClMjx9jelkWqCtQSYno7vZbw kJUAD/hbYvfd6lrxN8QLJn3UE7D9wC4iWwVdy7SGfUHzGekS2AEFXW1bkvZNzmjl4c QabcltWzwlWaXgz0pjm/kKC/p93J/8xhY0juIJwUyC00hp8UUjtnCdNltQLZPDluCt dlEAGAgJZHEwWLe+Uy77kjY9iNTuxzwzaR0gdD+7Qdst/VTYupw3j5beltU852wUAS fXdFhnz1WP7fwBkUTUv2x62oLyZogXn69DslSnY4OqaGsXqzhFOYkfrHm/ityl6Pfr Uw4/074JIEV5Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MLJ3W03mDz6tnx; Sun, 4 Sep 2022 19:07:02 +0200 (CEST) In-Reply-To: <87o7vvz7a7.fsf@phundrak.com> (Lucien Cartier-Tilet's message of "Sun, 04 Sep 2022 13:48:34 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:294706 Archived-At: Lucien Cartier-Tilet writes: >> Note that this would have the issue that changes would automatically be >> added to the "user" theme, and hence be reproduced in the >> `custom-set-variables' section. If the user sets an option using this >> macro, and the `custom-set-variables' is evaluated after this point, the >> intended change would be silently overridden. > > I must admit I completely forgot about the `custom-set-variables' > section of the configuration since I disabled it entirely in my > configuration, due to this behaviour precisely. But wouldn=E2=80=99t that= be > an issue if anything else like `setq' or `customize-variable' is used > instead of `csetq'? Yes, unless you make sure the customisation is not added to the user theme, but either some other theme, as it is done with use-package or no theme at all as is the case with setup.el. > -- > Lucien =E2=80=9CPhundrak=E2=80=9D Cartier-Tilet > (Fran=C3=A7ais) > (English) > Sent from GNU/Emacs