emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* long code blocks making Org Mode very slow
@ 2015-07-14 18:15 Angus M
  2015-07-14 19:41 ` Sebastien Vauban
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Angus M @ 2015-07-14 18:15 UTC (permalink / raw)
  To: emacs-orgmode

I'm trying to run a long Python code block (~4000 lines) in org mode.  The
code is sandwiched between:
#+begin_src python
<python code block>
#+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 number of lines of code in the block there is a noticeable
increase in speed.

I am not using line numbers, and the delay is not ameliorated by turning off
fontification.

If I add a semi-colon before #+begin_src, to comment it off (get rid of src
environment), then org mode returns to it's normal speed.

Do I just have to accept that long code blocks can't be entered into Org Mode?  

Any help would be appreciated.  I am running Org Mode (version 8.2.10) on
Windows 8.

Thanks

Angus M

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-07-22 23:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14 18:15 long code blocks making Org Mode very slow Angus M
2015-07-14 19:41 ` Sebastien Vauban
2015-07-14 21:06   ` Angus M
2015-07-14 21:44 ` Nick Dokos
2015-07-14 23:39   ` Angus M
2015-07-15 12:22 ` Angus M
2015-07-17  1:10   ` Grant Rettke
2015-07-21 11:09     ` Angus M
2015-07-22  1:20       ` Grant Rettke
2015-07-22 10:09         ` Angus M
2015-07-22 12:41           ` Nick Dokos
2015-07-22 23:09             ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).