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: Wed, 13 Jan 2021 09:01:31 +0300 Message-ID: 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; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6669"; 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 Wed Jan 13 07:42:16 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 1kzZrE-0001eW-Ih for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 07:42:16 +0100 Original-Received: from localhost ([::1]:48192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzZrD-0002Qp-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 01:42:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzZr0-0002PV-3X for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 01:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzZqz-0005Y9-Sg for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 01:42:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzZqz-00022P-O9 for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 01:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2021 06:42: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.16105200757773 (code B ref 45799); Wed, 13 Jan 2021 06:42:01 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 13 Jan 2021 06:41:15 +0000 Original-Received: from localhost ([127.0.0.1]:33992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzZqE-00021I-EH for submit@debbugs.gnu.org; Wed, 13 Jan 2021 01:41:15 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:44011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzZqB-00020z-5u for 45799@debbugs.gnu.org; Wed, 13 Jan 2021 01:41:12 -0500 Original-Received: from localhost ([::ffff:41.202.241.6]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E076.000000005FFE95FF.00007280; Tue, 12 Jan 2021 23:41:03 -0700 Content-Disposition: inline In-Reply-To: <83wnwic9rh.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:197877 Archived-At: * Eli Zaretskii [2021-01-12 21:04]: > > Date: Tue, 12 Jan 2021 20:01:52 +0300 > > From: Jean Louis > > Cc: 45799@debbugs.gnu.org > > > > Now regarding the customize-themes, if I change themes by using > > emacsclient -nw in xterm, then themes change normally in GUI, I can > > observe it, but not that it reflects back in xterm. Maybe that is all > > alright and good as you say. > > Please be more specific: which themes you tried to enable in -nw, what > happened, etc. You are not giving enough details to investigate the > issue. In general, only a small number of themes are suitable for > TTYs, but I'm not yet sure whether the problems you encountered are > due to this or to something else. Please help me understand the issue > completely. 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"))))) Side notes: - I have found this happening since long time, it could be that I already filed bug on this - normally I use GUI, not TUI, but when answering many emails one after the other, Emacs in XTerm (TUI) gives me more consistent interface as I do not need to switch my focus from XTerm to GUI. - I do not install any outside themes, I just use the built-in Emacs themes, and I do not have any favorite. Often randomly I change the theme. Intention while working in XTerm is that by quickly changing the theme to get a better contrast. 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. Then I can also freely choose any of the themes below and foreground and background will be changed by clicking on the theme. I am unsure of it, but I think I remember times when I did not need to unset foreground and background and theme switching would work straight without unsetting. My expectation is that I would not need to unset foreground/background for default face and that theme should change it directly, but it does not. [ ][ adwaita] -- Face colors similar to the default theme of Gnome 3 (Adwaita). [ ][ deeper-blue] -- Face colors using a deep blue background. [ ][ dichromacy] -- Face colors suitable for red/green color-blind users. [ ][ leuven] -- (no documentation available) [ ][ light-blue] -- Face colors utilizing a light blue background. [ ][ manoj-dark] -- Very high contrast faces with a black background. [ ][ misterioso] -- Predominantly blue/cyan faces on a dark cyan background. [ ][ modus-operandi] -- Light theme that conforms with the highest accessibility [ ][ modus-vivendi] -- Dark theme that conforms with the highest accessibility [ ][ tango-dark] -- Face colors using the Tango palette (dark background). [ ][ tango] -- Face colors using the Tango palette (light background). [ ][ tsdh-dark] -- A dark theme used and created by Tassilo Horn. [ ][ tsdh-light] -- A light Emacs theme. [ ][ wheatgrass] -- High-contrast green/blue/brown faces on a black background. [ ][ whiteboard] -- Face colors similar to markers on a whiteboard. [X][ wombat] -- Medium-contrast faces with a dark gray background.