From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: ob-R ignores ess-eval-visibly? Date: Wed, 9 Sep 2015 23:10:40 +0200 Message-ID: <8939495D-9F0E-4D6B-B077-29224D7C66E0@gmail.com> References: <87mvx2zm1g.fsf@tamas.ihs.ac.at> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmdl-0006ti-BU for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 17:10:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZmdh-0006gX-Ls for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 17:10:49 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:36947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmdh-0006gT-FH for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 17:10:45 -0400 Received: by wicfx3 with SMTP id fx3so1293187wic.0 for ; Wed, 09 Sep 2015 14:10:44 -0700 (PDT) In-Reply-To: <87mvx2zm1g.fsf@tamas.ihs.ac.at> 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: Tamas Papp Cc: "emacs-orgmode@gnu.org" Envoy=C3=A9 de mon iPhone > Le 4 sept. 2015 =C3=A0 09:22, Tamas Papp a =C3=A9crit := >=20 > Hi, >=20 > I prefer ESS not to wait for results of evaluating R code, especially if > it takes a longer time (eg estimating a model in RStan, 1-2 minutes), so > I have >=20 > (setq ess-eval-visibly 'nowait) >=20 > But I find that ob-R ignores this, eg evaluating >=20 > #+BEGIN_SRC R :results none > Sys.sleep(10) > #+END_SRC >=20 > I looked at the source and I think I understand why this is: the results > need to be inserted into the buffer. However, could there be an > exception for :results none, when they are not needed? Then I could put > code which takes a long time into these blocks, and they would not block > my Emacs. Easy solution: C-g will bring the focus back to emacs, but R will continue.=20= Rainer >=20 > Best, >=20 > Tamas >=20