From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Best Subject: Re: remote execution in heterogeneous environment Date: Fri, 30 Nov 2012 12:02:41 -0600 Message-ID: References: <87mwxz7d8s.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeUvF-00060t-Bi for emacs-orgmode@gnu.org; Fri, 30 Nov 2012 13:02:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeUvE-0006PP-52 for emacs-orgmode@gnu.org; Fri, 30 Nov 2012 13:02:45 -0500 Received: from mailhost.anl.gov ([130.202.113.50]:52385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeUvE-0006PB-0X for emacs-orgmode@gnu.org; Fri, 30 Nov 2012 13:02:44 -0500 Received: from mailhost.anl.gov (mailhost.anl.gov [130.202.113.50]) by localhost.anl.gov (Postfix) with ESMTP id DBB75240 for ; Fri, 30 Nov 2012 12:02:42 -0600 (CST) Received: from zimbra.anl.gov (zimbra.anl.gov [130.202.101.12]) by mailhost.anl.gov (Postfix) with ESMTP id D3C776E for ; Fri, 30 Nov 2012 12:02:42 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.anl.gov (Postfix) with ESMTP id AFAFF12781 for ; Fri, 30 Nov 2012 12:02:42 -0600 (CST) Received: from zimbra.anl.gov ([127.0.0.1]) by localhost (zimbra.anl.gov [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KSUrlp83e7hb for ; Fri, 30 Nov 2012 12:02:42 -0600 (CST) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by zimbra.anl.gov (Postfix) with ESMTPSA id 819A51277C for ; Fri, 30 Nov 2012 12:02:42 -0600 (CST) Received: by mail-vb0-f49.google.com with SMTP id r6so8804010vbi.36 for ; Fri, 30 Nov 2012 10:02:41 -0800 (PST) In-Reply-To: <87mwxz7d8s.fsf@gmx.de> 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: Michael Albinus Cc: emacs-orgmode@gnu.org Thanks for taking a look, Michael. On Fri, Nov 30, 2012 at 1:37 AM, Michael Albinus wrote: > Neil Best writes: >> >> #+BEGIN_SRC sh :dir /midway:~ echo "Executed by `whoami` on `hostname` >> in `pwd`" #+END_SRC >> > > Which version of Tramp are you using? You find it by "C-h v tramp-version". > I remember a problem with remote temporary directories, fixed in Tramp 2.2.6. > tramp-version "2.2.3-24.1" emacs-version "24.2.1" Looks like I should upgrade tramp. I will look into that. I think if I restart emacs it will be upgraded to some minor, minor release, so maybe that took care of it already. Fat chance? > Btw, I don't use org. For local tests, what shall I apply in order to > execute the code in #+BEGIN_SRC ... #+END_SRC? I should mention that my source code block got mangled when I tried to post through Gmane. It should look like this: #+BEGIN_SRC sh :dir /midway:~ echo "Executed by `whoami` on `hostname` in `pwd`" #+END_SRC Just go into Org mode, move the point within the block, and hit C-c C-c.