From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Hedin Newsgroups: gmane.emacs.bugs Subject: bug#71745: 29.3; Customize face re-selects unselected items, leading to broken Date: Mon, 24 Jun 2024 08:51:57 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004967c5061b9d382d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21226"; mail-complaints-to="usenet@ciao.gmane.io" To: 71745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 24 10:44:23 2024 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 1sLfJG-0005JZ-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jun 2024 10:44:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLfIx-0007mM-Co; Mon, 24 Jun 2024 04:44:03 -0400 Original-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 1sLfIw-0007lv-3G for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 04:44:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLfIv-0006qF-RG for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 04:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLfIw-0004MY-E6 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 04:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Hedin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2024 08:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71745 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171921858716646 (code B ref -1); Mon, 24 Jun 2024 08:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2024 08:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:46674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLfI2-0004KK-Pi for submit@debbugs.gnu.org; Mon, 24 Jun 2024 04:43:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLdYj-0000HD-7R for submit@debbugs.gnu.org; Mon, 24 Jun 2024 02:52:13 -0400 Original-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 1sLdYi-0005Ht-1W for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 02:52:12 -0400 Original-Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLdYg-0000oy-6U for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 02:52:11 -0400 Original-Received: by mail-vs1-xe2d.google.com with SMTP id ada2fe7eead31-48f6337b567so70295137.0 for ; Sun, 23 Jun 2024 23:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719211928; x=1719816728; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kDOW0kDfZFpc1RCuCKsE6R3evrzlu9HHc1yExKafdUU=; b=Wp4CtIVVupDV4NF8+X729tSgXxtWgCIkH70BcnqNglkfcJ8+sS2wQdMdJrFzktojq9 rBVhDnTxGwnNK/8GMieiZW52SGq+8J9eoMi+ntPV8sn9pKWN6FyZCtk0kU2hPhADa4fA aNAzM4sz8yz8J2d0bFCbM2Rqj39FKOXRMuLw0Nt+/AdAmB9UOfa3fb8FxwtoOqYwHh+V KIhLT//JNCisrkNxQrwngnmQR0rNSlkEiY9p2rOOkMKoU1ehdUlb2ZJQyrgjBpOIJ8Wu U35oQ2VexqU0qlsXQhYVYRWGEbk8kdwOmzyOvEI8zZSvQNP3uL/Ro6JaHM91NkWlOmYi iRxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719211928; x=1719816728; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kDOW0kDfZFpc1RCuCKsE6R3evrzlu9HHc1yExKafdUU=; b=HqR+G1yhjHZfR1uuotOse3GUaxgz2ULRwccdgOIeVMtlwd0yf+hbPNSDiZysrWA2cf SgdumvmgO0xsdscYhf7eEa+TG53qzg6XZUuhv92ljyOF7wrk745zlx9nl98DfELAV4Oc PQKpR6Gwy7cYOsOWsZa0WqTAZSiWE1cxk7b1AKekWdf30oOhjcghLnw7CW1mi9B8ETfV 3XqO5yTC2fjhuyx/SCSMyAODRaAMDAuUh3f/+KO45xw+luDVQpSxO+LXmOzIvwGqC8/8 Il1ZnNmQ6l9kcP/w+4wp4SO43SXk4NXncGA8kT4YSBpRYR4MAOxvzRb7FaQkHJEusUPy gsnw== X-Gm-Message-State: AOJu0YxolKt27q9dS5FMFsbbrfH2dsq9TxLp3RQnJyb6DeR3MQBhfqVa e01+i9Ji3FJYHSMz5aLhpPjFLKcpeMd0c2wLJH1QjsOEk/5m7Zw7xxibvCNE/rn+ncvIiw4Pu5l BWpTQ1xeX/Rs0IpnfFGpiUvWjrKszpDU= X-Google-Smtp-Source: AGHT+IHJXF3W8+WpoeYiv/MtuxiOfMHXuir6rCCiAl1bu/4SdlRYwK1bHGkEFf7+3eVacB4BC4e4CIAOZbJdPpTf8BI= X-Received: by 2002:a05:6102:353:b0:48e:f820:6d3b with SMTP id ada2fe7eead31-48f52b443bcmr1736483137.22.1719211928411; Sun, 23 Jun 2024 23:52:08 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d; envelope-from=sam.hedin@gmail.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 24 Jun 2024 04:43:05 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287826 Archived-At: --0000000000004967c5061b9d382d Content-Type: text/plain; charset="UTF-8" Once opening the customize buffer all checkboxes are selected by default, even if they were de-selected by the user previously, which means that the user may unintentionally change settings they didn't intend to. Emacs -Q -> M-x customize-face -> default -> deselect Foreground/Background -> click Apply. Close the buffer, then open the customization again. Note that the foreground/background checkboxes are selected again. The result of this is that using the customize buffer may have unintended side effects. In my case, I opened the customize buffer only to change the font, but accidentally defined a foreground and background color in the process which led to some themes breaking. This is most noticeable when opening the customize buffer when using a light theme, saving, then loading a dark theme. For example modus-operandi/modus-vivendi. --0000000000004967c5061b9d382d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Once opening the customize buffer all checkboxes are selec= ted by
default, even if they were de-selected by the user previously, wh= ich
means that the user may unintentionally change settings they didn= 9;t
intend to.

Emacs -Q -> M-x customize-face -> default -&= gt; deselect
Foreground/Background -> click Apply. Close the buffer, = then open the
customization again. Note that the foreground/background c= heckboxes are selected again.

The result of this is that using the c= ustomize buffer may have
unintended side effects. In my case, I opened t= he
customize buffer only to change the font, but accidentally defined a<= br>foreground and background color in the process which led to=C2=A0some th= emes breaking. This is most noticeable when opening the customize buffer wh= en using a light theme, saving, then loading a dark theme. For example modu= s-operandi/modus-vivendi.
--0000000000004967c5061b9d382d--