From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OKg8JAAwbGc0gQEAqHPOHw:P1 (envelope-from ) for ; Wed, 25 Dec 2024 16:17:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OKg8JAAwbGc0gQEAqHPOHw (envelope-from ) for ; Wed, 25 Dec 2024 17:17:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V7zfRB6c; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735143424; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=meho3df8x/8sbHHo+siJ8gI8d9BQvDfvhkpCXv/Dgdo=; b=CrRE4ktw1vgSdwLErpgtfpqVzd4I18y/EAYeb84VkWNG7rUcKsNnaMmRh5PWrzyccPup+Y xTah/Qgl9HcvnwVDNuNknrVQVkpbXJIJtBEc6r062trgV9eqPR7/2Rt18iAMwNuXqpJ4zX AvB+3V9pbYvGLcumENkYZiNGG7msZIUp3+HqEmGgDF+teE5LlOmQpnlJrxuF/qWCFPV3fL iDhwinFYp0dLV7t4L3muTKMSgr4D3+VxJoSEWBxkIoUjad4d3cvXOBRC/0wmQCNSzK83v9 O+jSCbBHNT9v8hW+4vZDmc56/aqucdPQlDzaNk7PsFMs3a1DUXIzG2e93vrwNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V7zfRB6c; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735143424; a=rsa-sha256; cv=none; b=kZxcyaHjoJdp1BlJRHZmIk5eunEy1jEsRD27hULEajbRzhNi7cL2Flxhdv8gsVPL4zfV/m S4zbfecJB2nwGAJzDW/k5gdYyoO+iCTtj4a+X2lxlFJoixBK331PnRGqAS7tIi3H5VlCAe kVfdBdQ4PodW9D7DFxb1w2lUz7uE0jNF6/64y6J11KZaRNXEmT8gL1wYYFGpicGj6W/cqJ f6/f7Q2WwHYcWL5AV2cTQuBxR529NcgKE8+SUaVQ0B3NNlZ17JsbjZtzSl3Bhp6Gn6+slO 0C91Ujd2OvoGRkZECUPVYl0lNM9sMufAxjkZRiNQc3zvCZJ0eoOEU7Cy8gKv4A== 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 3EC548683F for ; Wed, 25 Dec 2024 17:17:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQTJr-0001cn-W8; Wed, 25 Dec 2024 10:29:08 -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 1tQTJq-0001cd-UG for emacs-orgmode@gnu.org; Wed, 25 Dec 2024 10:29:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQTJo-000822-D6 for emacs-orgmode@gnu.org; Wed, 25 Dec 2024 10:29:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1392A240101 for ; Wed, 25 Dec 2024 16:29:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735140543; bh=wRWSvVUS9JIq3hqxb1zZXAMce2phaTeTt6HlkxO5t+w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=V7zfRB6c/hQ16LQyWJ2594lVt+MvQ3e+7/7wdeDab1RsxKSdtJ/wpveqobua7qMd7 MuuyD2QsXXC5zTmYjrXkBVqJLHGxHnim8BdCfvmP5W8WZPeD8/M2evj1MFf6SNn78f m1WIYofW5VqnUikFYoz/nTCdmz9BNieU0JWHNKWQ1zma5+tXaYpWegY59oZBZTBBTA /lrqLm8blQj3qgTKlhPET87kywF61SOVBS5ziM+UpcNtzjXps8ApAljWpbhcYrYzmz ENZc9LbXlyNHlrSx3qKcv3CJafjQW1qURK3JShHdvWQj0yxzw/MTGPkY0KGWV1KO61 VU5CMwhRsJBoA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YJFzL49q6z6v0Q; Wed, 25 Dec 2024 16:29:02 +0100 (CET) From: Ihor Radchenko To: Aitenate Cc: emacs-orgmode@gnu.org Subject: Re: Generating the filename from name and file-ext for blocks with side-effects In-Reply-To: References: Date: Wed, 25 Dec 2024 15:30:33 +0000 Message-ID: <874j2rzso6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.78 X-Spam-Score: -8.78 X-Migadu-Queue-Id: 3EC548683F X-Migadu-Scanner: mx10.migadu.com X-TUID: ln7Zl2RIsLcV Aitenate writes: > With ~:results file~, the absence of ~:file~ will cause the filename to > be constructed from the block name and ~:file-ext~, if they are both > present. To achieve that with ~:results file link~, I could only come up > with > > ~:var outFile=(alist-get :file (nth 2 (org-babel-get-src-block-info > 't)))~ Seems right, but I do not understand why you would need such thing. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at