[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
- 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, 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č <=
- 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