From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis 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:36:57 +0300 Message-ID: References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> <83lfcydw7j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23953"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: 45799@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 17:42:12 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 1kzMkG-00066D-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 17:42:12 +0100 Original-Received: from localhost ([::1]:58348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzMkF-0005Oq-0H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 11:42:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzMk7-0005MT-0h for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 11:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzMk6-0001RS-Oq for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzMk6-0006eY-Gj for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 16:42:02 +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.161046967525507 (code B ref 45799); Tue, 12 Jan 2021 16:42:02 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 12 Jan 2021 16:41:15 +0000 Original-Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzMjK-0006dL-Hi for submit@debbugs.gnu.org; Tue, 12 Jan 2021 11:41:14 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:51595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzMjG-0006cw-JO for 45799@debbugs.gnu.org; Tue, 12 Jan 2021 11:41:13 -0500 Original-Received: from localhost ([::ffff:197.157.0.38]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E074.000000005FFDD11F.0000068D; Tue, 12 Jan 2021 09:41:02 -0700 Content-Disposition: inline In-Reply-To: <83lfcydw7j.fsf@gnu.org> 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:197805 Archived-At: * Eli Zaretskii [2021-01-12 18:14]: > > Date: Tue, 12 Jan 2021 05:51:13 +0300 > > From: Jean Louis > > Cc: 45799@debbugs.gnu.org > > > > - I had to unset foreground and background colors, as I wanted to use > > emacsclient -nw in xterm but the current theme was not quite > > readable in console > > > > - to change the theme with customize-themes, I had to unset foreground > > and background color, as otherwise changing theme simply does not > > work. This may be another bug, and I do so for many months as a > > workaround to change the them. Usually I unset the > > foreground/background color, even if under emacs -Q and only then I > > am able to see the changes of the changing themes function > > customize-themes > > > > - but this time I had both GUI and console, unsetting > > foreground/background color in console, made GUI have miniscule > > faces or fonts > > 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? My build is pretty recent from development and I have reproduced it by using emacs -Q, basically you would have 2 windows, one is Emacs, other is xterm and in xterm I was unsetting the colors. In that recipe, I have not used customize-themes but that was intention. 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. > 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. > > When the GUI practically disappears due to shrinkage of faces, that > > still seem a bug > > 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? 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. Let me make a video of it.