Gnus development mailing list
 help / color / mirror / Atom feed
From: Carsten Leonhardt <leo@arioch.oche.de>
Subject: Duplicates & not seeing them
Date: 02 Mar 1997 23:53:07 +0100	[thread overview]
Message-ID: <hhlo85q52k.fsf@arioch.oche.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

I have that sort of paranoia where I don't want to delete any incoming
mails (so I set nnmail-treat-duplicates to 'warn). But I'm also
annoyed by mails that I get from more than one mailing list and then
show up more than once in the summary buffer.

A fine solution would be to score the articles that are detected to be
duplicates very low. In order to have that fast, one has to score on
something that is in the nov-file. So it would be nice if the new
message-id for duplicates wouldn't end in
"totally-fudged-out-message-id" but in something like
"this-is-a-duplicate-message-so-score-me-low" to avoid confusion with
other messages which get their message-id set inside nnmail.el.

Sample patch included below.

  Leo


[-- Attachment #2: nnmail.diff --]
[-- Type: application/octet-stream, Size: 421 bytes --]

--- nnmail.el.orig-5.4.17	Sun Mar  2 22:06:24 1997
+++ nnmail.el	Sun Mar  2 23:45:03 1997
@@ -1481,7 +1481,7 @@
      ((eq action 'warn)
       ;; We insert a warning.
       (let ((case-fold-search t)
-	    (newid (nnmail-message-id)))
+	    (newid (concat "<" (message-unique-id) "@i-am-a-duplicate-so-hit-me>")))
 	(goto-char (point-min))
 	(when (re-search-forward "^message-id[ \t]*:" nil t)
 	  (beginning-of-line)

                 reply	other threads:[~1997-03-02 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=hhlo85q52k.fsf@arioch.oche.de \
    --to=leo@arioch.oche.de \
    /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).