Re: emacs slow with large threads

2019-01-22 Thread Emilio Francesquini
On Tue, Jan 22 2019, Emilio Francesquini wrote: > You are absolutely right. It does become buffer local. Yet setting it to > nil changes the behavior of new windows on notmuch-show-mode. I'm at a > loss why... :) Maybe because I set it inside my .emacs? I need to study > a bit more of elisp...

Re: emacs slow with large threads

2019-01-22 Thread Emilio Francesquini
You are absolutely right. It does become buffer local. Yet setting it to nil changes the behavior of new windows on notmuch-show-mode. I'm at a loss why... :) Maybe because I set it inside my .emacs? I need to study a bit more of elisp... Anyway, my previous message was actually incomplete. This c

Re: emacs slow with large threads

2019-01-22 Thread Brian Sniffen
I think that becomes buffer local when set. Are you sure it me a difference? -- Brian Sniffen > On Jan 21, 2019, at 7:39 AM, Emilio Francesquini > wrote: > > Hello there, > > I recently ran into the same (slowness) problem when viewing long threads. > After some profiling I found out that di

Re: emacs slow with large threads

2019-01-21 Thread Emilio Francesquini
Hello there, I recently ran into the same (slowness) problem when viewing long threads. After some profiling I found out that disabling indentation did the trick for me. In my case it went from unusable (>5 minutes) to ~3 seconds for large threads. (setq notmuch-show-indent-content nil) Hope it

Re: emacs slow with large threads

2019-01-21 Thread Dan Čermák
"Landry, Walter" writes: > Dan Čermák writes: > >> Hi Landry, >> >> I am afraid this is a common limitation of emacs: if you start opening >> large files (especially with long lines) it becomes very slow. >> >> A viable workaround is to open the offending thread in the tree view >> (bound to 'z'

Re: emacs slow with large threads

2019-01-19 Thread Landry, Walter
Dan Čermák writes: > Hi Landry, > > I am afraid this is a common limitation of emacs: if you start opening > large files (especially with long lines) it becomes very slow. > > A viable workaround is to open the offending thread in the tree view > (bound to 'z' by default) and then only view indiv

Re: emacs slow with large threads

2019-01-19 Thread Landry, Walter
David Edmondson writes: > Do things improve if you set notmuch-show-insert-text/plain-hook to nil? That helps a great deal! The key option to turn off is notmuch-wash-wrap-long-lines That makes it take only 10 seconds. That is livable, but not ideal. > Can you share the messages in the

Re: emacs slow with large threads

2019-01-19 Thread David Edmondson
On Saturday, 2019-01-19 at 00:03:18 +00, Landry, Walter wrote: > Hello Everyone, > > I am using the emacs frontend to notmuch. It has mostly been a pleasant > experience, but I am having a problem with large threads. Essentially, > when I try to view a large thread, the machine locks up for many

Re: emacs slow with large threads

2019-01-18 Thread Brian Sniffen
This is much worse than normal problems with large files or long lines. There’s something worse-than-quadratic in the nesting and indenting elisp. I’ve been meaning to get around to figuring out what, but no luck yet. -- Brian Sniffen > On Jan 18, 2019, at 7:03 PM, Landry, Walter wrote: > >

Re: emacs slow with large threads

2019-01-18 Thread Dan Čermák
Hi Landry, I am afraid this is a common limitation of emacs: if you start opening large files (especially with long lines) it becomes very slow. A viable workaround is to open the offending thread in the tree view (bound to 'z' by default) and then only view individual messages. Cheers, Dan "

emacs slow with large threads

2019-01-18 Thread Landry, Walter
Hello Everyone, I am using the emacs frontend to notmuch. It has mostly been a pleasant experience, but I am having a problem with large threads. Essentially, when I try to view a large thread, the machine locks up for many minutes. The problem seems very similar to these posts. https://notm