I've been having problems with really long threads for a while when using notmuch.  When I click on them in emacs to display the content, I get "Lisp nesting exceeds `max-lisp-eval-depth'"  The problem up until now has been these threads have always been ones that I couldn't share.  I finally went onto the fedora-devel list archives[0].  I was able to reproduce the issue with emails that I can share.  I've got a notmuch show --format=mbox of the thread that caused the issue, which is available here[1].  The following is the debugging output.  Any other things I can provide to help track this down?  Thanks, this would be a big help.<div>
<br></div><div><div>  (push (json-read) elements)</div><div>  (while (not (char-equal ... 93)) (push (json-read) elements) (json-skip-whitespace) (unless (char-equal ... 93) (if ... ... ...)))</div><div>  (let (elements) (while (not ...) (push ... elements) (json-skip-whitespace) (unless ... ...)) (json-advance) (apply json-array-type (nreverse elements)))</div>
<div>  json-read-array()</div><div>  apply(json-read-array nil)</div><div>  (if (functionp (car record)) (apply (car record) (cdr record)) (signal (quote json-readtable-error) record))</div><div>  (let ((record ...)) (if (functionp ...) (apply ... ...) (signal ... record)))</div>
<div>  (if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (signal (quote end-of-file) nil))</div><div>  (let ((char ...)) (if (not ...) (let ... ...) (signal ... nil)))</div><div>  json-read()</div><div>  (cons (json-read) elements)</div>
<div>  (setq elements (cons (json-read) elements))</div><div>  (push (json-read) elements)</div><div>  (while (not (char-equal ... 93)) (push (json-read) elements) (json-skip-whitespace) (unless (char-equal ... 93) (if ... ... ...)))</div>
<div>  (let (elements) (while (not ...) (push ... elements) (json-skip-whitespace) (unless ... ...)) (json-advance) (apply json-array-type (nreverse elements)))</div><div>  json-read-array()</div><div>  apply(json-read-array nil)</div>
<div>  (if (functionp (car record)) (apply (car record) (cdr record)) (signal (quote json-readtable-error) record))</div><div>  (let ((record ...)) (if (functionp ...) (apply ... ...) (signal ... record)))</div><div>  (if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (signal (quote end-of-file) nil))</div>
<div>  (let ((char ...)) (if (not ...) (let ... ...) (signal ... nil)))</div><div>  json-read()</div><div>  notmuch-query-get-threads(("'" "thread:00000000000193d0" "and (" "tag:inbox and not tag:spam and not tag:delete" ")'"))</div>
<div>  notmuch-show("thread:00000000000193d0" #<buffer *notmuch-saved-search-inbox*> "tag:inbox and not tag:spam and not tag:delete" "*F15 Feature - convert as man...")</div><div>  notmuch-search-show-thread()</div>
<div>  call-interactively(notmuch-search-show-thread nil nil)</div><div><br></div><div>[0] - <a href="http://lists.fedoraproject.org/pipermail/devel/">http://lists.fedoraproject.org/pipermail/devel/</a></div><div>[1] - <a href="http://aiden.foolishpride.org/~shenson/bad.mbox">http://aiden.foolishpride.org/~shenson/bad.mbox</a></div>
<div><br></div><div>-- <br>Scott Henson<br>
</div></div>