[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Generating the filename from name and file-ext for blocks with side-effe
From: |
Aitenate |
Subject: |
Generating the filename from name and file-ext for blocks with side-effects |
Date: |
Mon, 23 Dec 2024 21:58:45 +0000 |
User-agent: |
Mozilla Thunderbird |
With ~:results file~, the absence of ~:file~ will cause the filename to
be constructed from the block name and ~:file-ext~, if they are both
present. To achieve that with ~:results file link~, I could only come up
with
~:var outFile=(alist-get :file (nth 2 (org-babel-get-src-block-info
't)))~
Have I missed something obvious? Is there a better way to do this?
If there isn't, would it be acceptable to add something like
`org-babel-get-src-block-param-value' or maybe more specific like
`org-babel-get-src-block-results-file-name'?
Regards,
Aitenate
- Generating the filename from name and file-ext for blocks with side-effects,
Aitenate <=
- Re: Generating the filename from name and file-ext for blocks with side-effects, Ihor Radchenko, 2024/12/25
- Re: Generating the filename from name and file-ext for blocks with side-effects, Aitenate, 2024/12/25
- Re: Generating the filename from name and file-ext for blocks with side-effects, Rudolf Adamkovič, 2024/12/26
- Re: Generating the filename from name and file-ext for blocks with side-effects, Ihor Radchenko, 2024/12/26
- Re: Generating the filename from name and file-ext for blocks with side-effects, Rudolf Adamkovič, 2024/12/27
- Re: Generating the filename from name and file-ext for blocks with side-effects, Ihor Radchenko, 2024/12/27
- Re: Generating the filename from name and file-ext for blocks with side-effects, Rudolf Adamkovič, 2024/12/30
- Re: Generating the filename from name and file-ext for blocks with side-effects, Ihor Radchenko, 2024/12/31
- Re: Generating the filename from name and file-ext for blocks with side-effects, Ihor Radchenko, 2024/12/26