From: Rafael <rvf0068@gmail.com>
To: Ken Williams <Ken.Williams@windlogics.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Hang on incomplete input
Date: Wed, 30 Nov 2011 17:12:23 -0600 [thread overview]
Message-ID: <87mxbdkxwo.fsf@gmail.com> (raw)
In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C52E23B34@spexch01.WindLogics.local> (Ken Williams's message of "Wed, 30 Nov 2011 16:41:50 -0600")
Ken Williams <Ken.Williams@windlogics.com> writes:
> Apparently, org-mode Babel (or maybe Emacs, or ESS) will hang when
> given incomplete input, like the following:
>
> #+begin_src R
> ddply(x,
> #+end_src
>
> I was just tearing my hair out trying to figure out why my code was
> hanging, because of course it's much longer and I didn't notice the
> missing paren.
>
> Is this replicable on other people's platforms too? I'm using GNU
> Emacs on Windows, with org-mode 7.7 and ESS 5.14.
>
> There are other situations where I really wish org-mode (or Emacs, or
> ESS) didn't freeze up while evaluating R code - for example if I
> accidentally did 'debug()' on a function that's now being called, or
> even just on long-running calculations. Any chance evaluation could
> be done in a separate thread or something?
In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error
Output* buffer, saying:
Error: unexpected '}' in:
"ddply(x,
}"
Execution halted
next prev parent reply other threads:[~2011-11-30 23:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-30 22:41 Hang on incomplete input Ken Williams
2011-11-30 23:12 ` Rafael [this message]
2011-12-01 15:04 ` Ken Williams
2011-12-01 15:21 ` Nick Dokos
2011-12-01 17:22 ` Ken Williams
2011-12-01 18:18 ` Nick Dokos
2011-12-01 19:03 ` Ken Williams
2011-12-01 19:41 ` Nick Dokos
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=87mxbdkxwo.fsf@gmail.com \
--to=rvf0068@gmail.com \
--cc=Ken.Williams@windlogics.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).