From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4M8tNuJWVmM2vAAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 11:12:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eFxKNuJWVmPZGAAA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 11:12:02 +0200 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 BDDC03FB80 for ; Mon, 24 Oct 2022 11:12:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omsEE-00014L-LT; Mon, 24 Oct 2022 03:50:34 -0400 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 1omsE0-0000zv-Rd for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 03:50:24 -0400 Received: from pie.tf ([5.45.99.52]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omsDx-0007jU-IA for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 03:50:20 -0400 Received: from dhcp-67.ims.uni-hannover.de ([130.75.57.67] helo=localhost) by pie.tf with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1omsDn-0001PM-2I; Mon, 24 Oct 2022 07:50:07 +0000 From: Ferdinand Pieper To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Possible bugs in org-babel-temp-stable-file References: <877d109d3k.fsf@ims.uni-hannover.de> <87bkqaizns.fsf@localhost> <87wn8xds64.fsf@ims.uni-hannover.de> <874jw0cn5c.fsf@localhost> <87r0yz7u9q.fsf_-_@pie.tf> <87ilkbqjbs.fsf@localhost> <87h6zu7pak.fsf@pie.tf> <875yg9rh9z.fsf@localhost> Date: Mon, 24 Oct 2022 09:49:57 +0200 In-Reply-To: <875yg9rh9z.fsf@localhost> (Ihor Radchenko's message of "Mon, 24 Oct 2022 04:12:56 +0000") Message-ID: <87r0yxek4a.fsf@ims.uni-hannover.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.45.99.52; envelope-from=fer@pie.tf; helo=pie.tf X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666602722; 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; bh=Ad0r64ZWAuYFPIeniYrFY1SbCICMFhh3UDN2i6uEwBM=; b=Er2Z5Nk3BbzXggwjAntLlqLltV6jFihwJXLGDjO+jo1YORwVYQDUT+qJ2Pxs68PYl9qDq7 rpXJu5vKEjkNlxL5HkKewSw2Hsa7HFv3Bw0IQu6PZAJ4DVV6ahgDWRDCTvJ7ovu505Tj4i aPF9wbmvlR3dfrVyf6l1rc5YO0Z5d8Hq8wj53Alwz/XfvNx63KcmI9xZCeQmjOJl/SOGTS vxNv+gVtf03c+jiI4fxwYJ70j6us4J6GaDqBpEjWM1/pa3oyfKVb89qnO95ygoJcuHES4P zPu2DmfXOzSg44VljrvDVMfaV9rS/mykZhw1dTnMnKqkIHl7lNquXO8LJazfUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666602722; a=rsa-sha256; cv=none; b=O36+zLMDB8xdFYJRmwPZRhKkmMpWzviC3aaNcz1mP/1umPc22YmT+8hzOJT3pmWZkA8SZs JJ1bMmJWRE1cWYEgrvaT2EpFK6c0jpRVYzUaZ/JV7ZZTwUbov86YmUqWLHovOVYwmvF16/ Re8cxxwY0qcWugVt1dV8MN5CvKy81rNIh/uyaybmONpxfGjFF8DxjvMg+1+xqABTmbtUYp pwH7Yx9QBvWZ+lODjRO0Xvfw/zAViDoY4lYeK4wn5YNS3kDoTUgS5pMUHwpoRLzQjv2HhT 1sfiqKMxqnNnE5NRM6KQTg+pqqzOHRfusyXxGsTNi9yo7oCAhnQmPDUqCAog9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: BDDC03FB80 X-Spam-Score: -1.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: FYQ/xLvYco7E Ihor Radchenko writes: > When you have :dir argument in a source block, default-directory is set > to :dir value during execution. This affects the location of temporary > files as well. Yes, but not for header argument evaluation (which I think is reasonable). An example of what I meant: --8<---------------cut here---------------start------------->8--- #+begin_src shell :dir /ssh:remote: :var file=(org-babel-temp-stable-file (org-babel-get-src-block-info t) "") echo hello world > $file #+end_src --8<---------------cut here---------------end--------------->8---