emacs-orgmode
[Top][All Lists]
Advanced

[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, 15 Jul 2015 12:22:24 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I've just discovered that the slow-response is definitely related to font
locking.  If I type M-x font-lock-mode to toggle it off then the typing lag
problem is solved.

According to the Emacs documentation:
'In Emacs 21 and later, turning on font-lock-mode automatically activates
the new Just-In-Time fontification provided by jit-lock-mode.'

It would appear, therefore, that just-in-time fontification is not taking
place in the code block with the whole code block being fontified at once -
and hence the delay.

Any help to confirm this hypothesis and how to enable just-in-time
fontification in the code block would be appreciated.

Angus M




reply via email to

[Prev in Thread] Current Thread [Next in Thread]