Re: subjects and duplicated message id's

Subject: Re: subjects and duplicated message id's

Date: Thu, 14 Dec 2017 21:23:23 -0400

To: Daniel Kahn Gillmor,


From: David Bremner

>>    - we could also force the value slot to have the lexico first files'
>>      subject during indexing. This would be a bit fiddly, but localized.
>>      It would have the surprising effect of having the subject updated
>>      when new messages arrived.
> This is a bit weird, unless we also force "notmuch show" to always show
> the lexicographically-first file as well, no?

AFAIU, this is the current behaviour, see the second test in T670-duplicate-mid.

> Obviously, i'd prefer the original subject, so that it's searchable.
> I'd also like it if "notmuch show" displayed the original subject when
> showing the encrypted message.
> However, if someone does "notmuch show --decrypt=false" i'd want it to
> display the as-delivered header.
> Does this help push you toward any specific decision?  I'm also not sure
> what the correct solution is right now.

I don't think it really pushes one way or the other. The --decrypt=false
case could just look at the file instead of the database (that's what
notmuch-show does now.

notmuch mailing list