From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67805 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss-ignore-article-fields for more than just fields Date: Wed, 19 Nov 2008 23:41:14 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878wrfibjp.fsf@topper.koldfront.dk> References: <87od115h3r.fsf_-_@jidanni.org> <8663n864vo.fsf@lifelogs.com> <86skpzkzl9.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1227134578 29010 80.91.229.12 (19 Nov 2008 22:42:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 22:42:58 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16253@lists.math.uh.edu Wed Nov 19 23:44:01 2008 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.50) id 1L2vlq-0005J6-Pp for ding-account@gmane.org; Wed, 19 Nov 2008 23:43:39 +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 1L2vjo-0005fX-5H; Wed, 19 Nov 2008 16:41:32 -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 1L2vjn-0005fO-0U for ding@lists.math.uh.edu; Wed, 19 Nov 2008 16:41:31 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L2vjj-0007Uj-J7 for ding@lists.math.uh.edu; Wed, 19 Nov 2008 16:41:30 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L2vjq-0000y3-00 for ; Wed, 19 Nov 2008 23:41:34 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L2vjf-0005I9-FS for ding@gnus.org; Wed, 19 Nov 2008 22:41:23 +0000 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 22:41:23 +0000 Original-Received: from asjo by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 22:41:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67805 Archived-At: On Mon, 10 Nov 2008 16:04:02 -0600, Ted wrote: TZ> ;;; Snarf functions TZ> (defun nnrss-make-hash-index (item) TZ> + (gnus-message 9 "nnrss: Making hash index of %s" (gnus-prin1-to-string item)) TZ> (setq item (gnus-remove-if TZ> (lambda (field) TZ> (when (listp field) Wouldn't this gnus-message call be (even) more useful if it was placed _after_ the gnus-remove-if thing that removes the fields listed in nnrss-ignore-article-fields? I.e.: --- lisp/nnrss.el 11 Nov 2008 14:38:16 -0000 7.60 +++ lisp/nnrss.el 19 Nov 2008 22:39:40 -0000 @@ -685,12 +685,12 @@ ;;; Snarf functions (defun nnrss-make-hash-index (item) - (gnus-message 9 "nnrss: Making hash index of %s" (gnus-prin1-to-string item)) (setq item (gnus-remove-if (lambda (field) (when (listp field) (memq (car field) nnrss-ignore-article-fields))) item)) + (gnus-message 9 "nnrss: Making hash index of %s" (gnus-prin1-to-string item)) (md5 (gnus-prin1-to-string item) nil nil nnrss-file-coding-system)) (This way I can use it to check that I set nnrss-ignore-article-fields correctly.) Best regards, Adam -- "If I succeed it seems to me Adam Sjøgren That we should tell it to people like me" asjo@koldfront.dk