From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs 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 Message-ID: <5ffef033.1c69fb81.6dccc.5233@mx.google.com> References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> <83lfcydw7j.fsf@gnu.org> <83wnwic9rh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45799@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 13 14:07:29 2021 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 1kzfs1-00081m-0g for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 14:07:29 +0100 Original-Received: from localhost ([::1]:60654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzfry-0008Iw-B4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 08:07:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzfra-0008Em-D6 for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 08:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzfra-0003NT-58 for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 08:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzfrZ-0000Cq-VB for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 08:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2021 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45799 X-GNU-PR-Package: emacs Original-Received: via spool by 45799-submit@debbugs.gnu.org id=B45799.1610543165716 (code B ref 45799); Wed, 13 Jan 2021 13:07:01 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 13 Jan 2021 13:06:05 +0000 Original-Received: from localhost ([127.0.0.1]:34622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzfqe-0000BT-Mk for submit@debbugs.gnu.org; Wed, 13 Jan 2021 08:06:04 -0500 Original-Received: from mail-qv1-f48.google.com ([209.85.219.48]:39462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzfqc-0000As-HC for 45799@debbugs.gnu.org; Wed, 13 Jan 2021 08:06:03 -0500 Original-Received: by mail-qv1-f48.google.com with SMTP id s6so697978qvn.6 for <45799@debbugs.gnu.org>; Wed, 13 Jan 2021 05:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:from:to:cc:subject:references:date:in-reply-to :user-agent:mime-version; bh=bFVRjc7QbK5qV9+1vfxtvMkjnSCvE+mLdzvU9QAyJJk=; b=K578aWDBsIokKCHr94cauCm8OeMBSGG3SvaV+Qo94zTjZpsbfEuO1HYszLOnhUfLed WbGYHB8BzDe4AibSDli8bTqSyZjHZ79vv+74u6LEbSXYdfjg2Y0kr8bAvWN/5Kw5NpKu IUQH31WuYHateZ5C5zbg9JUAp4d10ur/MGsKUGeTbAB/TVY7ZIVxUP2WN5Dy72lrlPOC u4JwQCD5IVUybA3nBRe1opzkJiugKvI7AJepd/1R22iPIpx6WzbcUt8C+kGPmNLCFh2e Y7RxlP6p4GSQ7M1piVtZkT7N1H/4Zjdp9bG9QvvrnkE2BdqHDDMg7YGfH1Y3cEYJsgrj yS0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:from:to:cc:subject:references:date :in-reply-to:user-agent:mime-version; bh=bFVRjc7QbK5qV9+1vfxtvMkjnSCvE+mLdzvU9QAyJJk=; b=q9ncxHJLvLTC0tojOQmPZKVDTOBu5gVp0cxBjPYcXm4hZO/btASUF4WIJN2aMqCFTL hIoedkdWaMNj1KlFhqVkhUi0f5N6/ahWtp5FrXc2H6CRx9rmoApKZ01zmoP8O4tiCBLH u0XGu8fF/OK6KoLrJKdsHzt7306eET3sG8Z6wO8y2odLof4+b5sRvniCEdEbFn+vbERk KWHfkP67p0567VXE1XyaooLdZiM6Ms9RkmkEHLsF345l93d2pCiOnKbB97DoSLIBzw74 AVfnp9XM1Uk14GbyGWZDKYlbJ0QIpq4nneRUrtXHdbX/FajGK2heXyX6oVldwc94dGQe ++VQ== X-Gm-Message-State: AOAM531ilMeRM/Dl8/louPTsrI4lb3G3sCE1av6Bz4B9XqBxeZPem2xR Uq2ZvUOiROBPSezeBDobuZGd6zPgmqrylg== X-Google-Smtp-Source: ABdhPJzN1O0tmyW/D7SS3y2vQyJp1DSkzwgA5RdMq8E26rJCyXB2V6GvSoOfmvxgDBXsljeSHZ945Q== X-Received: by 2002:a05:6214:a14:: with SMTP id dw20mr2111803qvb.43.1610543156790; Wed, 13 Jan 2021 05:05:56 -0800 (PST) Original-Received: from tbb-desktop ([201.213.132.172]) by smtp.gmail.com with ESMTPSA id b12sm901287qtj.12.2021.01.13.05.05.54 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jan 2021 05:05:55 -0800 (PST) X-Google-Original-Message-ID: <87eeipq95a.fsf@maurooaranda@gmail.com> In-Reply-To: (Jean Louis's message of "Wed, 13 Jan 2021 09:01:31 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:197892 Archived-At: Jean Louis 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.