From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74767 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: [gnus git] branch master updated: =2= shr: colorize only in one place ; shr: shr-colorize-region fix and stylesheet color retrieval fix Date: Mon, 06 Dec 2010 16:54:26 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1291650901 8882 80.91.229.12 (6 Dec 2010 15:55:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 15:55:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23123@lists.math.uh.edu Mon Dec 06 16:54:57 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPdOy-0006uU-5s for ding-account@gmane.org; Mon, 06 Dec 2010 16:54:56 +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 1PPdOc-0004tl-QO; Mon, 06 Dec 2010 09:54:34 -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 1PPdOb-0004tV-KK for ding@lists.math.uh.edu; Mon, 06 Dec 2010 09:54:33 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPdOZ-0006Yd-Pf for ding@lists.math.uh.edu; Mon, 06 Dec 2010 09:54:33 -0600 Original-Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPdOV-00035K-00 for ; Mon, 06 Dec 2010 16:54:27 +0100 Original-Received: from cigue.easter-eggs.fr (cigue.easter-eggs.fr [10.0.0.33]) by rose.easter-eggs.fr (Postfix) with ESMTPS id B59BE14035 for ; Mon, 6 Dec 2010 16:54:23 +0100 (CET) Original-Received: from jdanjou by cigue.easter-eggs.fr with local (Exim 4.72) (envelope-from ) id 1PPdOV-0003cH-9c for ding@gnus.org; Mon, 06 Dec 2010 16:54:27 +0100 Mail-Followup-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 06 Dec 2010 16:24:18 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74767 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Dec 06 2010, Lars Magne Ingebrigtsen wrote: > The point of doing it this way is that if you have > >

foo

bar

zot > > then each of these will apply "red" to their own bits. That's slow an > unnecessary, since, just having the top-level

do it will yield > exactly the same result, won't it? In that example yes. But with:

foo

bar

zot The result should be quite different. With the previous code, you would: =2D Insert `foo' =2D Insert `bar' =2D Paint `bar' in red =2D Insert zot =2D Paint the backgruond for foobarzot in red. bar was invisible: red on red. The color checker had no clue that the background was red. Now it does: =2D Insert `foo' =2D Enhance the style of the next p with "background-color: red" =2D Insert `bar' =2D Paint `bar' in red with a red background=E2=80=A6 Wait? No the color ch= eck steps in and choose better color in the rainbow just for you! HAHA! =2D Insert `zot' =2D Paint foobarzot with a red background, but not bar, since shr-put-color have some magic to not override color information IIUC. Sounds good? =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkz9BzMACgkQpGK1HsL+5c1m+gCfcU3LPacgxL0k89rG1rJDPsuk sCoAnAqOueKXX0wyBzmMKJVzeNLoj7SV =A9oe -----END PGP SIGNATURE----- --=-=-=--