From: Eric Date: Mon, 4 Apr 2016 11:07:45 +0000 (+0200) Subject: Re: Breaking a really long thread X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d1c18442971a6f91f53facabc040e8537aac059;p=notmuch-archives.git Re: Breaking a really long thread --- diff --git a/ed/c1b90ccf27fc0224c1bf437c0a5c7fb83837e1 b/ed/c1b90ccf27fc0224c1bf437c0a5c7fb83837e1 new file mode 100644 index 000000000..ad3f58dc3 --- /dev/null +++ b/ed/c1b90ccf27fc0224c1bf437c0a5c7fb83837e1 @@ -0,0 +1,136 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 655BB6DE02C9 + for ; Mon, 4 Apr 2016 04:08:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.092 +X-Spam-Level: +X-Spam-Status: No, score=0.092 tagged_above=-999 required=5 tests=[AWL=0.002, + DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, + RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id u7ImqanjGOFq for ; + Mon, 4 Apr 2016 04:08:26 -0700 (PDT) +Received: from mx1.solardns.com (mx1.solardns.com [109.73.127.119]) + by arlo.cworth.org (Postfix) with ESMTPS id A179F6DE0159 + for ; Mon, 4 Apr 2016 04:08:25 -0700 (PDT) +Received: from [213.129.84.218] (helo=luna.solardns.com) + by mx1.solardns.com with esmtps (TLSv1.2:DHE-RSA-AES256-SHA:256) + (Exim 4.85) (envelope-from ) id 1an2Mi-0004NC-LU + for notmuch@notmuchmail.org; Mon, 04 Apr 2016 12:08:21 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deptj.eu; + s=default; h=Date:Message-ID:In-Reply-To:To:Subject:From; + bh=euMu8qSqWzCAD1NiLufxU6nITlxnUOzcZd06NQPW6tQ=; b=ht/G+owPCu7l7qUW6zi9u+zA+8 + IfcDs3KjJtm7ne5DW39P4GZkja+m9ksR8f/7Ojl2EnekSj0CLEpnbpeH8oPvYR6PFkvIEkRuUIjxM + D84nq1/qs3rpdzexPZES2D6yejELtRq/taE+l4I0zadFJAAvGEeayMe9I16CIXm4TKn0=; +Received: from [86.214.249.225] (port=38167 helo=bruno.deptj.eu) + by luna.solardns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) + (Exim 4.86_1) (envelope-from ) id 1an2Mi-000oIC-6p + for notmuch@notmuchmail.org; Mon, 04 Apr 2016 12:08:16 +0100 +Received: from eric by bruno.deptj.eu with local (Exim 4.84) + (envelope-from ) id 1an2Mh-00020t-JH + for notmuch@notmuchmail.org; Mon, 04 Apr 2016 13:08:15 +0200 +From: Eric +Subject: Re: Breaking a really long thread +To: notmuch@notmuchmail.org +In-Reply-To: <874mbkyv0j.fsf@ta.scs.stanford.edu> +Message-ID: +Date: Mon, 04 Apr 2016 13:07:45 +0200 (CEST) +X-AuthUser: deptjeu +X-Filter-ID: + s0sct1PQhAABKnZB5plbIZxxbsbMXbbOVqDrOlLQDPCKLoLP9dSDpksiPa3sfcfQiw3bi2TEXpBy + KOgMDJLxZ2gLr13hkJnqYlE8dI2PqoFC/lGsrXcsS0xY0J18f6o7xB66CWvXcfKDfXjTU++u64hp + moYX3Hn6Q09IJdN9+zFum51i7A1SbcUsP39mMWxlZuM7jUXIESohoO51xWmU8U0XxLGz4gGrl7np + YUMMsx7Zx6js8RMGZ+eyCM03IideZE/8G6RrW+hPYRmHOym9VEp4OmAp9SwcFw57ijAOXur1H/aA + warQpYDOYx/6JtUOKIpz/KyJk6xidDbrtJGeIvwS+mRNB2u5eXMTyiRDCl4blv/7/GYDGL6pBAPx + 3RhxuHrpSpJU4PQlqFj9797wgsGhIeDBws4kvu4hgViYIJSOH7FelTFEA57OugCjQqJvq5XDlSi1 + S/CAqp6x6giLUpAadaOpLL7vzAlHz9Vt0lJbH3q7FSJEAvmcpRDg+DcXMCx8qKfWo/2nfeswSb/v + XOidX4Ts4xdG+C13IyWeZaJClvAWyUAUCSYHhmge3quet8geXjZWRvaT/RbJ/nX/IFFm7SbdEzck + 901Ob2Iq9tC/Vh1lis0iI/S1HLwoHXf0 +X-Report-Abuse-To: spam@mx1.solardns.com +X-Filter-Fingerprint: + IFrWXGses7OKB5S5G8/dJdIz5bb8V0ykx8BnFBnunHBA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC + mj99/u+Poh38tEMU4IgC4sNz49qn3HHnhRv/ZJ3kEy8bfiAr+Fb/UpndEJ0YoaLytXXo8BMTaVt0 + ARHRi6XGuAluI1udprGClI6bm+u9ssQgM5AHe3Zacv4uJct5wtJvPpZ2dlBHCwDSxr3Vz+LJ/RhM + 2JZ0ECN5dnq47RWft7iCyM9+PbHelB4qP9S6mTzNwoPraFy6ieiDqMHb2a0eZvGOvr7RaxKWGCKO + us9nABr0Pk/4CplP +X-Originating-IP: 213.129.84.218 +X-SpamExperts-Domain: out.solardns.com +X-SpamExperts-Username: 213.129.84.218 +Authentication-Results: solardns.com; + auth=pass smtp.auth=213.129.84.218@out.solardns.com +X-SpamExperts-Outgoing-Class: ham +X-SpamExperts-Outgoing-Evidence: Combined (0.11) +X-Recommended-Action: accept +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Mon, 04 Apr 2016 11:08:35 -0000 + +On Sat, 02 Apr 2016 06:56:12 -0700, David Mazieres wrote: +> David Bremner writes: +> +>> David Mazieres writes: +>> +>>> Is there any way to break an existing thread (so as to start over with a +>>> smaller thread), or otherwise to tweak the threading rules so that a +>>> particular References header gets ignored. +>> +>> Currently there is no way to do this, as threads are "stateless" +>> i.e. created on the fly by _notmuch_create_thread based only on +>> immutable mail data. +> +> Thanks. +> +>>> It's annoyingly slow to open +>>> a thread with 10,000 messages just to read one SMS. I'm almost tempted +>>> to mangle the messages on delivery and remove the References header +>>> before notmuch sees them, but it would be nice to have a cleaner +>>> solution, as there are other situations in which one might want to +>>> "reset" a really long thread. +>> +>> Like this thread ;). +> +> Oops, sorry for the irrelevant thread inclusion. I guess emacs adds the +> References header after a message is sent is sent? In my setup, the +> easiest way to post to a mailing list is to reply to an existing message +> (since I subscribe to each list under a different email address). I +> tried to start a new thread by deleting the In-Reply-To and header which +> was all I saw, but I guess the References header got inserted later... + +Neither notmuch emacs nor any other email client has any business +inserting a References header after the user "presses Send". On a new +message it shouldn't exist unless inserted manually, and on a reply it +should come from the replied-to message (and be changed) before you start +"replying". More likely that (if you didn't miss it) it was not shown +to you although it existed - that would count as a bug in my opinion +(I don't use emacs for anything, not even notmuch). + +Actually the message you replied to has no References header, but notmuch +reply (command line) to it generates both References and In-Reply-To +(same content). I assume notmuch emacs does the same. I don't believe +that References should be generated in this situation, its only use +would be by a threading algorithm that doesn't use In-Reply-To, and I +would consider that a bug in said algorithm. + +Actually I think there should be a "reply as new" option which uses +the other message but does not add either In-Reply-To or References +(and does not carry the latter forward if it exists). + +Eric +-- +ms fnd in a lbry