Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Neil Best
On Fri, Nov 30, 2012 at 1:22 PM, Michael Albinus wrote: > Neil Best writes: > >> tramp-version >> "2.2.3-24.1" >> >> emacs-version >> "24.2.1" >> >> Looks like I should upgrade tramp. I will look into that. > > Emacs 2

Re: [O] remote execution in heterogeneous environment

2012-11-30 Thread Neil Best
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

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
On Thu, Nov 29, 2012 at 1:25 PM, Nick Dokos wrote: > >> But your earlier mail says that it is trying to create the temp file on the >> remote >> >> , >> | > Tramp: Decoding region into remote file >> | > >> /ssh:midway:/var/folders/2y/qrw3hhkx0dlb9sbl51mjy5wmgn/T/sh-510999vN...done >> |

Re: [O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
On Thu, Nov 29, 2012 at 11:16 AM, Nick Dokos wrote: > It looks as if you are creating temp files under /var/folders/2y on the > remote: are you sure that a) the structure exists and b) permissions are > set correctly? > > Do you have the /var/folders/2y structure on the local host or only on > th

[O] remote execution in heterogeneous environment

2012-11-29 Thread Neil Best
I run Macport's Emacs and ELPA's Org on my Mac but my data lives in a Red Hat environment. I thought I could edit locally and compute remotely but there seems to be a problem with temp files for executing source blocks. #+BEGIN_SRC sh :dir /midway:~ echo "Executed by `whoami` on `hostname` in `pw

Re: [O] source code disappears

2012-11-16 Thread Neil Best
When I switch to the ELPA version ( "Org-mode version 7.9.2 (7.9.2-82-g2aeb28-elpa @ . . . )") this misbehavior is corrected. HTH.

[O] source code disappears

2012-11-15 Thread Neil Best
Is anyone having trouble with source code disappearing when returning from the edit buffer? The #+BEGIN_SRC block is simply empty as far as I can tell, regardless of language. If I add some code to the block in the Org buffer before C-c ' then it also eats the contents. I am running Org-mode v

Re: [O] source code disappears

2012-11-15 Thread Neil Best
Is anyone having trouble with source code disappearing when returning from the edit buffer? The #+BEGIN_SRC block is simply empty as far as I can tell, regardless of language. If I add some code to the block in the Org buffer before C-c ' then it also eats the contents. I am running Org-mode v

Re: [O] source code disappears

2012-11-15 Thread Neil Best
When I switch to the ELPA version ( "Org-mode version 7.9.2 (7.9.2-82-g2aeb28-elpa @ . . . )") this misbehavior is corrected. HTH.

Re: [O] do sh source blocks ignore args? [7.8.09]

2012-04-26 Thread Neil Best
start emacs and try it again. Thanks for the sanity check. On Thu, Apr 26, 2012 at 1:59 PM, Eric Schulte wrote: > Neil Best writes: > >> Can sh source block take arguments?  I get nothing. >> >> #+NAME: test(foo="bar") >> #+BEGIN_SRC sh :session :results

[O] do sh source blocks ignore args? [7.8.09]

2012-04-26 Thread Neil Best
Can sh source block take arguments? I get nothing. #+NAME: test(foo="bar") #+BEGIN_SRC sh :session :results output verbatim replace echo "1. foo is $foo" echo "2. foo is ${foo}" #+END_SRC #+RESULTS: : 1. foo is : 2. foo is . . . but this is fine: #+NAME: test2 #+BEGIN_SRC sh :var foo="bar