emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colour selection in shr


From: Yoni Rabkin
Subject: Re: Colour selection in shr
Date: Mon, 03 Nov 2014 16:21:51 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Yoni Rabkin <address@hidden> writes:
>
>> A patch to shr.el won't work. When called through Eww, title tags are
>> colorized by shr.el but body tags are colored by eww.el. So turning off
>> colorization in shr.el would still leave `eww-colorize-region' in eww
>> working.
>
> I don't know what you mean by "title tags" and "body tags" here.
>
> Anyway, eww can do stuff based on shr settings.

A defcustom in shr.el which stops shr from coloring stuff won't make eww
stop coloring everything. This is because eww.el:eww-colorize-region
colors stuff independently of shr.

To repeat: eww.el:eww-colorize-region is eww's own private copy of
shr.el:shr-colorize-region.

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]