unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Emacs client scalability for long, deeply-nested threads
@ 2015-03-23 18:09 Jed Brown
  2015-03-23 19:59 ` Michael Hudson-Doyle
  0 siblings, 1 reply; 5+ messages in thread
From: Jed Brown @ 2015-03-23 18:09 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

I occasionally end up with threads containing several hundred messages
and deep nesting.  Eventually, displaying them exceeds the default
max-specpdl-size and later max-lisp-eval-depth.  These variables can be
increased, but the time required to display the thread stretches to
minutes.  Does anyone have suggestions for improving performance in such
scenarios?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs client scalability for long, deeply-nested threads
  2015-03-23 18:09 Emacs client scalability for long, deeply-nested threads Jed Brown
@ 2015-03-23 19:59 ` Michael Hudson-Doyle
  2015-03-23 23:26   ` Jed Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Hudson-Doyle @ 2015-03-23 19:59 UTC (permalink / raw)
  To: Jed Brown; +Cc: notmuch

I have encountered this too.  A C-u before entering the thread helps
(this means already read messages are not rendered I think), as does a
M-x notmuch-show-toggle-thread-indentation .  Something less manual
would be nice, I guess...

On 24 March 2015 at 07:09, Jed Brown <jed@59a2.org> wrote:
> I occasionally end up with threads containing several hundred messages
> and deep nesting.  Eventually, displaying them exceeds the default
> max-specpdl-size and later max-lisp-eval-depth.  These variables can be
> increased, but the time required to display the thread stretches to
> minutes.  Does anyone have suggestions for improving performance in such
> scenarios?
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs client scalability for long, deeply-nested threads
  2015-03-23 19:59 ` Michael Hudson-Doyle
@ 2015-03-23 23:26   ` Jed Brown
  2015-03-24 19:43     ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Jed Brown @ 2015-03-23 23:26 UTC (permalink / raw)
  To: Michael Hudson-Doyle; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

Michael Hudson-Doyle <michael.hudson@canonical.com> writes:

> I have encountered this too.  A C-u before entering the thread helps
> (this means already read messages are not rendered I think), as does a
> M-x notmuch-show-toggle-thread-indentation .  

Thanks, Michael.  This does help, though it makes it hard to interpret
context.  I'd love a solution that does not degrade utility so
drastically.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs client scalability for long, deeply-nested threads
  2015-03-23 23:26   ` Jed Brown
@ 2015-03-24 19:43     ` David Bremner
  2015-03-24 20:12       ` Jed Brown
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2015-03-24 19:43 UTC (permalink / raw)
  To: Jed Brown, Michael Hudson-Doyle; +Cc: notmuch

Jed Brown <jed@59a2.org> writes:

> Michael Hudson-Doyle <michael.hudson@canonical.com> writes:
>
>> I have encountered this too.  A C-u before entering the thread helps
>> (this means already read messages are not rendered I think), as does a
>> M-x notmuch-show-toggle-thread-indentation .  
>
> Thanks, Michael.  This does help, though it makes it hard to interpret
> context.  I'd love a solution that does not degrade utility so
> drastically.

How is the performance of tree-view on these threads?

d

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs client scalability for long, deeply-nested threads
  2015-03-24 19:43     ` David Bremner
@ 2015-03-24 20:12       ` Jed Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Jed Brown @ 2015-03-24 20:12 UTC (permalink / raw)
  To: David Bremner, Michael Hudson-Doyle; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

David Bremner <david@tethera.net> writes:

> How is the performance of tree-view on these threads?

tree-view?  Loading is about equally slow with/without
notmuch-show-indent-messages-width=0.  Navigation is pretty fast once
loaded.  "notmuch show --format=sexp" for an 1100 message thread with
7.5 MB of non-attachment takes 0.5 seconds.  This thread is much too big
to display in a normal Emacs buffer, though I can see specific messages
fast using C-u (notmuch-search-show-thread ELIDE-TOGGLE).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-24 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 18:09 Emacs client scalability for long, deeply-nested threads Jed Brown
2015-03-23 19:59 ` Michael Hudson-Doyle
2015-03-23 23:26   ` Jed Brown
2015-03-24 19:43     ` David Bremner
2015-03-24 20:12       ` Jed Brown

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).