all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tony Zorman <tonyzorman@mailbox.org>
To: Jim Porter <jporterbugs@gmail.com>,
	emacs-devel@gnu.org, Protesilaos Stavrou <info@protesilaos.com>
Subject: Re: Ansi-color uses the same values for fore- and background colours
Date: Thu, 10 Aug 2023 05:59:03 +0200	[thread overview]
Message-ID: <87leejczug.fsf@hyperspace> (raw)
In-Reply-To: <034beec5-0505-a399-6f78-e162c819f1a4@gmail.com>

On Wed, Aug 09 2023 09:51, Jim Porter wrote:
> Have you customized your settings for "man" somehow (or maybe changed 
> your pager)?

I was going to say "no", but in the deepest recesses of my ~/.profile I
did find some stuff that direction! The "offending" line was something
like

    export LESS_TERMCAP_so="$(printf '%b' 'ESC[01;44;33m')"; a="${a%_}"

However…

> If you *have* customized some of your settings, maybe you just need to 
> tweak them so that they don't produce unreadable output.

…I don't think this invalidates the question. This was just the easiest
reproducer for me, but something akin to this could certainly happen "in
the wild". There can be, visually, quite a big difference between fore-
and background colours. Especially for high-contrast themes, I wouldn't
expect foreground colours—sometimes very saturated/dark—to be
particularly good when used as a background.

-- 
Tony Zorman | https://tony-zorman.com/



      reply	other threads:[~2023-08-10  3:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09 12:10 Ansi-color uses the same values for fore- and background colours Tony Zorman
2023-08-09 13:28 ` Eli Zaretskii
2023-08-09 16:18   ` Tony Zorman
2023-08-09 16:31     ` Eli Zaretskii
2023-08-09 16:46   ` Jim Porter
2023-08-09 16:51 ` Jim Porter
2023-08-10  3:59   ` Tony Zorman [this message]

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

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

  git send-email \
    --in-reply-to=87leejczug.fsf@hyperspace \
    --to=tonyzorman@mailbox.org \
    --cc=emacs-devel@gnu.org \
    --cc=info@protesilaos.com \
    --cc=jporterbugs@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.