[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Re: org-src-fontify-natively makes things very, very slow
From: |
Ulf Stegemann |
Subject: |
[O] Re: org-src-fontify-natively makes things very, very slow |
Date: |
Tue, 22 Mar 2011 10:18:28 +0100 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Hi Sébastien, Eric,
I'm experiencing the same performance problems with recent org-mode. My
observations are ...
Sébastien Vauban <address@hidden> wrote:
> Eric S Fraga wrote:
>>
>> 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
>
> See http://patchwork.newartisans.com/patch/581/ for a full diff. You can see I
> only add *one* overlay: for the background face.
>
>> (well, commenting out the whole condition that includes this code) makes no
>> difference at all.
That's true. It does not make any difference performance-wise.
>> 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.
It's true that setting `org-src-fontify-natively' to nil boosts
performance but it's only half the story. Editing something inside
blocks also has a significant negative influence on display performance.
Removing things like `#+BEGIN_letter' / `#+END_letter' from the file
gets things back to normal for me.
Ulf
- [O] Re: org-src-fontify-natively makes things very, very slow, (continued)
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Eric S Fraga, 2011/03/19
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Le Wang, 2011/03/20
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Eric S Fraga, 2011/03/20
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Le Wang, 2011/03/20
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Eric Schulte, 2011/03/21
- Re: [O] Re: org-src-fontify-natively makes things very, very slow, Eric S Fraga, 2011/03/21
- [O] Re: org-src-fontify-natively makes things very, very slow, Sébastien Vauban, 2011/03/21
- [O] Re: org-src-fontify-natively makes things very, very slow,
Ulf Stegemann <=
- [O] Re: org-src-fontify-natively makes things very, very slow, Matt Lundin, 2011/03/29
- [O] Re: org-src-fontify-natively makes things very, very slow, Eric S Fraga, 2011/03/29
- [O] Re: org-src-fontify-natively makes things very, very slow, Sébastien Vauban, 2011/03/30
- [O] Re: org-src-fontify-natively makes things very, very slow, Matt Lundin, 2011/03/29
- [O] Re: org-src-fontify-natively makes things very, very slow, Eric S Fraga, 2011/03/29