[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/1] Add option to delay fontification of source blocks
From: |
Leo Okawa Ericson |
Subject: |
[PATCH 0/1] Add option to delay fontification of source blocks |
Date: |
Thu, 25 Mar 2021 18:19:40 +0100 |
Fontification of long code blocks can be very slow. The patch, which should be
in another other email, mitigates this by
adding an option to delay the fontification after the user has become idle by
using idle timers. This seems to be faster from my limited testing, but I'm not
sure if something will go horribly wrong because of the timers.
There is a trade-off in that there will be no syntax highlightinting when the
user is typing. I don't know how to keep existing fontification so it would be
great if somebody could share a solution to that.
I have signed the copyright papers so that shouldn't be a problem. This is my
first patch submission so any suggestions for improvement are welcome.
Leo Okawa Ericson (1):
org-src.el: Add option to delay fontification of source blocks
lisp/org-src.el | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
--
2.25.1