unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam Hedin <sam.hedin@gmail.com>
Cc: 71745@debbugs.gnu.org
Subject: bug#71745: 29.3; Customize face re-selects unselected items, leading to broken
Date: Mon, 24 Jun 2024 15:51:31 +0300	[thread overview]
Message-ID: <86ikxybj1o.fsf@gnu.org> (raw)
In-Reply-To: <CAKwytt_bZipejQNkbpT8VL+7YcCWAfFcUzUPoGAA-juzHifpzQ@mail.gmail.com> (message from Sam Hedin on Mon, 24 Jun 2024 08:51:57 +0200)

> From: Sam Hedin <sam.hedin@gmail.com>
> Date: Mon, 24 Jun 2024 08:51:57 +0200
> 
> 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.

Do you see this only for the default face or for other faces as well?

I can only reproduce this for the default face.  Which looks correct
to me, because it is meaningless to uncheck any attributes of the
default face: the default face must always have all the attributes
specified explicitly.

> 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.

Please show an example with some other face, and let's take it from
there.

Thanks.





  reply	other threads:[~2024-06-24 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24  6:51 bug#71745: 29.3; Customize face re-selects unselected items, leading to broken Sam Hedin
2024-06-24 12:51 ` Eli Zaretskii [this message]
     [not found]   ` <CAKwytt_NX3=RpYrDdxhqZqNZ8Jhje8aHeWqwhs7mgSsSqKCY+w@mail.gmail.com>
2024-06-25 13:19     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ikxybj1o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=71745@debbugs.gnu.org \
    --cc=sam.hedin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).