emacs slow with large threads
Emilio Francesquini
francesquini at gmail.com
Tue Jan 22 10:35:16 PST 2019
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 change alone
accounted only for a marginal improvement in performance. I restored my
old .emacs from git and realized that the real culprit was fci-mode (
fill-column-indicator package) *even if it was not enabled on the
message buffer*. Removing the package did the trick. For a thread with
~70 messages it took ~20 seconds against less than 1 without the package.
On Tue, Jan 22 2019, Brian Sniffen wrote:
> 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 <francesquini at gmail.com> wrote:
>>
>> 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 helps.
>>
>>> On Mon, Jan 21, 2019 at 9:07 AM Dan Čermák <dan.cermak at posteo.net> wrote:
>>> "Landry, Walter" <wlandry at caltech.edu> writes:
>>>
>>> > Dan Čermák <dan.cermak at posteo.net> 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 individual messages.
>>> >
>>> > Tree view works well [1]. Everything is fast, and I kind of prefer that
>>> > view anyway.
>>> >
>>> > Thanks,
>>> > Walter Landry
>>> >
>>> > [1] I have been using notmuch for almost a year, and I did not realize
>>> > that there is a separate tree view.
>>>
>>> I have been using notmuch for about two years and iirc didn't realize
>>> tree view existed until about half a year ago. Should really have read
>>> the manual and all the key bindings at first.
>>>
>>> > _______________________________________________
>>> > notmuch mailing list
>>> > notmuch at notmuchmail.org
>>> > https://notmuchmail.org/mailman/listinfo/notmuch
>>> _______________________________________________
>>> notmuch mailing list
>>> notmuch at notmuchmail.org
>>> https://notmuchmail.org/mailman/listinfo/notmuch
>> _______________________________________________
>> notmuch mailing list
>> notmuch at notmuchmail.org
>> https://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list