From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cOWsKqgTVmOocAAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 06:25:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sHaaKqgTVmO5DwEA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 06:25:12 +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 1A96F29D5B for ; Mon, 24 Oct 2022 06:25:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ommFb-0006GB-VV for larch@yhetil.org; Sun, 23 Oct 2022 21:27:35 -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 1omZ95-0002o6-90 for emacs-orgmode@gnu.org; Sun, 23 Oct 2022 07:28:00 -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 1omZ93-00048o-Ig for emacs-orgmode@gnu.org; Sun, 23 Oct 2022 07:27:59 -0400 Received: from i3ed6f389.versanet.de ([62.214.243.137] helo=localhost) by pie.tf with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1omZ8z-0001EE-D6; Sun, 23 Oct 2022 11:27:53 +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> Date: Sun, 23 Oct 2022 13:27:47 +0200 In-Reply-To: <87ilkbqjbs.fsf@localhost> (Ihor Radchenko's message of "Sun, 23 Oct 2022 04:01:43 +0000") Message-ID: <87h6zu7pak.fsf@pie.tf> 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1666585512; 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=CqL9uc+D/V30qBdbSozVNudZyPZPkFJHNxUXPevkuWo=; b=AYv2aY+kuZPp40d4dlGwQG7YLLCCaU8X72sGkJKPupx6v02kYHK21DO+ejt3xeRzJiEqBp J3cBMZEZfEknvQFheRiw0C0nzJnPYd+GJJL1yeo/qb0gmNod6dQS638ozo6rrjdeqkKyXU KT4IsZHx5/hgCDluG2UZY+7s7sW+TJpfNouGyO/4Oh5wRZp9T+FHY/NBqopDDOgfXIU7q0 MJgZnaSjjtP9uMdiaGxVPPQdPFQ/MknyR8soBq7nou02wTMnP1zFpOHeWheRMcxKUkZIy0 O/05ULZ3CMKpsBuRAk3tNla1T+AlpGjD5v7rB1cZxSS7O2J1gJydu/LglqZpEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666585512; a=rsa-sha256; cv=none; b=KWbFQWspw9FY1kf0zV93ZAcSr99k+Mxbo96QXF0v80Q7l3C+2QSJbCwW+KN2C/hrjitatG j04IGBOsz6EXb3uzYB88Bw+HPbAmLOAUTqm/kEMXGYV1YcThhW1wNhra+mPinG6n5IrppZ tNnB6pupa0DK6wU3sEqPEu6HrvL+4bk/kART809JhoMUCBjldPRieoBXk15SJ+QjN5bbCD gO88MEbK5+9pVTm+X8ObG/cILYvY5xE+x1LXZ6Pa50GgQIcghMG6WhhGBV/UVtcZGeSfzj wUsmKmza6gmkSYPFHvnumkfUD5ZQpysgtAFjt+LAtRef5r0fACWLSQ/AvUEgfg== 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.21 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: 1A96F29D5B X-Spam-Score: -1.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: fMoJjhyGZEVm Ihor Radchenko writes: > Fixed now. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=69e3a4db3d0c54b4165761f56523da4962eff74c Seems good, thanks. >> It could also be nice to add an extra argument to force the use of >> the local org-babel-temporary-stable-directory for remote files. > > I am not sure if it is a good idea. > On remote files, default-directory often points to the remote making > `shell-command' and similar run code on remote machine. It may not work > well with local temporary directory. I think you are right. Something like this could only be relevant for local files which execute code on remote locations (e.g. babel via the :dir argument) and require remote temp files instead of local ones. But that seems like too much of an edge case to support. If necessary a user could easily solve it with a small wrapper, that sets default-directory accordingly.