[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-30 Thread Sébastien Vauban
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.

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-29 Thread Matt Lundin
Eric S Fraga e.fr...@ucl.ac.uk writes: yes, I used to use yasnippet a lot but I don't any longer. I am actually in confusion as to which completion mechanism to use in Emacs these days and am going a little crazy... :( I'm currently playing with auto-complete. Skeletons and abbrev-mode

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-29 Thread Matt Lundin
Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org 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 See

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-29 Thread Eric S Fraga
Matt Lundin m...@imapmail.org writes: [...] 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. I can verify this on my

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-29 Thread Eric S Fraga
Matt Lundin m...@imapmail.org writes: Eric S Fraga e.fr...@ucl.ac.uk writes: yes, I used to use yasnippet a lot but I don't any longer. I am actually in confusion as to which completion mechanism to use in Emacs these days and am going a little crazy... :( I'm currently playing with

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-22 Thread Ulf Stegemann
Hi Sébastien, Eric, I'm experiencing the same performance problems with recent org-mode. My observations are ... Sébastien Vauban wxhgmqzgw...@spammotel.com wrote: Eric S Fraga wrote: From these timings, the font locking doesn't seem to be the issue but maybe the overlays are. However,

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-21 Thread Eric Schulte
Le Wang l26w...@gmail.com writes: On Mon, Mar 21, 2011 at 3:41 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Le Wang l26w...@gmail.com writes: Why did you give up on yasnippet? Confusion amongst the key bindings, between org, yasnippet and the autocompletion tools I have been trying.  I want

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-21 Thread Eric S Fraga
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

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-21 Thread Sébastien Vauban
Hi Eric, Eric S Fraga wrote: 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

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-20 Thread Eric S Fraga
Le Wang l26w...@gmail.com writes: On Sun, Mar 20, 2011 at 4:34 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: yes, I used to use yasnippet a lot but I don't any longer.  I am actually in confusion as to which completion mechanism to use in Emacs these days and am going a little crazy... :(  I'm

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-20 Thread Le Wang
On Mon, Mar 21, 2011 at 3:41 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Le Wang l26w...@gmail.com writes: Why did you give up on yasnippet? Confusion amongst the key bindings, between org, yasnippet and the autocompletion tools I have been trying.  I want to be able to use TAB for

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-19 Thread Sébastien Vauban
Hi Eric, Eric S Fraga wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com 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 This

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-19 Thread suvayu ali
2011/3/19 Sébastien Vauban wxhgmqzgw...@spammotel.com: My solution, by the way, is to insert the #+end_src line immediately upon writing a #+begin_src line and then back up a line to start writing the code. My solution is even simpler: just use a yasnippet template, that prompts you for the

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-19 Thread Eric S Fraga
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric S Fraga wrote: [...] where there is no matching #+end_src or, more precisely, the next #+end_src line is one that does not belong to this current source block. Your search (in org.el) for the end of the block assumes that

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-19 Thread Eric S Fraga
suvayu ali fatkasuvayu+li...@gmail.com writes: 2011/3/19 Sébastien Vauban wxhgmqzgw...@spammotel.com: My solution, by the way, is to insert the #+end_src line immediately upon writing a #+begin_src line and then back up a line to start writing the code. My solution is even simpler: just

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-19 Thread Le Wang
On Sun, Mar 20, 2011 at 4:34 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: yes, I used to use yasnippet a lot but I don't any longer.  I am actually in confusion as to which completion mechanism to use in Emacs these days and am going a little crazy... :(  I'm currently playing with auto-complete.

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-18 Thread Eric S Fraga
Sébastien Vauban wxhgmqzgw...@spammotel.com 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 This could indeed be one

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-18 Thread Julian Burgos
Hi Eric, I have a small function to insert the opening and ending of an R code block bound to a key, so I always edit the code between a #+begin_src R and #+end_src R. I still get a considerable slowdown, even with an empty document with a single line of code. Julian On Fri, Mar 18, 2011 at

[O] Re: org-src-fontify-natively makes things very, very slow

2011-03-17 Thread Sébastien Vauban
Hi all, Eric S Fraga wrote: Julian Burgos jmbur...@uw.edu writes: I was very excited to discover org-src-fontify-natively, but I´m not having a good experience with it. When it is on, org-mode becomes very slow while typing into a code block. This happens regardless of the size of the file

Re: [O] Re: org-src-fontify-natively makes things very, very slow

2011-03-17 Thread Julian Burgos
When editing the block in native mode everything works fine. Closing the buffer (or even rebooting the computer) had no effect. I´ll keep this off until is fixed. It is though a great feature! 2011/3/17 Sébastien Vauban wxhgmqzgw...@spammotel.com: Hi all, Eric S Fraga wrote: Julian Burgos