From: Austin Clements Date: Tue, 25 Sep 2012 19:31:37 +0000 (+2000) Subject: Re: Provide an option to make thread summaries keep initial subject X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b2c7c527e2e4424d8356bd2fe6dde17546cab171;p=notmuch-archives.git Re: Provide an option to make thread summaries keep initial subject --- diff --git a/2c/321c2e42e72bf4d12ac46ada76625220dd216c b/2c/321c2e42e72bf4d12ac46ada76625220dd216c new file mode 100644 index 000000000..07aca2319 --- /dev/null +++ b/2c/321c2e42e72bf4d12ac46ada76625220dd216c @@ -0,0 +1,110 @@ +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 6FC50431FC4 + for ; Tue, 25 Sep 2012 12:31:42 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 Ubto8pQMBQSC for ; + Tue, 25 Sep 2012 12:31:42 -0700 (PDT) +Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU + [18.7.68.36]) + by olra.theworths.org (Postfix) with ESMTP id D7729431FAF + for ; Tue, 25 Sep 2012 12:31:41 -0700 (PDT) +X-AuditID: 12074424-b7fce6d000000925-dd-5062069d9b98 +Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) + by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP + id A5.4E.02341.D9602605; Tue, 25 Sep 2012 15:31:41 -0400 (EDT) +Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) + by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q8PJVefs020143; + Tue, 25 Sep 2012 15:31:40 -0400 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q8PJVbDu001553 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Tue, 25 Sep 2012 15:31:39 -0400 (EDT) +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) + (envelope-from ) + id 1TGar3-0008Nw-An; Tue, 25 Sep 2012 15:31:37 -0400 +Date: Tue, 25 Sep 2012 15:31:37 -0400 +From: Austin Clements +To: Olivier Berger +Subject: Re: Provide an option to make thread summaries keep initial subject +Message-ID: <20120925193137.GM26662@mit.edu> +References: <87zk4eqech.fsf@inf-8657.int-evry.fr> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87zk4eqech.fsf@inf-8657.int-evry.fr> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IRYrdT153LlhRgcPqPuMX1mzOZLRrPtLM5 + MHk8advE4vFs1S3mAKYoLpuU1JzMstQifbsEroz3TR0sBQt5K+bNPsDSwHiXq4uRk0NCwETi + 9NfrTBC2mMSFe+vZuhi5OIQE9jFKXF/3hhXC2cAo8WDLMyjnJJPEuX9roMqWMEpMOLeBBaSf + RUBV4uylmewgNpuAhsS2/csZQWwRASOJbc1bWUFsZgFpiW+/m8H2CQv4SBx5tIIZxOYV0JH4 + t2M6kM0BNNRQ4thCHoiwoMTJmU9YIFq1JG78e8kEUgIyZvk/DhCTE2j6hFecIBWiAioSU05u + Y5vAKDQLSfMsJM2zEJoXMDKvYpRNya3SzU3MzClOTdYtTk7My0st0jXXy80s0UtNKd3ECA5q + F5UdjM2HlA4xCnAwKvHwHnieGCDEmlhWXJl7iFGSg0lJlPfFP6AQX1J+SmVGYnFGfFFpTmrx + IUYJDmYlEV5jkHLelMTKqtSifJiUNAeLkjjv9ZSb/kIC6YklqdmpqQWpRTBZGQ4OJQneA6xJ + AUKCRanpqRVpmTklCGkmDk6Q4TxAwwtAaniLCxJzizPTIfKnGBWlxHn7QRICIImM0jy4XljS + ecUoDvSKMO8mkCoeYMKC634FNJgJaDD/njiQwSWJCCmpBsbMN6YKph+m1Pm9OscxPWVLJbNJ + qv0z10Wz3yhxtG5nuX16mQZ3afc9sxgD4yL9q18d77c/98m/kuISo/3mWcr/zrVN7vecjU/2 + 9t7VbJ+2z+3/XctXCocNPjRGzA3pOMVuJqK7MM60VvdvaoPcA4OHS7aVfnaOf535aMO1CXfu + 2C341bm866QSS3FGoqEWc1FxIgDUgfb2FQMAAA== +Cc: notmuch@notmuchmail.org +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: Tue, 25 Sep 2012 19:31:42 -0000 + +Quoth Olivier Berger on Sep 25 at 6:03 pm: +> Hi. +> +> Whenever a participant changes the subject in the middle of a thread, +> the summary reported by notmuch search will change. +> +> However, the result is that some mails tend to "disappear" from search +> results, when (bad) participants reply instead of composing a new mail, +> and change a subject (see +> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688699 for more details +> on that problem, and a discussion). Of course, they're still there, but +> their subject being masked, one may then grep or C-s for a particular +> subject and miss them. +> +> I think it would be interesting to allow notmuch to potentially keep the +> original subject and not the most recent one for the thread summaries. +> +> What do you think ? + +I think this would be fantastic. I've proposed unconditionally +showing the earliest subject before and it seems that people who +correspond mostly with those who have good threading etiquette would +prefer this change, but those who correspond with more people who use +'reply' like an address book prefer the current behavior. + +Another option, which I'd like to experiment with but haven't found +the time, is to show *all* distinct subjects for matched messages in a +thread (modulo "Re:", etc) in the summary buffer, probably on multiple +lines. Since most threads only have a single unique subject, they +would appear just as they do now, but it would be clear when someone +(or something, like git) changed the subject mid-thread. This +approach would be far more robust while retaining good usability, but +it would require more code than just changing our subject-picking +heuristic.