Hello, On 2021-09-21 12:38, David Bremner writes: > Alan Schmitt writes: > >> Thank you for bearing with me. I confirm that I can see messages at the >> beginning of the thread using both an unthreaded search and >> notmuch-show-only-matching-messages set to t. Unfortunately, messages >> later in the thread still result in an error: >> >> Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") >> mapc(#f(compiled-function (tree) #) ((nil ((nil ((nil (...)))))) (nil ((nil ((nil nil))))))) >> notmuch-show-insert-thread(((nil ((nil ((nil (...)))))) (nil ((nil ((nil nil)))))) 197) >> notmuch-show-insert-tree((nil ((nil ((nil ((nil ...))))) (nil ((nil ((nil nil))))))) 196) > > I don't really understand how you got here. For me, if I type U from > notmuch-search to get an unthreaded view, then just shows the > single message, and "notmuch-show-insert-tree" is not called. > > In this way I can view arbitrary messages threads of up to 1024 in > length. I didn't test with encrypted messages, maybe that changes > something. I can view a thread with more than 7000 messages (with show-only-matching-messages to t) if they are not encrypted. In fact I already could with 0.32 if I remember correctly. The fact that messages are encrypted seems to matter here. If it matters, here is the bottom of the debug stack: notmuch-show-insert-thread(((nil ((nil ((nil nil) (nil (... ...))))))) 1) notmuch-show-insert-tree((nil ((nil ((nil ((nil nil) (nil ...))))))) 0) #f(compiled-function (tree) #)((nil ((nil ((nil ((nil nil) (nil ...)))))))) mapc(#f(compiled-function (tree) #) ((nil ((nil ((nil (... ...)))))))) notmuch-show-insert-thread(((nil ((nil ((nil (... ...))))))) 0) #f(compiled-function (thread) #)(((nil ((nil ((nil (... ...)))))))) mapc(#f(compiled-function (thread) #) (((nil ((nil ((nil ...)))))))) notmuch-show-insert-forest((((nil ((nil ((nil ...)))))))) notmuch-show--build-buffer() notmuch-show("id:Mr.ye1AxFHsd2E.Vd_oS17awSv@polytechnique.org") notmuch-tree-show-message-out() notmuch-tree-show-message(nil) funcall-interactively(notmuch-tree-show-message nil) call-interactively(notmuch-tree-show-message nil nil) command-execute(notmuch-tree-show-message) Best, Alan