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: Mon, 30 Dec 2024 22:36:47 +0100

Ihor Radchenko <yantar92@posteo.net> writes:

>> We can detect the image type with `image-type':
>>
>>   (image-type "...-59b9176e65c9.svg") => svg
>
> Why do you think that the output file is always an image? It may not
> be. It can be anything.

I do not think that.  I specifically addressed the non-image case: the
file would retain the `out' extension.

But, we could be smart about other file types as well, if we use
e.g. `file', like `dired-show-file-type' does.

Rudy
-- 
"All of humanity's problems stem from man's inability to sit quietly in a room 
alone."
--- Blaise Pascal, Pensées, 1670

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



reply via email to

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