From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17525 Path: main.gmane.org!not-for-mail From: Anders Melchiorsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Not removing annoying subject parts Date: 01 Oct 1998 11:41:45 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035156210 1407 80.91.224.250 (20 Oct 2002 23:23:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:23:30 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA07430 for ; Thu, 1 Oct 1998 05:42:15 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id EAF04439; Thu, 1 Oct 1998 04:13:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 01 Oct 1998 04:42:00 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id EAA25297 for ; Thu, 1 Oct 1998 04:41:50 -0500 (CDT) Original-Received: from eising.k-net.dk (eising.k-net.dtu.dk [130.225.71.227]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id FAA07423 for ; Thu, 1 Oct 1998 05:41:41 -0400 (EDT) Original-Received: (qmail 1866 invoked from network); 1 Oct 1998 09:41:41 -0000 Original-Received: from carlsberg.kampsax.dtu.dk (qmailr@192.38.212.2) by eising.k-net.dk with SMTP; 1 Oct 1998 09:41:41 -0000 Original-Received: (qmail 19612 invoked from network); 1 Oct 1998 09:41:39 -0000 Original-Received: from k0817.kampsax.dtu.dk (and@192.38.215.249) by carlsberg.kampsax.dtu.dk with SMTP; 1 Oct 1998 09:41:39 -0000 Original-Received: (from and@localhost) by k0817.kampsax.dtu.dk (8.8.7/8.8.7) id LAA05467; Thu, 1 Oct 1998 11:41:45 +0200 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "29 Sep 1998 12:32:44 +0200" Original-Lines: 39 X-Mailer: Gnus v5.6.43/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17525 Lars Magne Ingebrigtsen writes: > > But why is the nnmail-list-identifiers removed from the first article > > on each import, then? > > I'm unable to reproduce this bug. I figured it out. It turned out to be my fault after all :-/. I had cut'n'pasted wrongly from the manual. As I wrote in my initial mail, I had (add-hook 'nnmail-prepare-incoming-hook 'nnmail-remove-list-identifiers) which should, of course, have been (add-hook 'nnmail-prepare-incoming-header-hook 'nnmail-remove-list-identifiers) However, it was not until doing C-h v on nnmail-prepare-incoming-hook that I realised that it is only called once for all imported messages in a group (as opposed to once for each message). I do not think the manual makes that obvious (in the washing section). When you know it, you can deduce it from the description of nnmail-prepare-incoming-message-hook but I never read that far before using nnmail-prepare-incoming-hook. Changing the description to include something like the on-line help "The hook is run in a buffer with all the new, incoming mail" would help, I think. -- Regards, Anders (address is valid) Alan's Corollary: Two wrongs don't make a right, but two Wrights make an airplane.