emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bugs in org-babel-temp-stable-file


From: Ferdinand Pieper
Subject: Re: Possible bugs in org-babel-temp-stable-file
Date: Sun, 23 Oct 2022 13:27:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Ihor Radchenko <yantar92@posteo.net> writes:

> Fixed now.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=69e3a4db3d0c54b4165761f56523da4962eff74c

Seems good, thanks.

>> It could also be nice to add an extra argument to force the use of
>> the local org-babel-temporary-stable-directory for remote files.
>
> I am not sure if it is a good idea.
> On remote files, default-directory often points to the remote making
> `shell-command' and similar run code on remote machine. It may not work
> well with local temporary directory.

I think you are right. Something like this could only be relevant for local 
files which execute code on remote locations (e.g. babel via the :dir argument) 
and require remote temp files instead of local ones. But that seems like too 
much of an edge case to support. If necessary a user could easily solve it with 
a small wrapper, that sets default-directory accordingly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]