From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48599 Path: main.gmane.org!not-for-mail From: pete-temp-12-29-2002@kazmier.com Newsgroups: gmane.emacs.gnus.general Subject: Treatment for gnus-article-wash-html? Date: Thu, 02 Jan 2003 14:26:13 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041535584 25062 80.91.224.249 (2 Jan 2003 19:26:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2003 19:26:24 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18UAyz-0006Vq-00 for ; Thu, 02 Jan 2003 20:26:22 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18UAzA-00069e-00; Thu, 02 Jan 2003 13:26:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 02 Jan 2003 13:27:25 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA24789 for ; Thu, 2 Jan 2003 13:27:13 -0600 (CST) Original-Received: (qmail 5685 invoked by alias); 2 Jan 2003 19:26:16 -0000 Original-Received: (qmail 5680 invoked from network); 2 Jan 2003 19:26:16 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 2 Jan 2003 19:26:16 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18UB0G-0006ws-00 for ; Thu, 02 Jan 2003 20:27:40 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 55 Original-NNTP-Posting-Host: h00104bedbbc7.ne.client2.attbi.com Original-X-Trace: quimby.gnus.org 1041535660 26713 66.30.117.189 (2 Jan 2003 19:27:40 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 2 Jan 2003 19:27:40 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:caUZgY8VM4o8sJVSkW+GD4Jgpdw= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48599 Is there any reason why there isn't a treatment variable for gnus-article-wash-html? I'd like to be able to force some of my nnrss:groups to invoke gnus-article-wash-html automatically. I basically want to do something like this in my .gnus: (setq gnus-treat-wash-html '("^nnrss:Lamba")) In this case, my Lamba the Ultimate RSS feed sends HTML that would automatically be washed. Right now, I have to always type 'W h' which is a bit tedious. I'm a Gnus/Emacs/Elisp newbie (1 week), but I did take a peek in gnus-art.el to see if I could get it to work, unfortunately, I had no success. I tried to do something like this: Index: lisp/gnus-art.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-art.el,v retrieving revision 6.261 diff -u -r6.261 gnus-art.el --- lisp/gnus-art.el 2003/01/02 18:55:07 6.261 +++ lisp/gnus-art.el 2003/01/02 19:11:29 @@ -1241,6 +1241,15 @@ :link '(custom-manual "(gnus)Customizing Articles") :type gnus-article-treat-custom) +(defcustom gnus-treat-wash-html nil + "Format as HTML. +Valid values are nil, t, `head', `last', an integer or a predicate. +See Info node `(gnus)Customizing Articles' for details." + :version "21.1" + :group 'gnus-article-treat + :link '(custom-manual "(gnus)Customizing Articles") + :type gnus-article-treat-custom) + (defcustom gnus-treat-fill-long-lines nil "Fill long lines. Valid values are nil, t, `head', `last', an integer or a predicate. @@ -1346,6 +1355,7 @@ (gnus-treat-buttonize-head gnus-article-add-buttons-to-head) (gnus-treat-display-smileys gnus-treat-smiley) (gnus-treat-capitalize-sentences gnus-article-capitalize-sentences) + (gnus-treat-wash-html gnus-article-wash-html) (gnus-treat-emphasize gnus-article-emphasize) (gnus-treat-hide-citation gnus-article-hide-citation) (gnus-treat-hide-citation-maybe gnus-article-hide-citation-maybe) Any help or pointers would be appreciated. Perhaps I'm not even going about this the right way. Thanks! Pete ps Gnus is AWESOME!