From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Albinus Subject: Re: org mode R remote code evaluation Date: Tue, 24 Sep 2013 20:40:44 +0200 Message-ID: <878uymyser.fsf@gmx.de> References: <87d2ownbtv.fsf@hornfels.zedat.fu-berlin.de> <87r4ce2x8k.fsf@gmx.de> <87mwn22vy8.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOXXe-0005H8-AL for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 14:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOXXX-0007pk-2L for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 14:40:58 -0400 Received: from mout.gmx.net ([212.227.15.15]:63671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOXXW-0007pQ-PG for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 14:40:50 -0400 Received: from detlef.gmx.de ([91.41.128.254]) by mail.gmx.com (mrgmx001) with ESMTPS (Nemesis) id 0MaJPk-1V941Z1HT6-00Jnbr for ; Tue, 24 Sep 2013 20:40:49 +0200 In-Reply-To: (Alexander Vorobiev's message of "Tue, 24 Sep 2013 09:51:34 -0500") 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: Alexander Vorobiev Cc: Loris Bennett , emacs-orgmode , Johannes Rainer Alexander Vorobiev writes: > Hi Michael, Hi Alex, > Here it is. Thanks. I believe, the following patch shall cure it: --8<---------------cut here---------------start------------->8--- --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2735,8 +2735,12 @@ value of `temporary-file-directory' temporarily set to the value of `org-babel-temporary-directory'." (if (file-remote-p default-directory) (let ((prefix + ;; We cannot use `temporary-file-directory' as local part + ;; on the remote host, because it might be another OS + ;; there. So we assume "/tmp", which ought to exist on + ;; relevant architectures. (concat (file-remote-p default-directory) - (expand-file-name prefix temporary-file-directory)))) + (expand-file-name prefix "/tmp/")))) (make-temp-file prefix nil suffix)) (let ((temporary-file-directory (or (and (boundp 'org-babel-temporary-directory) --8<---------------cut here---------------end--------------->8--- Could you, please, test? > Thanks, > Alex Best regards, Michael.