From: Angus M <anguscmelville@gmail.com>
To: emacs-orgmode@gnu.org
Subject: long code blocks making Org Mode very slow
Date: Tue, 14 Jul 2015 18:15:39 +0000 (UTC) [thread overview]
Message-ID: <loom.20150714T200131-993@post.gmane.org> (raw)
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
next reply other threads:[~2015-07-14 18:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 18:15 Angus M [this message]
2015-07-14 19:41 ` long code blocks making Org Mode very slow 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20150714T200131-993@post.gmane.org \
--to=anguscmelville@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).