[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] long code blocks making Org Mode very slow
From: |
Angus M |
Subject: |
Re: [O] long code blocks making Org Mode very slow |
Date: |
Wed, 22 Jul 2015 10:09:30 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> When I have the cursor inside of the code block for the code, moving
> up or done one line or one page takes 2-3 seconds.
> Grant Rettke
> --
Thanks for confirming that you also experience the slow-down.
I think that the only way to remedy this is to modify the
'org-src-font-lock-fontify-block' function in org-src.el to allow
just-in-time fontification, (rather than the current complete
re-fontification of the whole code block upon any changes).
Does anyone know of a list of 'nice-to-have' features that this could be
added to to allow possible development sometime in the future?
(Unfortunately I am new to eLisp, and so making such changes is currently
beyond my capabilities.)