Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Vincent Bernat <bernat@luffy.cx>,  ding@gnus.org
Subject: Re: HTML rendering and colors
Date: Fri, 27 Dec 2013 09:03:52 +0100	[thread overview]
Message-ID: <87vbyabtzr.fsf@thinkpad.tsdh.org> (raw)
In-Reply-To: <87ha9vfurb.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Dec 2013 17:21:28 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> It is not uncommon for me to receive mails difficult to read in
>> HTML. I often get gray on gray texts. I am using shr as a
>> renderer. It seems that there is some code in shr (I am using Emacs
>> 24.3 and Gnus from git) that try to be clever on color pairs but
>> either it does not work as expected or it is not enabled for me. How
>> to troubleshoot this?
>
> I haven't seen any instances where shr has chosen colours that can't
> be read.  Do you have an example message?

I had the same problem with about any HTML mail.  The background was
grey and the text was maybe a bit darker or lighter grey.  Possibly
that's caused by using a light-on-dark emacs theme.  I'm using tsdh-dark
which comes with emacs.

Anyway, I could improve the situation with

  (setq shr-color-visible-distance-min 10
        shr-color-visible-luminance-min 60)

but it seems those variables have gone in the meantime.  But still HTML
mails are readable, so it seems the problem has been fixed.

Bye,
Tassilo



  reply	other threads:[~2013-12-27  8:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 17:44 Vincent Bernat
2013-12-26 16:21 ` Lars Ingebrigtsen
2013-12-27  8:03   ` Tassilo Horn [this message]
2013-12-27  8:20     ` Vincent Bernat
2013-12-27  8:20   ` Vincent Bernat

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=87vbyabtzr.fsf@thinkpad.tsdh.org \
    --to=tsdh@gnu.org \
    --cc=bernat@luffy.cx \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.org \
    /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.
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 NNTP newsgroup(s).