Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B9161431FB6 for ; Sun, 19 Dec 2010 19:27:11 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dePCef+FezCW for ; Sun, 19 Dec 2010 19:27:10 -0800 (PST) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id 76B41431FB5 for ; Sun, 19 Dec 2010 19:27:10 -0800 (PST) Received: by wyf22 with SMTP id 22so2665845wyf.26 for ; Sun, 19 Dec 2010 19:27:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.188.67 with SMTP id z45mr4245024wem.7.1292815625491; Sun, 19 Dec 2010 19:27:05 -0800 (PST) Sender: sjh@foolishpride.org Received: by 10.216.20.75 with HTTP; Sun, 19 Dec 2010 19:27:05 -0800 (PST) Date: Sun, 19 Dec 2010 22:27:05 -0500 X-Google-Sender-Auth: T7eD9E3FHh7BSUhuWD2aMHRUZJ0 Message-ID: Subject: Bug in emacs showing long threads From: Scott Henson To: notmuch Content-Type: multipart/alternative; boundary=0016368319501e177a0497cf1827 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 03:27:11 -0000 --0016368319501e177a0497cf1827 Content-Type: text/plain; charset=ISO-8859-1 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. (push (json-read) elements) (while (not (char-equal ... 93)) (push (json-read) elements) (json-skip-whitespace) (unless (char-equal ... 93) (if ... ... ...))) (let (elements) (while (not ...) (push ... elements) (json-skip-whitespace) (unless ... ...)) (json-advance) (apply json-array-type (nreverse elements))) json-read-array() apply(json-read-array nil) (if (functionp (car record)) (apply (car record) (cdr record)) (signal (quote json-readtable-error) record)) (let ((record ...)) (if (functionp ...) (apply ... ...) (signal ... record))) (if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (signal (quote end-of-file) nil)) (let ((char ...)) (if (not ...) (let ... ...) (signal ... nil))) json-read() (cons (json-read) elements) (setq elements (cons (json-read) elements)) (push (json-read) elements) (while (not (char-equal ... 93)) (push (json-read) elements) (json-skip-whitespace) (unless (char-equal ... 93) (if ... ... ...))) (let (elements) (while (not ...) (push ... elements) (json-skip-whitespace) (unless ... ...)) (json-advance) (apply json-array-type (nreverse elements))) json-read-array() apply(json-read-array nil) (if (functionp (car record)) (apply (car record) (cdr record)) (signal (quote json-readtable-error) record)) (let ((record ...)) (if (functionp ...) (apply ... ...) (signal ... record))) (if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (signal (quote end-of-file) nil)) (let ((char ...)) (if (not ...) (let ... ...) (signal ... nil))) json-read() notmuch-query-get-threads(("'" "thread:00000000000193d0" "and (" "tag:inbox and not tag:spam and not tag:delete" ")'")) notmuch-show("thread:00000000000193d0" # "tag:inbox and not tag:spam and not tag:delete" "*F15 Feature - convert as man...") notmuch-search-show-thread() call-interactively(notmuch-search-show-thread nil nil) [0] - http://lists.fedoraproject.org/pipermail/devel/ [1] - http://aiden.foolishpride.org/~shenson/bad.mbox -- Scott Henson --0016368319501e177a0497cf1827 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've been having problems with really long threads for a while when usi= ng notmuch. =A0When I click on them in emacs to display the content, I get = "Lisp nesting exceeds `max-lisp-eval-depth'" =A0The problem u= p until now has been these threads have always been ones that I couldn'= t share. =A0I finally went onto the fedora-devel list archives[0]. =A0I was= able to reproduce the issue with emails that I can share. =A0I've got = a notmuch show --format=3Dmbox of the thread that caused the issue, which i= s available here[1]. =A0The following is the debugging output. =A0Any other= things I can provide to help track this down? =A0Thanks, this would be a b= ig help.

=A0=A0(push (json-read) elements)
=A0=A0(whil= e (not (char-equal ... 93)) (push (json-read) elements) (json-skip-whitespa= ce) (unless (char-equal ... 93) (if ... ... ...)))
=A0=A0(let (el= ements) (while (not ...) (push ... elements) (json-skip-whitespace) (unless= ... ...)) (json-advance) (apply json-array-type (nreverse elements)))
=A0=A0json-read-array()
=A0=A0apply(json-read-array nil)
=A0=A0(if (functionp (car record)) (apply (car record) (cdr record))= (signal (quote json-readtable-error) record))
=A0=A0(let ((recor= d ...)) (if (functionp ...) (apply ... ...) (signal ... record)))
=A0=A0(if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (sign= al (quote end-of-file) nil))
=A0=A0(let ((char ...)) (if (not ...= ) (let ... ...) (signal ... nil)))
=A0=A0json-read()
= =A0=A0(cons (json-read) elements)
=A0=A0(setq elements (cons (json-read) elements))
=A0=A0(pus= h (json-read) elements)
=A0=A0(while (not (char-equal ... 93)) (p= ush (json-read) elements) (json-skip-whitespace) (unless (char-equal ... 93= ) (if ... ... ...)))
=A0=A0(let (elements) (while (not ...) (push ... elements) (json-skip-= whitespace) (unless ... ...)) (json-advance) (apply json-array-type (nrever= se elements)))
=A0=A0json-read-array()
=A0=A0apply(json= -read-array nil)
=A0=A0(if (functionp (car record)) (apply (car record) (cdr record)) (= signal (quote json-readtable-error) record))
=A0=A0(let ((record = ...)) (if (functionp ...) (apply ... ...) (signal ... record)))
= =A0=A0(if (not (eq char :json-eof)) (let (...) (if ... ... ...)) (signal (q= uote end-of-file) nil))
=A0=A0(let ((char ...)) (if (not ...) (let ... ...) (signal ... nil)))=
=A0=A0json-read()
=A0=A0notmuch-query-get-threads((&qu= ot;'" "thread:00000000000193d0" "and (" "= tag:inbox and not tag:spam and not tag:delete" ")'"))
=A0=A0notmuch-show("thread:00000000000193d0" #<buffer *no= tmuch-saved-search-inbox*> "tag:inbox and not tag:spam and not tag:= delete" "*F15 Feature - convert as man...")
=A0=A0= notmuch-search-show-thread()
=A0=A0call-interactively(notmuch-search-show-thread nil nil)


--
Scott Henson
--0016368319501e177a0497cf1827--