On 22/08/15 09:48, Stefano Zacchiroli wrote:
> On Fri, Aug 21, 2015 at 10:11:22PM +0200, Tomasz Buchert wrote:
> > when I try to search or rebuild thread in mutt and there
> > are some new messages in my mailboxes, the operation does
> > not do what promised, but jumps into mailbox with a
> > new message instead.
>

Hi Stefano,

> How (often) do you run "notmuch new"?

After each offlineimap run.

>
> According to your description it seems to me that you're running the F8
> query before notmuch has had a chance to reindex, and hence realize that
> the new messages belong to some previously existing threat. In that
> situation, notmuch search will consider the new messages as part of
> singleton message threads.
>
> If this is the problem you're facing, I recommend plugging "notmuch new"
> into the tool you use to retrieve mail, e.g., as an offlineimap hook. If
> this is not the problem you're facing, I guess I'd need a reproducible
> test, because I've no (other) idea of what's going on :)

So when I say "new" mail I don't literally mean "newly synced
messages", but only messages that are in "new/" maildir. I now remember
that I also have a personal patch on offlineimap:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789625

I think that this may be the reason. Without my patch, offlineimap
delivers mails to "cur" which probably makes <F8> happy.

>
> Thanks for your bug report!
> Cheers.

Cheers,
Tomasz

> --
> Stefano Zacchiroli  . . . . . . .  [email protected] . . . . o . . . o . o
> Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
> Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
> « the first rule of tautology club is the first rule of tautology club »
>

Attachment: signature.asc
Description: Digital signature

Reply via email to