From: Vincent Bernat <bernat@luffy.cx>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: ding@gnus.org
Subject: Re: HTML rendering and colors
Date: Fri, 27 Dec 2013 09:20:16 +0100 [thread overview]
Message-ID: <87iouau2m7.fsf@guybrush.luffy.cx> (raw)
In-Reply-To: <87vbyabtzr.fsf@thinkpad.tsdh.org> (Tassilo Horn's message of "Fri, 27 Dec 2013 09:03:52 +0100")
❦ 27 décembre 2013 09:03 CET, Tassilo Horn <tsdh@gnu.org> :
>>> 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.
I am also using a light-on-dark theme (naquadah).
> Anyway, I could improve the situation with
>
> (setq shr-color-visible-distance-min 10
> shr-color-visible-luminance-min 60)
Those variables also helps in my case!
--
panic("IRQ, you lose...");
2.2.16 /usr/src/linux/arch/mips/sgi/kernel/indy_int.c
next prev parent reply other threads:[~2013-12-27 8:20 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
2013-12-27 8:20 ` Vincent Bernat [this message]
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=87iouau2m7.fsf@guybrush.luffy.cx \
--to=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).