Gnus development mailing list
 help / color / mirror / Atom feed
From: Anders Melchiorsen <postmaster@and.nospam.kampsax.k-net.dk>
Subject: Re: Not removing annoying subject parts
Date: 01 Oct 1998 11:41:45 +0200	[thread overview]
Message-ID: <m3k92k1uw6.fsf@k0817.kampsax.dtu.dk> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "29 Sep 1998 12:32:44 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> 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.


  reply	other threads:[~1998-10-01  9:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-22 15:28 Anders Melchiorsen
1998-09-22 15:37 ` Karl Kleinpaste
1998-09-22 20:48   ` Anders Melchiorsen
1998-09-23 22:18 ` Lars Magne Ingebrigtsen
1998-09-24  0:32   ` Anders Melchiorsen
1998-09-24  1:23     ` Lars Magne Ingebrigtsen
1998-09-24 13:20       ` Anders Melchiorsen
1998-09-24 13:33         ` Karl Kleinpaste
1998-09-24 15:41           ` Anders Melchiorsen
1998-09-24 17:24             ` Lars Magne Ingebrigtsen
1998-09-24 23:10               ` Anders Melchiorsen
1998-09-29 10:32                 ` Lars Magne Ingebrigtsen
1998-10-01  9:41                   ` Anders Melchiorsen [this message]
1998-10-01 14:23                     ` Lars Magne Ingebrigtsen

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=m3k92k1uw6.fsf@k0817.kampsax.dtu.dk \
    --to=postmaster@and.nospam.kampsax.k-net.dk \
    /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).