On Fri, Jun 11 2021, Jonathan Wilner wrote: > I definitely also have this problem with large threads - big time hangs > using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, > not using Notmuch at the command line, though that can also take quite a > long time to return. > > I'm suspicious that there's something with HTML parsing - does that seem > possible? It might also make sense if Delta Chat is giving you HTML versus > plaintext. one thing you could also try is to press '<' in that notmuch show buffer adn observe how long it takes to drop indentation of the whole buffer (i don't remember how it does that) and then repres '<' and see whether re-indenting takes much more time dropping indentation. in notmuch show there is (defvar-local notmuch-show-indent-content t) I tried just to M-: (setq notmuch-show-indent-content nil) -- that did not have any effect... IIRC the (indent-rigidly ...) executions take quite a lot of time but is that significant or not here... Tomi > > > > On Thu, Jun 3, 2021 at 12:55 AM Alan Schmitt <alan.schmitt@polytechnique.org> > wrote: > >> Hello, >> >> On 2021-06-02 09:18, David Bremner <david@tethera.net> writes: >> >> > The code I posted worked fine for me for one message from a thread of >> > 323 messages. >> >> The thread that used to crash (before your patch) was from DeltaChat, >> which is an email-based chat app. The thread it produces are like lists >> more than trees. So I guess the depth of the tree is what matters. >> >> Best, >> >> Alan >> _______________________________________________ >> notmuch mailing list -- notmuch@notmuchmail.org >> To unsubscribe send an email to notmuch-leave@notmuchmail.org >> > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org