unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: 45799@debbugs.gnu.org
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	[thread overview]
Message-ID: <83sg76c932.fsf@gnu.org> (raw)
In-Reply-To: <X/3iduMD8a1M5O/6@protected.rcdrun.com> (message from Jean Louis on Tue, 12 Jan 2021 20:55:02 +0300)

> Date: Tue, 12 Jan 2021 20:55:02 +0300
> From: Jean Louis <bugs@gnu.support>
> 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.





  reply	other threads:[~2021-01-12 18:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 19:44 bug#45799: 28.0.50; Faces shrink unreadable on GUI when foreground/background color set in TUI Jean Louis
2021-01-11 20:30 ` Eli Zaretskii
2021-01-12  2:51   ` Jean Louis
2021-01-12 15:13     ` Eli Zaretskii
2021-01-12 16:36       ` Jean Louis
2021-01-12 17:11         ` Eli Zaretskii
2021-01-12 17:55           ` Jean Louis
2021-01-12 18:18             ` Eli Zaretskii [this message]
2021-01-12 17:01       ` Jean Louis
2021-01-12 18:04         ` Eli Zaretskii
2021-01-13  6:01           ` Jean Louis
2021-01-13 13:05             ` Mauro Aranda
2021-01-13 14:38               ` Eli Zaretskii
2022-04-22 13:01               ` Lars Ingebrigtsen
2021-01-12 16:51   ` Jean Louis
2021-01-12 17:20     ` Eli Zaretskii
2021-01-12 17:46       ` Jean Louis
2021-01-12 18:06         ` Eli Zaretskii
2021-01-13  5:38           ` Richard Stallman
2021-01-13  5:45             ` Jean Louis
2021-01-13 14:30             ` Eli Zaretskii
2021-01-14  5:25               ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sg76c932.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=45799@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).