unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Jesse Rosenthal <jrosenthal@jhu.edu>
Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Re: Getting the right root mail of the thread
Date: Sun, 3 Nov 2013 15:44:09 -0600	[thread overview]
Message-ID: <CAMP44s31aT9acTW8xyV5OQgA+i-mO2gLk9AaAuOKPhXNCcKf3g@mail.gmail.com> (raw)
In-Reply-To: <87k3gprzo0.fsf@jhu.edu>

On Sun, Nov 3, 2013 at 2:35 PM, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:
> Jani Nikula <jani@nikula.org> writes:
>> I think it's actually worse than what your example demonstrates. It's
>> the subject of the newest/oldest *matching* message that gets used. In
>> your example, the first/last messages in the thread apparently match
>> your query.
>
> The behavior is there because subjects frequently change in long
> threads, and this allows the subject to refer to the most recent unread
> message (if we're sorting in the default order). The
> reason I requested and wrote in this behavior five years ago or so (my
> only c contribution ever) was that numerous business associates would
> keep email lists by replying and changing the subject. This is *very*
> common outside of programming circles. Even in programming circles,
> subjects frequently change on mailing list (with a "[was: ...]"
> appended).

Yes but how important is it to keep track of that?

I say it is much more important to track threads like this properly:

  foobar patch 0 (usually a summary/overview)
  +-foobar patch 1
  | +-comment on patch 1
  +-foobar patch 2
  +-foobar patch 3
  | +-comment on patch 3
  +-foobar patch 4
  +-foobar patch 5

But fine, let's concentrate on the common user scenario (which is not
common for notmuch users at all). We can have a thread like this:

  No work on Friday
  + Shall we go for some beers? (was: No work on Friday)
  + What about project X? (was: No work on Friday)

So which is the correct summary of the thread? The fact of the matter
is that we are talking about three threads now.

Gmail does this correctly. Each time the subject is changed, it's
considered a new thread.

> The current behavior can be annoying, but the old behavior could make
> the MUA quite unusable in a number of circumstances. (And yes, an MUA
> that fails on reading mail from senders with bad emailing practices is
> unusable for me.)

This is rhetorical warfare. It's wouldn't be "failing on reading mail".

If displaying the original subject is failing, then we might be
failing when searching with older first. Why would the order of the
search affect the thread summary?

> Maybe there should be a "show original subject" toggle? That wouldn't be
> too hard, though it would require another call to the library and
> regenerating the search results.

Yes. I say it should be a property of the query. I don't see why
anybody would want it any other way, but it wouldn't hurt to make it
an option.

-- 
Felipe Contreras

  parent reply	other threads:[~2013-11-03 21:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02 13:08 Getting the right root mail of the thread Felipe Contreras
2013-11-02 13:50 ` Jani Nikula
2013-11-02 14:06   ` Felipe Contreras
2013-11-02 14:58     ` Jani Nikula
2013-11-03 20:10       ` Felipe Contreras
2013-11-03 20:17         ` Jani Nikula
2013-11-03 20:35   ` Jesse Rosenthal
2013-11-03 21:28     ` Jani Nikula
2013-11-03 21:44     ` Felipe Contreras [this message]
2013-11-03 19:22 ` Daniel Kahn Gillmor
2013-11-03 20:12   ` Felipe Contreras

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMP44s31aT9acTW8xyV5OQgA+i-mO2gLk9AaAuOKPhXNCcKf3g@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=jrosenthal@jhu.edu \
    --cc=notmuch@notmuchmail.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).