João Pedro <jpedrodeamo...@gmail.com> writes:

>>    Something that handles tangle-params and result-params,
>
> 1. So the idea is to continue parsing multi-option header arguments into
>    their separate components, but have a common place to, after parsing
>    it into their components, handle them all in a single place? I mean,
>    what does "handle" mean in this context?

>From my point of view, we need some API function to retrieve header
argument values. Instead of the current approach with

  (result-params (cdr (assq :result-params params)))

we need something like

  (org-babel-get-header-arg :results params) ; get parsed parameter
  (org-babel-get-header-arg :results params 'raw) ; get raw parameter

Then, babel backends will not need to know the internal details about
:results parameter being represented in its two forms stored as :results
and as :result-params.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to