From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82639 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Why I don't use shr Date: Fri, 21 Dec 2012 14:19:55 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87pq23i55w.fsf@lifelogs.com> References: <87pq23x0z6.fsf@googlemail.com> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356117664 24549 80.91.229.3 (21 Dec 2012 19:21:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 19:21:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30905@lists.math.uh.edu Fri Dec 21 20:21:18 2012 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 1Tm89i-0006u3-Ko for ding-account@gmane.org; Fri, 21 Dec 2012 20:21:14 +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 1Tm88h-0000Rj-QU; Fri, 21 Dec 2012 13:20:11 -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 1Tm88g-0000RT-G2 for ding@lists.math.uh.edu; Fri, 21 Dec 2012 13:20:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Tm88e-0000xH-E5 for ding@lists.math.uh.edu; Fri, 21 Dec 2012 13:20:09 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm88c-0004ey-BZ for ding@gnus.org; Fri, 21 Dec 2012 20:20:06 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tm88n-00061V-9k for ding@gnus.org; Fri, 21 Dec 2012 20:20:17 +0100 Original-Received: from c-65-96-148-157.hsd1.ma.comcast.net ([65.96.148.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2012 20:20:17 +0100 Original-Received: from tzz by c-65-96-148-157.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2012 20:20:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-65-96-148-157.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:S/jd/bGQrcoWFJ1MHh6Pw01lvnM= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82639 Archived-At: On Fri, 21 Dec 2012 09:29:01 +0100 Ivan Kanis wrote: IK> I don't use shr because it displays too many colors. w3m just displays IK> the text. I have attached two screen shots of the same article so that IK> you get an idea of what I am talking about. IK> Ideally shr should do the same. >From the code, it looks like you could simply override `shr-color-check' to return a static pair of colors, or even defalias `shr-colorize-region' to do nothing. If that works for you, I could look into augmenting `shr-color-check' with a matching alist to provide this for the general case. Ted