From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gIA0NHQTbWe+vwAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 08:27:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gIA0NHQTbWe+vwAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 09:27:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b="zBg/Nime"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="S sO4jr7"; 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=1735201651; 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=ILfhSesShzJF3VEWwG+AK4G58A3mtv3x3hle7gND7BY=; b=qZ2KoXWYxXNZyJyH08H0SUZINozcNT+99kJ6WMvqLc8YtfVJclIzjf2lYETPRlfx98Ev/Y xTMornJamfdRchTLLCHk6yGYm6ygIvlR0SVLQovJAWDfU8z+oTaPyT0y2WmTmvgQGHp+jB V88KOqARG9Or91Cn3zehCeanZbbk3+bd8rYfcr34hYdB8UPc6a4F7S0fiSfwgozsC+nvT4 KF8zOh3kfUP9ShPIOCCF7Wuc27FjJ9tYkUu7zJr+Cd2E5aW7Ib1pc82gfSmQQ9sqLvKiG3 1ObOFnNePrC5iW/1t2ODCsGu3k789SPghXsg4YdQLNt1LVtz/14X3lEFSnLbLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm3 header.b="zBg/Nime"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="S sO4jr7"; 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=1735201651; a=rsa-sha256; cv=none; b=cZLNUWzTyPggfzENOmlfctQLJlsNBfmdJH3rarcK65oCLKljdA5L3xYB9R2wJEovDIaSlk n+pLOiTtlGUypfKlEz4gXWP0K0N7qJ5GN1pgCMkh4j2N8jCsFx4qWN2zNN8looukDtHw6Y qz0R4d2NJPeZ5XQ7NkllubranUaMyEdpIrpJ+lIWBq7RosumSmTEWnobLWwdaNDiQHmobJ gl0J4zs6w5DgW88KV2jETSbAeB0rxsTYtnhjvob78P1IlUMFGAPY0mlUElDPBzwV56C/zA l1BDvwLhkGFGqXB3SxtEVjtSgCOAp5Agg+iI5kUtjymQfo42vYi1CzF7Ip2orQ== 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 C31C120F9E for ; Thu, 26 Dec 2024 09:27:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQjCr-0008Mm-Tk; Thu, 26 Dec 2024 03:26:58 -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 1tQjCZ-0008Ac-9B for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 03:26:40 -0500 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQjCX-0000wd-6v for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 03:26:39 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id 78A8C11400F5; Thu, 26 Dec 2024 03:26:35 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Thu, 26 Dec 2024 03:26:35 -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=1735201595; x=1735287995; bh=ILfhSesShzJF3VEWwG+AK4G58A3mtv3x 3hle7gND7BY=; b=zBg/NimePZXvok+Hdg5X15PTbbKsw4oBZEQQ9GqAygWu501f MkLyBh/M0ZiyQi/WNLWLWPqY/6wDsM71lEcLxYukV0maaaSsVC82w2DYevo1Ktgz IjhrmV6ER+suJgxll9XGcGls5hKBSB0id3YxoTQliVLwHEevR19evhdNBIL+Kvc1 N/a8hrDe4Mq0qyvxRpGSWWOm2DPK1pUbmHseABz1umAwbc/mifhxH8pxRzQCs4FS jLmVEjPhLXBnrTM+ZY2I062Idv8++tHVQ/ZDMbd+gYSISB7AttUOeutvSj/VCOt2 z+v2I+dTq227NzjQj88E2SmDrDnEiN+RZ+QxWw== 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=1735201595; x= 1735287995; bh=ILfhSesShzJF3VEWwG+AK4G58A3mtv3x3hle7gND7BY=; b=S sO4jr7YKbrLH6yq0NzdZ2sK7uUF4eFE/t6maekJShUo+Ulb10FPf+7nZZl+LFgt+ pQoM7hjugV0R5mlzIzYkEKDBIf+AqgRAGh56Vw7P69SVkQ5goeaBzZxruV/1iBQZ 41y6vFmBYNZE4OrO8DboLGDyx2IovhG5oKK9Bw34BVOEGw4p2Avd4j/Rh94MaTOv a+1/+6NaWSVbiEWEsJklDhvl8T0DyhpuH/DC9QvRa2jWRc4S2Xt06ygpeqxqm9J2 SNFEj3CKDwjU/A1fiq8w9fvXkA+kSLaWjhjAommA9BGNqy49imxjgxby5nlXsb60 aJPmdzV7Epb9ZcgptkBJg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddujedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvve fujghffffkgggtgfesthhqredttddtjeenucfhrhhomheptfhuugholhhfucetuggrmhhk ohhvihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtth gvrhhnpeeiueetheffudfghfeggeevheevvddtkefflefhueeludfgtefgffeltdfhudej geenucffohhmrghinheprggurghmkhhovhhitgdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhguohhlfhesrggurghmkhhovhhi tgdrohhrghdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopeihrghn thgrrhelvdesphhoshhtvghordhnvghtpdhrtghpthhtoheprghithgvnhgrthgvsehouh htlhhoohhkrdgtohhm X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Dec 2024 03:26:34 -0500 (EST) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Aitenate , Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Generating the filename from name and file-ext for blocks with side-effects In-Reply-To: References: <874j2rzso6.fsf@localhost> Date: Thu, 26 Dec 2024 09:26:31 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=202.12.124.148; envelope-from=rudolf@adamkovic.org; helo=fout-b5-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: mx12.migadu.com X-Migadu-Spam-Score: -7.01 X-Spam-Score: -7.01 X-Migadu-Queue-Id: C31C120F9E X-TUID: DVBmDrFDmeSe Ihor Radchenko writes: > Seems right, but I do not understand why you would need such thing. Aitenate writes: > The aim is to not need to define a filename for each image, to minimise=20 > 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 --=20 "I would prefer an intelligent hell to a stupid paradise." --- Blaise Pascal Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org