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 20:18:41 +0200 Message-ID: <83sg76c932.fsf@gnu.org> References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> <83lfcydw7j.fsf@gnu.org> <834kjmdqrh.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27560"; 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 19:25:07 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 1kzOLq-00072n-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 19:25:06 +0100 Original-Received: from localhost ([::1]:50700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzOLp-0006MP-L8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 13:25:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzOFz-0006FM-J4 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 13:19:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzOFz-0001LS-4P for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 13:19:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzOFz-0002wK-0P for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 13:19:03 -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 18:19: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.161047551711241 (code B ref 45799); Tue, 12 Jan 2021 18:19:02 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 12 Jan 2021 18:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:33079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzOFY-0002vF-QJ for submit@debbugs.gnu.org; Tue, 12 Jan 2021 13:18:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzOFX-0002v0-4e for 45799@debbugs.gnu.org; Tue, 12 Jan 2021 13:18:36 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzOFQ-0001BD-GK; Tue, 12 Jan 2021 13:18:29 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2168 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzOFP-00068j-OO; Tue, 12 Jan 2021 13:18:28 -0500 In-Reply-To: (message from Jean Louis on Tue, 12 Jan 2021 20:55:02 +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:197822 Archived-At: > Date: Tue, 12 Jan 2021 20:55:02 +0300 > From: Jean Louis > Cc: 45799@debbugs.gnu.org > > > You didn't unset the colors, you've customized the default face. > > Yes, I see. > > But if default face on GUI 113 and on TUI 1, then user shall not get 1 > on TUI to customize also GUI to be 1. Can we agree on that? This is not specific to TTY frames vs GUI frames. You will have the same problem if some frames use larger fonts for some reason: using "M-x customize-face" will change the default face on _all_ of the frames, and thus shrink the font size on the frames that used the larger fonts. Where does this end? You are perceiving customize-face as a means for customizing the face only on some frames, but that is not how that feature works, it changes the faces globally, and for a good reason: Custom was invented for users who want to avoid customizing Emacs in Lisp, so Custom supports only simple use cases, and tries not to confuse the users by providing too much flexibility and too much power. If you want selective customizations, you must do that not via customize-face. > In my opinion if Emacs strategy on console is to display console's > font's size then better affect only console even if there is no real > effect, rather that then affecting the GUI and shrinking fonts to 1. That's your opinion, and it's biased because you bumped into this situation (quite unnecessarily, AFAIU). the "usual" situations where users invoke customize-face are very different. What you intended to do is not currently supported by customize-face, and I doubt that it will ever be supported. > With emacs -Q I cannot reproduce the theme settings. Problem is > appearing when user has already set the foreground and background > colors as then themes will not change those colors. Then please try to come up with a simplest series of steps to reproduce the problem with customize-themes. There's some other factor at work here, and we need to uncover it.