From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Hang on incomplete input Date: Wed, 30 Nov 2011 16:41:50 -0600 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C52E23B34@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVsqj-0002rU-Qz for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 17:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVsqi-0002S5-7w for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 17:41:57 -0500 Received: from shrimp.windlogics.com ([216.245.170.164]:25934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVsqi-0002RY-4q for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 17:41:56 -0500 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Apparently, org-mode Babel (or maybe Emacs, or ESS) will hang when given in= complete 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 di= d 'debug()' on a function that's now being called, or even just on long-run= ning calculations. Any chance evaluation could be done in a separate threa= d or something? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you.