From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45799: 28.0.50; Faces shrink unreadable on GUI when foreground/background color set in TUI Date: Tue, 12 Jan 2021 19:11:30 +0200 Message-ID: <834kjmdqrh.fsf@gnu.org> References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> <83lfcydw7j.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3635"; mail-complaints-to="usenet@ciao.gmane.io" 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 Tue Jan 12 18:20:17 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 1kzNL7-0000qJ-R8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 18:20:17 +0100 Original-Received: from localhost ([::1]:56602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNL6-0000ux-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 12:20:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzND8-00086V-8R for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzND7-0003w9-Vz for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzND7-0007VQ-Qa for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 17:12: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.161047148828788 (code B ref 45799); Tue, 12 Jan 2021 17:12:01 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 12 Jan 2021 17:11:28 +0000 Original-Received: from localhost ([127.0.0.1]:32975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNCZ-0007UG-T5 for submit@debbugs.gnu.org; Tue, 12 Jan 2021 12:11:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNCX-0007Tz-Qd for 45799@debbugs.gnu.org; Tue, 12 Jan 2021 12:11:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35442) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNCR-0003G9-2D; Tue, 12 Jan 2021 12:11:19 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1787 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzNCQ-0005Jz-Gt; Tue, 12 Jan 2021 12:11:18 -0500 In-Reply-To: (message from Jean Louis on Tue, 12 Jan 2021 19:36:57 +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:197810 Archived-At: > Date: Tue, 12 Jan 2021 19:36:57 +0300 > From: Jean Louis > Cc: 45799@debbugs.gnu.org > > > This is a whole different problem, one that I cannot reproduce. For > > me, customize-themes works as documented: I can enable and disable any > > theme I want, and it works as I'd expect, including changes in colors. > > > > However, you didn't tell how you used customize-themes, and what > > didn't work there, so I don't think we are talking about the same > > thing. > > I have given the recipe how to reproduce. You say you cannot reproduce > it? You didn't give the recipe for using customize-themes which you say doesn't work unless you unset the colors. That was the reason you needed to unset the colors to begin with, right? Or did I misunderstand you? Once again: unsetting colors as you did will affect the default face on all frames, which is not what you want. So if you really need ti change the default colors, I suggest using set-face-foreground and set-face-background, which can be told to change the colors only for a certain frame. And if you don't need to change the colors, but need customize-themes to work, then let's talk about your problem with customize-themes, and forget about changing the default face, which you say was just a workaround. > So if I would use customize-themes without unsetting of foreground and > background color, I would not see much of changes in console, as > colors would not change. Please show a recipe for such a failure in customize-themes, starting with "emacs -Q". > > So I don't think I understand your problem, and if the only reason for > > customizing faces on a TTY frame was that customize-themes didn't work > > for you, we should talk about the latter, and you should begin with > > describing how customize-themes doesn't work for you. > > See above. But the recipe and bug is not really related to > customize-themes, as I did not use it in the recipe. AFAIU, it _is_ related, because you explained that you didn't really need to change the colors, except as a workaround for a problem you have with customize-themes. > > It's not a bug, it's a cockpit error: you yourself did something that > > has this effect, and you did it globally. Customize is limited to > > changing faces globally, on all frames, existing and future ones; if > > that's not what you want, don't use Customize. > > So you say if I unset foreground color by using emacsclient in > console, it is just fine that all the fonts in GUI are shrinked? You didn't unset the colors, you've customized the default face. > I did not shrink the faces and I did not unset settings of fonts. Why > is then font changing? It is not logical to say that should be default > behavior. You are using Customize for a job for which it wasn't intended. Font size problems aside, using Customize like that will never do what you want. Why do you insist on using a command for a job that is not what you want?