From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84011 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: HTML rendering and colors Date: Fri, 27 Dec 2013 09:20:16 +0100 Message-ID: <87iouau2m7.fsf@guybrush.luffy.cx> References: <87ha9vfurb.fsf@building.gnus.org> <87vbyabtzr.fsf@thinkpad.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388132429 21562 80.91.229.3 (27 Dec 2013 08:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 08:20:29 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M32263@lists.math.uh.edu Fri Dec 27 09:20:34 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VwSen-0007Bq-Nf for ding-account@gmane.org; Fri, 27 Dec 2013 09:20:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1VwSee-0002Dp-7S; Fri, 27 Dec 2013 02:20:24 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VwSec-0002DZ-DC for ding@lists.math.uh.edu; Fri, 27 Dec 2013 02:20:22 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1VwSea-0007AR-Pw for ding@lists.math.uh.edu; Fri, 27 Dec 2013 02:20:22 -0600 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VwSeY-0005Cq-L7; Fri, 27 Dec 2013 09:20:18 +0100 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id 09D211423E; Fri, 27 Dec 2013 09:20:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=postfix; bh=/HWZU/5dT 88yQaTmdxPhxKCDHYs=; b=d+WmuN9v6jMr3bpI9ft1v3aIHFMvhqSq/TBQ7BezS uvm91TQ2si843tY/9Scn7FyqVKlethSxQU6Z7waSLUa8XMEnxeEJlBxpCI8rf+sv j45H0kIvzFWtEC6WJEWVwNnU6h2wJNMGZxDUf2T7XqRFRzl4MuBLhZvkueqeZ/1T PY= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=postfix; b=ET/ gF0VxT5LWwKa9gH2mD8qipkc/I4pz3WBich8yF1otpbG/HlCIpCjNEvhIOUBPjRo r9a05+HlGKmf63zyEOLP5n4KmDhR8qob5aAhuLthQN7MltJSQAHuCkZYJ3YX8HDW qKixKoUxt6190LueelXjhtkYAuvpVWFpnvoF7D+w= Original-Received: from guybrush.luffy.cx (unknown [78.198.208.113]) by bart.luffy.cx (Postfix) with ESMTPS id D113A141B0; Fri, 27 Dec 2013 09:20:17 +0100 (CET) Original-Received: by guybrush.luffy.cx (Postfix, from userid 1000) id A8B33245; Fri, 27 Dec 2013 09:20:16 +0100 (CET) In-Reply-To: <87vbyabtzr.fsf@thinkpad.tsdh.org> (Tassilo Horn's message of "Fri, 27 Dec 2013 09:03:52 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84011 Archived-At: =E2=9D=A6 27 d=C3=A9cembre 2013 09:03 CET, Tassilo Horn =C2= =A0: >>> 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! --=20 panic("IRQ, you lose..."); 2.2.16 /usr/src/linux/arch/mips/sgi/kernel/indy_int.c