From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10068 Path: main.gmane.org!not-for-mail From: Carsten Leonhardt Newsgroups: gmane.emacs.gnus.general Subject: Duplicates & not seeing them Date: 02 Mar 1997 23:53:07 +0100 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: multipart/mixed; boundary="Multipart_Sun_Mar__2_23:53:07_1997-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035149997 22176 80.91.224.250 (20 Oct 2002 21:39:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:39:57 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id QAA09237 for ; Sun, 2 Mar 1997 16:04:30 -0800 Original-Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 3 Mar 1997 00:53:33 +0100 Original-Received: from downtown.oche.de (root@downtown.oche.de [194.94.253.3]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id AAA14027 for ; Mon, 3 Mar 1997 00:54:14 +0100 (MET) Original-Received: from sundancer.UUCP (uucp@localhost) by downtown.oche.de (8.7.6/8.7.3) with UUCP id AAA26233 for ifi.uio.no!ding; Mon, 3 Mar 1997 00:43:11 +0100 Original-Received: by sundancer.tng.oche.de id m0w1LBC-0001epC (Debian Smail-3.2 1996-Jul-4 #2); Mon, 3 Mar 1997 01:00:34 +0100 (MET) Original-Received: (qmail 5789 invoked by uid 666); 2 Mar 1997 22:53:07 -0000 Original-To: ding@ifi.uio.no X-Attribution: Leo Original-Lines: 39 X-Mailer: Gnus v5.4.17/XEmacs 20.1 Xref: main.gmane.org gmane.emacs.gnus.general:10068 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10068 --Multipart_Sun_Mar__2_23:53:07_1997-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Sun_Mar__2_23:53:07_1997-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="nnmail.diff" Content-Transfer-Encoding: 7bit --- 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) --Multipart_Sun_Mar__2_23:53:07_1997-1--