Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: nnrss-ignore-article-fields for more than just fields
Date: Wed, 19 Nov 2008 23:41:14 +0100	[thread overview]
Message-ID: <878wrfibjp.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <86skpzkzl9.fsf@lifelogs.com>

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




  parent reply	other threads:[~2008-11-19 22:41 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 13:00 Using nnrss very actively Lars Magne Ingebrigtsen
2008-10-16 13:15 ` David Engster
2008-10-16 13:27   ` Lars Magne Ingebrigtsen
2008-10-16 13:43     ` David Engster
2008-10-16 13:52       ` Lars Magne Ingebrigtsen
2008-10-16 16:27         ` Mark Plaksin
2008-10-16 17:15           ` Lars Magne Ingebrigtsen
2008-10-17  8:45             ` Paul R
2008-10-17  8:57               ` David Engster
2008-10-17  9:18                 ` Paul R
2008-10-17 14:00             ` Andreas Seltenreich
2008-10-16 17:46           ` Robert D. Crawford
2008-10-16 19:27             ` David Engster
2008-10-20 17:13               ` Mark Plaksin
2008-10-21 15:53                 ` Ted Zlatanov
2008-10-21 16:24                 ` Adam Sjøgren
2008-10-28  0:04                 ` Mark Plaksin
2008-10-28  5:20                   ` Andreas Seltenreich
2008-10-28 12:11                     ` Mark Plaksin
2008-10-31  8:00                       ` nnrss-ignore-article-fields for more than just fields jidanni
2008-10-31 17:39                         ` Ted Zlatanov
2008-11-10 22:04                           ` Ted Zlatanov
2008-11-11  7:37                             ` Reiner Steib
2008-11-11 14:38                               ` Ted Zlatanov
2008-11-19 22:41                             ` Adam Sjøgren [this message]
2008-11-20 16:40                               ` Ted Zlatanov
2008-10-16 13:17 ` Using nnrss very actively Robert D. Crawford
2008-10-16 13:18 ` Adam Sjøgren
2008-10-18 23:10 ` Sebastian Krause
2008-10-18 23:16 ` Kevin Ryde
2008-10-20 20:20   ` Lars Magne Ingebrigtsen
2008-10-21 15:56     ` Ted Zlatanov
2008-10-25  0:03     ` Kevin Ryde
2008-11-03 23:43       ` Content-Location for w3m display (was: Using nnrss very actively) Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wrfibjp.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).