From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MJERLWeYW2EYgQEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 02:12:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kHrCKGeYW2HaFgAAB5/wlQ (envelope-from ) for ; Tue, 05 Oct 2021 00:12:23 +0000 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 DE921C883 for ; Tue, 5 Oct 2021 02:12:21 +0200 (CEST) Received: from localhost ([::1]:47986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXY4A-0008SF-C8 for larch@yhetil.org; Mon, 04 Oct 2021 20:12:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXY3G-0008S6-7r for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 20:11:22 -0400 Received: from mail-db8eur05olkn2080d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::80d]:17903 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXY3D-0002Me-N0 for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 20:11:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBXAYHznzlc8UQtUEUkgJpJhTK+Vv9aylEeQk8FhijGGFAVsAWNdTUmP3Jr9pRAoAto70KQrYynr5nL1Y+ZTCV12r/H4w9WMFyVPibPbenkZCnxfFH+hhos15IqLP6n1ctjVf6kh8WhZ3LRwcDlhybPU2dzLoc9f3BmRKS5rAB6DAsAf4I29tY/u1aYl7/yFVS1lfyc+3KxeKVBzZlh8AXdHiyms5EqUbbXCKjujNwkQ0BLn0jwkDhhKRm//3xXWhMYqmtew++6EQA1J1qd6flLpAtiHRsmzgfIwTDKmiurdxheksQNzvuC1xa9HVPFvHSz7p2WvtxPw6Wv2y7Lv2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T3Z/Kqr78s+PXXm1UE1Ycq87l0t7TnP3ABVO9R49Y+4=; b=h17lAcEsMaRYwNJdMmxXUZOdJiuNAwpkklhXY+vAAiwm/miqklSPC/PAGAUInSGZbL4GCj07r3yi2lTJf6ACC8g0nveYUaK1F7EpgoeWPUw2IiPZtBC5G01/0OevqT+4KBLTxamQ07Rtqa8xVah2+O5FC7z6zjWU4DoSyG+0r97DRgBMFeUu0MxLUbXal27ca4Z9/wYuqNWz43L7lcA6zr7ln0l9a4CJfp6Vcxo+CgSFKiC8zlnxYmyp1sItLwPjpUycQ4Zgq92LXUOL/MyjsNb2AIJ5971vH+CLqJI1Q18tCW0ju3j3UrVT+e0iBdbBU41XyB+EmN0nSdLnz8p90w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T3Z/Kqr78s+PXXm1UE1Ycq87l0t7TnP3ABVO9R49Y+4=; b=RSwAaUzGOWO/8U8XAJdxByA5DAQ61zGi8btsiXhsFeT/GCG3XQWupZZ7l5wq0d8dA/YbD4dXEZfoxna/dx1CvPSn+TeQBdCbgiFFwWgkOPwIiHnnZPYnFkjuOokL6+f6CGp9Ug4A8Zb9gTI1BgsBkH7BDR4EMuLLznTWx2ahpRqkZ/FUYG0XBHVnhTu3Km7QVKJSyOtmBCAcTYmIcOQR6yrkHPaiq28czBzH4YNjXn2xxkxc0EmIUcMSrzwSJ0ok+1WeNFPhwEaXe3R0eaJCWuSBjy8d7JUpxs2xi+lmVQrtM1dFX1aKeHqjmlxBF03zR/Wt2y/hPZvH+I8IGQG+ug== Received: from PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) by PAXPR08MB6367.eurprd08.prod.outlook.com (2603:10a6:102:df::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Tue, 5 Oct 2021 00:06:14 +0000 Received: from PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6]) by PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6%3]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 00:06:14 +0000 References: <981938.1630590273@apollo2.minshall.org> <87czpqjqvw.fsf@localhost> User-agent: mu4e 1.7.0; emacs 28.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Subject: Re: [PATCH] Re: New source block results option for attaching file to node Date: Tue, 05 Oct 2021 08:04:40 +0800 In-reply-to: <87czpqjqvw.fsf@localhost> Message-ID: Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [WaZiWGUw0JxR3z9r9kU/fcMvj/LPKDTO] X-ClientProxiedBy: HK0PR01CA0066.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::30) To PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Mac-mini.local (115.231.16.205) by HK0PR01CA0066.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22 via Frontend Transport; Tue, 5 Oct 2021 00:06:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f2d43e88-38f8-4b4c-d0d6-08d98793f1a9 X-MS-TrafficTypeDiagnostic: PAXPR08MB6367: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f/gKyRtxS46c+laiViSrBniVnL09WNRiACPGNt8UD+zVUUlz29rSpQ6QAc/uFoydmxtBHS+5Zivz/o4h/tdDCM+Yje7ddiuH6T5VMyU0S3xPcyhFDXejSl18HCpvAeaGYJcrDQXm0riNTkQ3oKwpePoXo+j/A6Vz64VndGPlIl6Agc/cs1uN5t/kwuJccwNpo9CjrtUwsmOxkypZyZjG89Ak+F5FSvxk1R0jvpdDrhPbrHfKAixWYGm2ITxqOyV4oCuEzooRduJ6GGSR4RjDI/d9KiL6yQ5bYVbygosRxVynmYshcGDwFxiFrvIw8A8xuhBLGAFJp0xQMsCXtAYddEYU47Exe7jKBvbvhpdyT34WLmUYw94Qub/J0C3827HHGQpfCPabkJZLbvEiU9knOvHQ/qkv1tLFWUYITwnw/w22TL7Vjp01MkUi0ruaHMps X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Z3EI3I82cVRrSKvCr9p/maJtqscz3LotJJeoaToFfVqiqSuulRwLv7mpp46CrmdgK7L0/hY/2NiICaZ1Hnuc1zW0Z4dBEBLxg7gf2+/RtnS7zwx1SvMUW2rS1V/nAkEwzlUX0KpBCwEqK/O8TDrhRA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2d43e88-38f8-4b4c-d0d6-08d98793f1a9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6640.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2021 00:06:14.0915 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6367 Received-SPF: pass client-ip=2a01:111:f400:7e1a::80d; envelope-from=stardiviner@outlook.com; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 5.0 requ) BAYES_40=-0.001, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Cc: Greg Minshall , Ryan Scott , emacs-orgmode@gnu.org, Timothy Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633392743; h=from:from:sender:sender:reply-to: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=T3Z/Kqr78s+PXXm1UE1Ycq87l0t7TnP3ABVO9R49Y+4=; b=VuMXwi96fHZzHuxEW5G4QZ63HVUswf8VfgMitbxEy+OszKYantQsV7jQK5/S1JQPw5QTFC KZPYhsXW8w/8q7VdLdayoZgyoiMUeCMOvBtS0+44eOnelF2SuZ57mj5s//W8toDDWgyi7m CApq90C1w++5jFEFha/o4awsh1wZ/XfvP1qE6hSK3PyeGL8R60hJVh+3LfllNahCJzdx1c DnBOIfPNYX1AjivL+ZzhrzqnOwTKwt2xulVFMWLt7C2ZxfSr2XqSZVV+eXXLOym7q8qVyn JiE2/KPONPteS6elKa2N6k/i8aIzppiJNA4eH/iqg4/PqFNROfoW0EjrcQ9u5g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1633392743; a=rsa-sha256; cv=pass; b=WWC/bo0Pb1P62R73eQnXCxXJYkpzM5vc8CXNDtPgeC4bycapHBOu6K8hlB/lqo0PM+wKY6 uhQBoVbxSLdO/xUFFPy8J+A0grsoz5RpOtLpbnLrFZPjUgSAtcxOrT8X5qAlJcA6wxdqdo aO/PLwzeQhYY7UL3LT6gu8OLkbfMVC8lESuXAG8voY1KjUrH0OmUhbjU2zJXCeAjwL1t8u 41A0WQoxzltY8c0vAbYtfvDLnC1aHv/vGE6a9Y9wksugkyEPp4pK+LRjbSooX3epNEOcTD RseWtbr4tOu9EBD9EL2VlLY7h1AqqyT70QtoTRNuOKrVY/ZKm9XTt1nASTn1lw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RSwAaUzG; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RSwAaUzG; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: DE921C883 X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: tZv38gr3sWdp --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Ihor Radchenko writes: > Greg Minshall writes: > >> i can imagine wanting to have input files and >> output files in separate directories. (for ease in "make clean", if for >> no other conceptual reason.) (but, probably i don't understand.) I agree with this thought. We should separate two directories. > > Makes sense. Currently, there is :dir header arg to set working > directory (aka input files directory). Maybe we can introduce something > like :results-dir header arg to set the output directory? It's value can > be a directory path or symbol 'attach. > > `:results file :results-dir 'attach` will be equivalent of > `:results file attach` in the patch proposed by Ryan Scott. > > WDYT? I agree with this idea. Use ~:results-dir 'attach~ is better. Will the patch be updated? > > Best, > Ihor --==-=-= Content-Type: text/html

Ihor Radchenko <yantar92@gmail.com> writes:

Greg Minshall <minshall@umich.edu> writes:

i can imagine wanting to have input files and output files in separate directories. (for ease in "make clean", if for no other conceptual reason.) (but, probably i don't understand.)

I agree with this thought. We should separate two directories.

Makes sense. Currently, there is :dir header arg to set working directory (aka input files directory). Maybe we can introduce something like :results-dir header arg to set the output directory? It's value can be a directory path or symbol 'attach.

`:results file :results-dir 'attach` will be equivalent of `:results file attach` in the patch proposed by Ryan Scott.

WDYT?

I agree with this idea. Use :results-dir 'attach is better.

Will the patch be updated?

Best, Ihor

--==-=-=-- --=-=-= Content-Type: text/plain <#secure method=pgpmime mode=sign> -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-=--