Michael, I can't send you the whole Android file. I can send you the parts of interest ...
-*- coding: utf-8; -*- #+TITLE: #+EMAIL: [email protected] #+DATE: $Date: 2018/07/05 18:56:22 $ $Revision: 1.1079 $ ##+STARTUP: indent #+LANGUAGE: en #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t *:t TeX:t LaTeX:nil skip:t author:nil tags:nil timestamp:nil title:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+BEGIN_SRC bash :results output . ~/.bash_profile; cid && rcloneBackup 2>&1; #+END_SRC Obviously, anything could be in the org babel script, because it either runs or it doesn't. So, there isn't a lot of value in what I have sent here. The critical issue is that Termux does not allow write access to /tmp on the android device. So, you have to use some other path for that. I use the "home" directory in Termux via: > set-variable org-babel-remote-temporary-directory > "/data/data/com.termux/files/home/" Thanks! --- Matt On Thu, Jul 5, 2018 at 12:05 PM Michael Albinus <[email protected]> wrote: > Matt Mello <[email protected]> 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. >
_______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
