[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generating the filename from name and file-ext for blocks with side-
From: |
Ihor Radchenko |
Subject: |
Re: Generating the filename from name and file-ext for blocks with side-effects |
Date: |
Thu, 26 Dec 2024 09:29:22 +0000 |
Rudolf Adamkovič <rudolf@adamkovic.org> writes:
>> The aim is to not need to define a filename for each image, to minimise
>> the boilerplate.
>
> +1 This should be built into Org and enabled by default.
>
> I currently generate image names with a custom snippet, but it gets
> trying and should not be necessary in the first place.
Do you want to create a patch providing this functionality?
> Instead, Org should generate a unique file name automatically, similar
> to how tangle ':comments' work, and use that as the default value for
> the ':file` argument, getting rid of the dreaded error message
>
> org-babel-execute:LANG: You need to specify a :file parameter
Do you want to extend `org-babel-generate-file-param' to return
something even when src block is not named and :file-ext is not given?
But how will you know the desired extension?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
- Generating the filename from name and file-ext for blocks with side-effects, Aitenate, 2024/12/23
- 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 <=
- 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