From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EBq2JLQSc2eeJgEAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 21:37:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EBq2JLQSc2eeJgEAe85BDQ (envelope-from ) for ; Mon, 30 Dec 2024 22:37:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b=AHXrefaI; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="B 9Cvx34"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=adamkovic.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735594675; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EpFaGY/LHj2u0UXPaFqwBG7DLjq/ao/jfrPfIIan7qQ=; b=lQXGsqColXLKlPVkeR5U4t2rEvRNUTUbxcWpApq+5T2MICk7xweoNBs/UxqiezsnY2Mg4w D/6jSumEXvJe+s0bDlWigvFnOpdLzd8DaQzSbTUV+XJ7cx8QKc9CNueJFOnc0ZzGhytN+Q owbun9AUzdBAX/mfCg/1+kUPyr24vvQUu7sUoIfOOYgk/dxapT0BYH7qfSzNTwx9+R7Y00 lbg2q1HHWplldbtUyxJ3Xnp8EIKwb4gS2acQy8ZvgI77DvE7ZHUkr01m9SOymvLksZcH8w GsesaXfi4w3A1eelK6lF5VtoJJ2HY9NiqFtf7mTrveT+hjizknWceQl71uj9mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b=AHXrefaI; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="B 9Cvx34"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=adamkovic.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735594675; a=rsa-sha256; cv=none; b=qsFvdj/k/OH8mGZjxyGW9hI+DtLXKM836+4S1gwxOHdqt+uw12lRJqNIGSdgPeUndcdTGE wib9L5luyCHvWlyTadPFtafHXdVEBPCdhSXTXL4TKLyZ+/Eb92uhv+uFn0E6MxKab3/mPN tlu39TUgdUB4hP8aiFSuGt0M+IAOaxvFQoERTC+65Gq1kQ/ScXNNmuL7BT2MAKqZuWUQ44 J5kGtXXuvfpvqumyYVbUkEvOyd6kTVwnVr/pnoLV9uC1VFA8Z18FyOAweVntz0jHG4kIgV artzFGpHH3Tbf//4dATJvuoNyuC+t8Wb4FZd50liWaCgCnPA24xGRpH6WmqKDA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D4B3043ED0 for ; Mon, 30 Dec 2024 22:37:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSNRW-0006eM-6M; Mon, 30 Dec 2024 16:36:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSNRU-0006dy-8n for emacs-orgmode@gnu.org; Mon, 30 Dec 2024 16:36:52 -0500 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSNRS-0007sW-Hj for emacs-orgmode@gnu.org; Mon, 30 Dec 2024 16:36:52 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 7261B13801FF; Mon, 30 Dec 2024 16:36:49 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 30 Dec 2024 16:36:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1735594609; x=1735681009; bh=EpFaGY/LHj2u0UXPaFqwBG7DLjq/ao/j frPfIIan7qQ=; b=AHXrefaIpLKzkCIM3ulES0rRQ/k7GsmEQRKSWCNc4r5X7TsP JC6oK196v/OaKiODUMeJAA6yJq/0I0gEqP6LQ2iJjbHbLPCOU/QQQ3Do6zM1jSi7 qHddo0cuk0mUXXUWjSNAaUHNrGt4Qd9TrwcLhG4shDgqd/mJJZFDQzqivdSbDx8s 6AhgFr2IwVnFHhhiKCIs+9ophCrwedABHczbxvrxDlmj9e6oFtYs7Nr/CJgX0s7Z RhVKsmVACFycr6N9hQt/8Qv5rDvv5UmaEiwYcFOpjFe+EiQIMsTEqsOzyfYPvt66 vK6jycLeu9NzosEWRGMqyITz+nuaxUh5onnLdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735594609; x= 1735681009; bh=EpFaGY/LHj2u0UXPaFqwBG7DLjq/ao/jfrPfIIan7qQ=; b=B 9Cvx34s5TkVtXEtq5O8d//sLS9Bsm9uwkmtv87ikjT2IDNDjf0KS1ETB3cBpkaZ4 sne7BYnT1Wy54w0gODrzFx9yAi43TDH9ewoEoILtPYt4ZRO4s28RXJP1/dWaRXwG D9cle/owZpHFyDrRIGWMwHrdFUTURAYEQOx0G/rTJglxhnjXlokuDrNKew7TL7th ivOQ1WNym28N0RaorOCD7gDQj0Rm6zCXnDCpFRm2XUUgGYfWxc770H4nrIV2rfG5 RNlPJZQHWV4VfTpv2nH2yckt1MlJyzMBqdY1/ULSAu4EdCMtTNFnW/LHaH02wXrT XoPTGPAcwuvIiYpS09oNw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddviedgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvve fujghffffkgggtgfesthhqredttddtjeenucfhrhhomheptfhuugholhhfucetuggrmhhk ohhvihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtth gvrhhnpeeiueetheffudfghfeggeevheevvddtkefflefhueeludfgtefgffeltdfhudej geenucffohhmrghinheprggurghmkhhovhhitgdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhguohhlfhesrggurghmkhhovhhi tgdrohhrghdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopegrihht vghnrghtvgesohhuthhlohhokhdrtghomhdprhgtphhtthhopeihrghnthgrrhelvdesph hoshhtvghordhnvght X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Dec 2024 16:36:48 -0500 (EST) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: Aitenate , emacs-orgmode@gnu.org Subject: Re: Generating the filename from name and file-ext for blocks with side-effects In-Reply-To: <87jzbl5ioe.fsf@localhost> References: <874j2rzso6.fsf@localhost> <87a5ciyeq5.fsf@localhost> <87jzbl5ioe.fsf@localhost> Date: Mon, 30 Dec 2024 22:36:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.147; envelope-from=rudolf@adamkovic.org; helo=fout-a4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.32 X-Spam-Score: -7.32 X-Migadu-Queue-Id: D4B3043ED0 X-TUID: pEbWusDMhIPg Ihor Radchenko writes: >> We can detect the image type with `image-type': >> >> (image-type "...-59b9176e65c9.svg") =3D> 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 --=20 "All of humanity's problems stem from man's inability to sit quietly in a r= oom alone." --- Blaise Pascal, Pens=C3=A9es, 1670 Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org