From mboxrd@z Thu Jan  1 00:00:00 1970
From: George Jones <eludom@gmail.com>
Subject: Re: remote execution in heterogeneous environment
Date: Thu, 20 Dec 2012 20:21:24 -0500
Message-ID: <CAOhM7yX16OPqOh6yj=MvXNZ_WGRJF+h2Jy=depA_50ggAPyKfA@mail.gmail.com>
References: <6D36E0F9-01D1-4F95-9FAA-B2B2CA10E57E@gmail.com>
	<87623zaj4j.fsf@gmx.de> <87hang279z.fsf@gmx.de>
	<87d2y4oeys.fsf@bzg.ath.cx>
Reply-To: gmj@pobox.com
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=f46d04428e1078986f04d152aa36
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:44229)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eludom@gmail.com>) id 1TlrIn-0006eS-5y
	for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 20:21:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eludom@gmail.com>) id 1TlrIj-0005pp-RT
	for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 20:21:29 -0500
Received: from mail-wg0-f48.google.com ([74.125.82.48]:48178)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eludom@gmail.com>) id 1TlrIj-0005pG-IT
	for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 20:21:25 -0500
Received: by mail-wg0-f48.google.com with SMTP id dt10so1806266wgb.3
	for <emacs-orgmode@gnu.org>; Thu, 20 Dec 2012 17:21:24 -0800 (PST)
In-Reply-To: <87d2y4oeys.fsf@bzg.ath.cx>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org, Michael Albinus <michael.albinus@gmx.de>

--f46d04428e1078986f04d152aa36
Content-Type: text/plain; charset=ISO-8859-1

Hi.  Patch seems to work.  Tested on fresh emacs-snapshot (24.3.50.1)
install on ubuntu with org-mode freshly pulled from git (7.9.2).

#+NAME: hobbits
| bilbo | frodo |

#+name: execOnExample.com
#+BEGIN_SRC sh :var foo=hobbits  :dir /gmj@example.com: :results output
hostname

echo executed on `hostname` at `date`

echo two $foo

#+END_SRC

Similar procedure on a mac still yeilds:

FYI/Thanks,
---George Jones

Couldn't write region to
`/scpc:gmj@example.com:/var/folders/j6/j6w17khs3vl9s2_yg4rb5zsm0000gn/T/input-61683xyS',
decode using `mimencode -u -b >%s' f\
ailed

On Thu, Dec 20, 2012 at 11:39 AM, Bastien <bzg@altern.org> wrote:

> Hi Michael,
>
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> > The following patch I've committed to Emacs' trunk, it fixes the problem
> > as far as I could test. Maybe somebody from the org maintainers could
> > merge it into the org repository.
>
> I've already merged it in maint and master.
>
> Thanks a lot!
>

--f46d04428e1078986f04d152aa36
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra" styl=
e>Hi. =A0Patch seems to work. =A0Tested on fresh emacs-snapshot (24.3.50.1)=
 install on ubuntu with org-mode freshly pulled from git (7.9.2).</div><div=
 class=3D"gmail_extra" style>
<br></div><div class=3D"gmail_extra" style><div class=3D"gmail_extra">#+NAM=
E: hobbits</div><div class=3D"gmail_extra">| bilbo | frodo |</div><div clas=
s=3D"gmail_extra"><br></div><div><div>#+name: execOnExample.com</div><div>#=
+BEGIN_SRC sh :var foo=3Dhobbits =A0:dir /<a href=3D"mailto:gmj@example.com=
">gmj@example.com</a>: :results output</div>
<div>hostname =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0</div><div>echo executed on `hostname` at `date` =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</div>
<div>echo two $foo =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</di=
v><div>#+END_SRC</div></div><div><br></div><div style>Similar procedure on =
a mac still yeilds:</div>
<div style><br></div><div style>FYI/Thanks,</div><div style>---George Jones=
</div></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"=
>Couldn&#39;t write region to `/scpc:gmj@example.com:/var/folders/j6/j6w17k=
hs3vl9s2_yg4rb5zsm0000gn/T/input-61683xyS&#39;, decode using `mimencode -u =
-b &gt;%s&#39; f\</div>
<div class=3D"gmail_extra">ailed</div><br><div class=3D"gmail_quote">On Thu=
, Dec 20, 2012 at 11:39 AM, Bastien <span dir=3D"ltr">&lt;<a href=3D"mailto=
:bzg@altern.org" target=3D"_blank">bzg@altern.org</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div id=3D":2ji">Hi Michael,<br>
<div class=3D"im"><br>
Michael Albinus &lt;<a href=3D"mailto:michael.albinus@gmx.de">michael.albin=
us@gmx.de</a>&gt; writes:<br>
<br>
&gt; The following patch I&#39;ve committed to Emacs&#39; trunk, it fixes t=
he problem<br>
&gt; as far as I could test. Maybe somebody from the org maintainers could<=
br>
&gt; merge it into the org repository.<br>
<br>
</div>I&#39;ve already merged it in maint and master.<br>
<br>
Thanks a lot!<div class=3D""><div id=3D":2kg" class=3D"" tabindex=3D"0"><im=
g class=3D"" src=3D"images/cleardot.gif"></div></div><div class=3D""></div>=
</div></blockquote></div><br></div></div>

--f46d04428e1078986f04d152aa36--