[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot execute org babel shell script over tramp to remote termux (A
From: |
Michael Albinus |
Subject: |
Re: Cannot execute org babel shell script over tramp to remote termux (Android) due to tmpdir issues |
Date: |
Thu, 05 Jul 2018 21:05:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Matt Mello <address@hidden> writes:
Hi Matt,
> This worked:
>
> set-variable org-babel-remote-temporary-directory
> "/data/data/com.termux/files/home/"
>
> Since this is currently the only thing I do remotely, I can just
> hardcode this into my init script. Let's call it a workaround.
We have connection-local variables in Emacs 26.1. Likely, they could be
used for this special setting.
> However, it seems that this is actually a bug in org-babel.
> When running scripts remotely, org-babel should probably use the same
> logic that tramp does ... or else just let tramp do the calculations,
> like other parts of emacs do.
Interesting.
Would you like to send me your org-babel script (or the org file you
have on the Android device, respectively). Then I could do my own tests.
Your other emails I will check tomorrow, when I have more time.
> Thanks!
>
> --- Matt
Best regards, Michael.