Bug in emacs showing long threads

2010-12-20 Thread Darren McGuicken
On Sun, 19 Dec 2010 22:27:05 -0500, Scott Henson  
wrote:
> 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'"

Hi Scott, have you tried just bumping up the value of
max-lisp-eval-depth from its default value?  I'm not sure that gets at
the root of the problem but it should at least make the threads
viewable.

Try adding to your .emacs, something like:
   (setq max-lisp-eval-depth 1000)

-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: 



Re: Bug in emacs showing long threads

2010-12-20 Thread Darren McGuicken
On Sun, 19 Dec 2010 22:27:05 -0500, Scott Henson sc...@foolishpride.org wrote:
 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'

Hi Scott, have you tried just bumping up the value of
max-lisp-eval-depth from its default value?  I'm not sure that gets at
the root of the problem but it should at least make the threads
viewable.

Try adding to your .emacs, something like:
   (setq max-lisp-eval-depth 1000)



pgpAmlfC2xiAa.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Bug in emacs showing long threads

2010-12-19 Thread Scott Henson
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:000193d0" "and ("
"tag:inbox and not tag:spam and not tag:delete" ")'"))
  notmuch-show("thread:000193d0" # "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
-- next part --
An HTML attachment was scrubbed...
URL: 



Bug in emacs showing long threads

2010-12-19 Thread Scott Henson
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:000193d0 and (
tag:inbox and not tag:spam and not tag:delete )'))
  notmuch-show(thread:000193d0 #buffer
*notmuch-saved-search-inbox* 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
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch