Carsten Dominik <carsten.domi...@gmail.com> writes: > On 21.3.2011, at 18:06, Eric S Fraga wrote: > >> Hello again, >> >> going back to the original subject of this thread (although thanks all >> for your inputs on yasnippet ;-), I have started working on a new >> document and am finding the slowdown of navigation (next-line) very >> annoying. In this document, I have two gnuplot source blocks. >> Navigating through them, I get the following results from elp:
[...] >> From these timings, the font locking doesn't seem to be the issue but >> maybe the overlays are. However, commenting out the code that Sébastien >> Vauban indicated: >> >>> Maybe this is (partly?) due to the overlay I added: >>> >>> #+begin_src emacs-lisp >>> (overlay-put (make-overlay beg1 block-end) >>> 'face 'org-block-background)) >>> #+end_src >> >> (well, commenting out the whole condition that includes this code) makes >> no difference at all. > > Did you restart Emacs? Because if you just continued, all those > overlays are there already. I cannot remember. Sorry. >> So, I turned off =org-src-fontify-natively= and things are back to >> normal: next-line is as fast as previous-line. I can put up without the >> fontification so this is what I am doing now. >> >> However, as it's a pity to lose the native fontification, it would be >> nice to solve this problem in another way. Can anybody suggest any >> other thing to try? > > The problem with the multiple overlays that were created > during native fontification is now fixed. I would be interested > to know if this improves the situation. > > - Carsten > Thanks. I've re-enabled =org-src-fontify-natively= and will let you know how I get on! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.225.gbfdc9.dirty)