Re: [O] long code blocks making Org Mode very slow

2015-07-22 Thread Grant Rettke
I will play around with it. I didn't try to do a ECM. Playing around with it tonight starting with open /Applications/Emacs.app --new --args -Q So using 8.2.10. Sometimes I can get a slow down when calling `next-line' repeatedly. I will play around with it and report if I get something reprodu

Re: [O] long code blocks making Org Mode very slow

2015-07-22 Thread Nick Dokos
Angus M writes: >> When I have the cursor inside of the code block for the code, moving >> up or done one line or one page takes 2-3 seconds. >> Grant Rettke >> -- > > Thanks for confirming that you also experience the slow-down. > > I think that the only way to remedy this is to modify the > 'or

Re: [O] long code blocks making Org Mode very slow

2015-07-22 Thread Angus M
> When I have the cursor inside of the code block for the code, moving > up or done one line or one page takes 2-3 seconds. > Grant Rettke > -- Thanks for confirming that you also experience the slow-down. I think that the only way to remedy this is to modify the 'org-src-font-lock-fontify-block'

Re: [O] long code blocks making Org Mode very slow

2015-07-21 Thread Grant Rettke
When I have the cursor inside of the code block for the code, moving up or done one line or one page takes 2-3 seconds. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a joke.” --Kay ((λ (x) (x x

Re: [O] long code blocks making Org Mode very slow

2015-07-21 Thread Angus M
> Post a Gist of your file so I can try it out. > > What is you value of `org-src-fontify-natively'? > Grant Rettke > -- > gcr wisdomandwonder.com | http://www.wisdomandwonder.com/ > “Wisdom begins in wonder.” --Socrates > “All creativity is an extended form of a joke.” --Kay > ((λ (x) (x x)) (λ

Re: [O] long code blocks making Org Mode very slow

2015-07-16 Thread Grant Rettke
Post a Gist of your file so I can try it out. What is you value of `org-src-fontify-natively'? Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a joke.” --Kay ((λ (x) (x x)) (λ (x) (x x))) “Life

Re: [O] long code blocks making Org Mode very slow

2015-07-15 Thread Angus M
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-T

Re: [O] long code blocks making Org Mode very slow

2015-07-14 Thread Angus M
Nick Dokos gmail.com> writes: Many thanks for your help Nick - see comments below > > I'm trying to run a long Python code block (~4000 lines) in org mode. The > > code is sandwiched between: > > #+begin_src python > > > > #+end_src > > > > It runs fine, but org mode becomes incredibly slow -

Re: [O] long code blocks making Org Mode very slow

2015-07-14 Thread Nick Dokos
Angus M writes: > I'm trying to run a long Python code block (~4000 lines) in org mode. The > code is sandwiched between: > #+begin_src python > > #+end_src > > It runs fine, but org mode becomes incredibly slow - when typing text there > is about a 10 second delay before the character appears

Re: [O] long code blocks making Org Mode very slow

2015-07-14 Thread Angus M
Sebastien Vauban writes: > > Angus M writes: > > I'm trying to run a long Python code block (~4000 lines) in org mode. The > > code is sandwiched between: > > #+begin_src python > > > > #+end_src > > > > It runs fine, but org mode becomes incredibly slow - when typing text there > > is about

Re: [O] long code blocks making Org Mode very slow

2015-07-14 Thread Sebastien Vauban
Angus M writes: > I'm trying to run a long Python code block (~4000 lines) in org mode. The > code is sandwiched between: > #+begin_src python > > #+end_src > > It runs fine, but org mode becomes incredibly slow - when typing text there > is about a 10 second delay before the character appears o

[O] long code blocks making Org Mode very slow

2015-07-14 Thread Angus M
I'm trying to run a long Python code block (~4000 lines) in org mode. The code is sandwiched between: #+begin_src python #+end_src It runs fine, but org mode becomes incredibly slow - when typing text there is about a 10 second delay before the character appears on the screen. If I reduce the n