[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] inline src blocks in caption of not-inline src blocks do not e
|
From: |
Ihor Radchenko |
|
Subject: |
Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute |
|
Date: |
Sat, 11 May 2024 07:49:49 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
>>> It was a slip when the patch was applied.
>>> May you please explain more about {{{results(=value=)}}} problem?
>>> Isn't it sufficient to do src_elisp[:results verbatim]{'value}
>>> {{{results(=value=)}}}?
>>
>> The issue is the opposite I think. Currently the default value (i.e. absent)
>> for :results does not produce {{{results(value)}}} as suggested, and instead
>> producers {{{results(=value=)}}}. ...
This is expected. The defaults for paragraph-level source blocks are the
same - to treat results as verbatim and quote them using fixed width
markup or example block.
> Thanks!
> In addition, the docstring of `org-babel-insert-result' says
>
> drawer -- results are added directly to the Org file as with
> "raw", but are wrapped in a RESULTS drawer or results
> macro, allowing them to later be replaced or removed
> automatically.
>
> But not in the manual:
>
> ‘drawer’
> Result wrapped in a ‘RESULTS’ drawer. Useful for containing ‘raw’
> or ‘org’ results for later scripting and automated processing.
> Usage example: ‘:results value drawer’.
For now, I updated the manual to reflect the reality.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4deb06ea0
:results drawer is still confusing for inline src blocks, but we have
what we have. I have no good ideas what can be done to improve the
situation.
Handled.
--
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>
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [BUG] inline src blocks in caption of not-inline src blocks do not execute,
Ihor Radchenko <=