emacs-orgmode
[Top][All Lists]
Advanced

[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: Rudolf Adamkovič
Subject: Re: Generating the filename from name and file-ext for blocks with side-effects
Date: Thu, 26 Dec 2024 09:26:31 +0100

Ihor Radchenko <yantar92@posteo.net> writes:

> Seems right, but I do not understand why you would need such thing.

Aitenate <aitenate@outlook.com> 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.

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

Rudy
-- 
"I would prefer an intelligent hell to a stupid paradise."
--- Blaise Pascal

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org



reply via email to

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