emacs-orgmode
[Top][All Lists]
Advanced

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

Re: How is the return value of `org-babel-execute:FOO` interpreted?


From: Ihor Radchenko
Subject: Re: How is the return value of `org-babel-execute:FOO` interpreted?
Date: Sun, 03 Oct 2021 21:09:34 +0800

Kodi Arfer <listu@arfer.net> writes:

> It works, thank you. I should've looked at the changelog more closely. I 
> wonder why this change was made. It would be annoyingly redundant to put 
> `:results file` next to every `:file`. I already have code to change the 
> default value of `:results` when `:file` is set, for a different Babel 
> language, so I should be able to adapt that to this language.

There are tools like subtree-local headers args or default headers args
at your disposal.

The argument why that change was made is the following (commit 26ed66b23):

>> Deducing the results from some other arguments is not obvious.
>> Moreover, it prevents users from setting, e.g., :file-ext, in a node
>> property, as every block would then create a file.
>> 
>> Reported-by: Alex Fenton <alex@pressure.to>
>> <http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00469.html>

Best,
Ihor



reply via email to

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