From c176132362415a8300e37ce9277cc55d8d2d4d92 Mon Sep 17 00:00:00 2001 From: Andrei POPESCU Date: Wed, 1 Aug 2012 19:26:05 +0300 Subject: [PATCH] Re: notmuch-mutt: support for duplicate message removal --- d3/4796c846c10fef55ca1fce42a9321dba807051 | 118 ++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 d3/4796c846c10fef55ca1fce42a9321dba807051 diff --git a/d3/4796c846c10fef55ca1fce42a9321dba807051 b/d3/4796c846c10fef55ca1fce42a9321dba807051 new file mode 100644 index 000000000..e7104fd20 --- /dev/null +++ b/d3/4796c846c10fef55ca1fce42a9321dba807051 @@ -0,0 +1,118 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 82E7A431FAF + for ; Wed, 1 Aug 2012 09:26:13 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 8VPjEyhPyMAP for ; + Wed, 1 Aug 2012 09:26:13 -0700 (PDT) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id CB660431FAE + for ; Wed, 1 Aug 2012 09:26:12 -0700 (PDT) +Received: by wibhm6 with SMTP id hm6so3386390wib.2 + for ; Wed, 01 Aug 2012 09:26:10 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:subject:message-id:references:mime-version + :content-type:content-disposition:in-reply-to:user-agent; + bh=uZncHVjK6WiDMd0AkEhlgrnkKzgoNiRoKDe1eKW7lZU=; + b=ll2nEYQNX2iW0o3oQ6eSgBAGINEFWuFBkno1JV/h6+dB9GTBAGafumg4K8ZHpSVI7t + Ty4QJaOhcc6kROptjis5Omoo5E4VrK5vIgsEMMMIuLJa80mcweXyWw9Em0czryrn+8aM + MDRwvnbkVK1wHFogzhAXtYE2q35bHfYOl9Mx6IdOQVchuhabdIxmUCZKQ5gYljgtsCPc + c9kxR+lBisPPdONarnZKBzefKzazMqngzQsvTd3DY+ujOTGjFlb13FjW3AZQ3P3a+O5+ + gFqCym8gEjbAQr2CDydCCrBwHmbcUrldtneg4SSOTU8ZVdC7/JR36hER/plyjyctAGfY + 2RRg== +Received: by 10.216.242.196 with SMTP id i46mr8993015wer.118.1343838370218; + Wed, 01 Aug 2012 09:26:10 -0700 (PDT) +Received: from sid.nuvreauspam ([92.86.142.199]) + by mx.google.com with ESMTPS id w7sm28619122wiz.0.2012.08.01.09.26.07 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 01 Aug 2012 09:26:08 -0700 (PDT) +Received: by sid.nuvreauspam (Postfix, from userid 1077) + id C41E0C0796; Wed, 1 Aug 2012 19:26:05 +0300 (EEST) +Date: Wed, 1 Aug 2012 19:26:05 +0300 +From: Andrei POPESCU +To: Jani Nikula +Subject: Re: notmuch-mutt: support for duplicate message removal +Message-ID: <20120801162605.GA6012@sid.nuvreauspam> +References: <1343808582-9519-1-git-send-email-zack@upsilon.cc> + <87pq7aam8n.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha256; + protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" +Content-Disposition: inline +In-Reply-To: <87pq7aam8n.fsf@nikula.org> +User-Agent: Mutt/1.5.21 (2010-09-15) +Cc: notmuch@notmuchmail.org, "Kevin J. McCarthy" , + Stefano Zacchiroli +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 01 Aug 2012 16:26:13 -0000 + + +--+QahgC5+KEYLbs62 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Mi, 01 aug 12, 13:24:24, Jani Nikula wrote: +> On Wed, 01 Aug 2012, Stefano Zacchiroli wrote: +> > +> > Also, if you've further comments on the patch, do not hesitate! +>=20 +> I'm guessing you get the duplicates because you have dupes in the mail +> store, and 'notmuch search --output=3Dfiles' prints all the filenames +> associated with each matching message, rather than any other reason. The +> presented approach will only remove identical files, and will leave +> behind files that are basically the same message, but have differing +> headers, e.g. due to being received through different channels. Is this +> what you want? + +I'm at least one user that cares enough about the distinction to have=20 +all list mails received via a different address, just to avoid Gmail's=20 +"feature" of silently dropping my own messages received via a list.=20 +IMVHO it should at least be configurable... + +Kind regards, +Andrei +--=20 +If you can't explain it simply, you don't understand it well enough. +(Albert Einstein) + +--+QahgC5+KEYLbs62 +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: Digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQEcBAEBCAAGBQJQGVidAAoJEHNWs3jeoi3pD78H+wdA8X3plLE9oM96hZZ/sIwF +pdsepQJea8hRWtS57vcfnZvQQENR6daWSZVBWaWUV3uv/KXQRw9VdJfujTi9VIlK ++y5gR1ltugg9FK0Xx6S8RQ+lJwgKr8cZ4yAKCJZufOz4uoH2cMhfSTctLwqhERJ4 +pWYdgNPFOJAMqrEf6lBBJ798ahXA7qMQImKefM1r6ck7V65eoS1lkYnNKkEzfDAh +eCseG4FoAzY4XtBpJHn1LOjMF/fw5fcy/4zOxA/HGxHQhJk+xAYFkx+nhwJeUk/R +sQ807rJBpX4KvfuUQkvLgP+5oxJiyhL7xkOYx/QTq6dKvAs1Z1h3i3zoTKyR8Kc= +=jm6P +-----END PGP SIGNATURE----- + +--+QahgC5+KEYLbs62-- -- 2.26.2