Re: [bug]: notmuch-emacs: notmuch-show: "c F" shows same file name for different instances of duplicate messages

Subject: Re: [bug]: notmuch-emacs: notmuch-show: "c F" shows same file name for different instances of duplicate messages

Date: Fri, 05 Aug 2022 11:40:27 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Gregor Zattler


Hi David,
* David Bremner <david@tethera.net> [2022-08-04; 18:58]:
> For those following along at home, I think Gregor refers to the "thread
> subject" as shown by e.g. "notmuch search". This might or might not be
> related to the message being replaced by a different duplicate.

actually I referred to the very first line in a notmuch-show
buffer.  I see, it's difficult to impossible to decide which
Subject to choose for the thread if there are different
Subject: headers in the files which host the Message-Id of
the first message of the thread.


But since you mentioned it there is another glitch: If one
searches for my test case like so:

from:telegraph@gmx.net AND to:telegraph@gmx.net AND subject:one

the test case shows up.

In my particular case the notmuch-search buffer shows two
lines for two matching threads one of which stands out
because its date is 1970-01-01 because I was too lazy to
provide Date: headers in the test case's messages.

In my particular case the Subject: shown on this very line
for the test case is "two".  But if I place the cursor on
this line and hit RET, the "first" of the three messages is
shown, which in my particular case happens to be the one
with Subject: "one".  Correspondingly the very first line of
this notmuch-show buffer reads "one".

Even if it's not possible to decide which of the messages is
the "right" one, I think it would be less surprising, if the
subject shown in the notmuch-search buffer would be the one
from the "first" message shown in the notmuch-show buffer.
In most/normal cases this will be the "right" one or at
least the one the user is content with.



Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: