[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: |
Sébastien Vauban |
Subject: |
[O] Re: org-src-fontify-natively makes things very, very slow |
Date: |
Wed, 30 Mar 2011 09:34:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Matt,
Matt Lundin wrote:
> Sébastien Vauban writes:
>>>> 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
>
> I believe there is a bug here. I'm not sure if it is related to the
> performance issues, but when org-src-fontify-natively is t, new overlays
> keep getting added to the source block with each keypress in the source
> block.
>
> For instance, just typing this line of perl...
>
> #+begin_src perl
> my @apples = ("golden delicious", "braeburn");
> #+end_src
>
> ...resulted in 54 identical overlays being added to the buffer.
>
> ,----[ M-x describe-text-properties
> | There are 54 overlays here:
> | From 39 to 88
> | face org-block-background
> | From 39 to 88
> | face org-block-background
> | From 39 to 88
> | face org-block-background
> | From 39 to 88
> | face org-block-background
> | ....[and so on]
> `----
I believe as well there is a problem!
> The number keeps growing with more typing, since make-overlay is called
> without a test to see if an overlay already exists.
Thanks (a lot) for your very enlightening analysis. I will try to get this
fixed in a couple of days.
Best regards,
Seb
--
Sébastien Vauban
- Re: [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, 2011/03/22
- [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 <=
- [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