unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Jean Louis <bugs@gnu.support>
Cc: 45799@debbugs.gnu.org
Subject: bug#45799: 28.0.50; Faces shrink unreadable on GUI when foreground/background color set in TUI
Date: Wed, 13 Jan 2021 10:05:53 -0300	[thread overview]
Message-ID: <5ffef033.1c69fb81.6dccc.5233@mx.google.com> (raw)
In-Reply-To: <X/6Mu1KTsJm4RHJB@protected.rcdrun.com> (Jean Louis's message of "Wed, 13 Jan 2021 09:01:31 +0300")

Jean Louis <bugs@gnu.support> writes:

> Here is full description of all information that I think that applies
> there.
>
> In my init.el I have this customization related to faces.
>
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(default ((t (:inherit nil :extend nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 140 :width normal :foundry "GOOG" :family "Noto Sans Mono"))))
>  '(term ((t (:background "black" :foreground "white smoke" :height 1.2 :family "xos4 Terminus")))))
>

[...]

> With the above settings then if I would do just:
>
> M-x customize-themes
>
> and choose any theme, the foreground and background color would not
> change.
>
> It does not matter if I try changing themese from TUI or GUI.
>
> Example is adwaita and deeper-blue, if I click there, foreground and
> background do not change. So to make them change, I do: M-x
> customize-faces and choose `default' and then I unset foreground and
> background colors and click 0 to have it remembered for a session.
>
> As soon as I unset it, if I was in deeper-blue theme, then I get the
> deeper-blue background.

I don't see a bug here.  You have customized the default face in your
init file, so that setting gets saved in a theme, the user theme, which
takes precedence before all other themes you activate.  This is
described in several places, like in the *Custom Themes* buffer itself:

 Note: Your custom settings take precedence over theme settings.
       To migrate your settings into a theme, click here.

When you activate other themes, they do get activated, but your setting
for the default face takes precedence, so it will not change, and that's
why you have to unset your own customization of the default face, for
the theme settings to kick in.





  reply	other threads:[~2021-01-13 13:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 19:44 bug#45799: 28.0.50; Faces shrink unreadable on GUI when foreground/background color set in TUI Jean Louis
2021-01-11 20:30 ` Eli Zaretskii
2021-01-12  2:51   ` Jean Louis
2021-01-12 15:13     ` Eli Zaretskii
2021-01-12 16:36       ` Jean Louis
2021-01-12 17:11         ` Eli Zaretskii
2021-01-12 17:55           ` Jean Louis
2021-01-12 18:18             ` Eli Zaretskii
2021-01-12 17:01       ` Jean Louis
2021-01-12 18:04         ` Eli Zaretskii
2021-01-13  6:01           ` Jean Louis
2021-01-13 13:05             ` Mauro Aranda [this message]
2021-01-13 14:38               ` Eli Zaretskii
2022-04-22 13:01               ` Lars Ingebrigtsen
2021-01-12 16:51   ` Jean Louis
2021-01-12 17:20     ` Eli Zaretskii
2021-01-12 17:46       ` Jean Louis
2021-01-12 18:06         ` Eli Zaretskii
2021-01-13  5:38           ` Richard Stallman
2021-01-13  5:45             ` Jean Louis
2021-01-13 14:30             ` Eli Zaretskii
2021-01-14  5:25               ` Richard Stallman

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=5ffef033.1c69fb81.6dccc.5233@mx.google.com \
    --to=maurooaranda@gmail.com \
    --cc=45799@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /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).