From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GBQ1NdQTo2J2EgAAbAwnHQ (envelope-from ) for ; Fri, 10 Jun 2022 11:50: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 mp10.migadu.com with LMTPS id EI8ENNQTo2IPEgAAG6o9tA (envelope-from ) for ; Fri, 10 Jun 2022 11:50: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 36B742A79B for ; Fri, 10 Jun 2022 11:50:11 +0200 (CEST) Received: from localhost ([::1]:59400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzbHN-0008Tb-5d for larch@yhetil.org; Fri, 10 Jun 2022 05:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzZey-0007en-BN for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 04:06:24 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:37674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzZev-0007qv-7T for emacs-orgmode@gnu.org; Fri, 10 Jun 2022 04:06:23 -0400 Received: by mail-lj1-x22c.google.com with SMTP id d18so361027ljc.4 for ; Fri, 10 Jun 2022 01:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vicarious-living-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6/LSlCq2UoYTl4o9pwawCEo1R5106dypFSt9LWqz5b4=; b=IotcQgFgsU2gkuZKxrP50DaKfc/BMcyzrT00/WsFGr1ODIFF5OHzZi4E7fmdhGGgvU TJPnAndFGUVloIPK+fSTkCMaFkZwSI1NSTCSDRkEcVyZdwSNAczDWwaToCvE334L/hzk 7jfTjJr1ZQ1qwX3NzPrjuTWwhLl+wCfR79x4eAWEcQGItB42iqRwPjE0Xg/rlAhoI3of nQPNLWHaTXYZC1o6NPMAPMEHQ/HMrlAvyjwS+rrEeZZOkyGn206Xinj+Wq2orcK9pGHL UFU1eXovUtidSQipgBG0dPYnQh5Hf2lo5ZJSlgeEg+5GLNcnCWR29ictDoR9mQTnTkUE Bdbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6/LSlCq2UoYTl4o9pwawCEo1R5106dypFSt9LWqz5b4=; b=KMGinLwmG7gTzrQVMyZn7uY2HoNg1lOZnOpu4qz4YTKxeGj9tI5bFOAEJWhgjwsz0m nXsJIRwYRQlCQF0DP6XXJhknVy6Mm3x5fN4/zta8Lqhelg9YCeaIf6Tl8bE2lLeMG+/d 90mtDYV9njUqexGOkciPYMluIkP86U2HHWQ1X3Y2lOS8VO68V+tkV2a8rbDKHuxnjI2N gr9iREMR8Fbb0mp2jjDOKFX8+C1VSSknjy4vQV2XpAS6IVh9lUsXM4nwFWu/2Uixp2+t FxPYPBoNt+JgsgTtnsXQ6TJ54Whtn3PhekHTgmf3MBd3M68kv0zeXiooiEk9D299rJty JiwQ== X-Gm-Message-State: AOAM532SJZAGNAigyTuvpcYfZjNX4IJI6ehgUrlmf4rOPQcwopA/ss2y af6ogTZYPDXugnXi45TtLDaZ6zcyyGYzkDRfh6Cp/w== X-Google-Smtp-Source: ABdhPJxxH5gKziEftQw83sB5tzY3KDcExlBLObwo8z9EZuFve/kiPtGvBV2dAg6WTtFoLGyxQG19XLKOm6VJNLCNetc= X-Received: by 2002:a2e:b904:0:b0:255:5c9a:b46e with SMTP id b4-20020a2eb904000000b002555c9ab46emr27873624ljb.7.1654848379022; Fri, 10 Jun 2022 01:06:19 -0700 (PDT) MIME-Version: 1.0 References: <981938.1630590273@apollo2.minshall.org> <87czpqjqvw.fsf@localhost> <87zgkey55y.fsf@localhost> <8735i5u039.fsf@localhost> In-Reply-To: From: Ryan Scott Date: Fri, 10 Jun 2022 01:06:07 -0700 Message-ID: Subject: Re: [PATCH] Re: New source block results option for attaching file to node To: Ihor Radchenko Cc: numbchild@gmail.com, Greg Minshall , Timothy , emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="000000000000ca287f05e1136956" Received-SPF: none client-ip=2a00:1450:4864:20::22c; envelope-from=ryan@vicarious-living.com; helo=mail-lj1-x22c.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654854611; 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=pdVuFnMc8F0IbXl+Lu6NkBKaM1Qc87Tqr9OkyyzPt3w=; b=tfHDNpao9TFb8axOh6c2zbgl4Ne4+SOW/nZchAui2esZygamuBCe2ikpPLGUYtlHnfF4Gm oYMJ1gEn/0uXo4vjJy1A31lQBqlS2rNDNkBr82H0dzFEtk+9129541ELhp9VoZJzxJIp7I 7f6KESoFG2V01ZQexj9E9FO9q9uf7lJvvF0cMeL97LbEq+pjdtbsA3x0Hxelcjrlo0SwZI txG5HloB9BVv/uTtODn71++DZDS2YvLYnL2VrR+cJdtTkbpkTy/p6tvR4v8Idrz3s3jevP WpdrqIT6+tpUNQ1ArXKfq3YFInNUM3NbAOYjj/+Zr/gEYgMuKm9d0T/KeAu+4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654854611; a=rsa-sha256; cv=none; b=kJlmFnWVkurDXHZQvg+00G6zT5yqh41qLyTS4e6DqQwrTMvm6I5DF9w2s4rb8fMx5m/cLD Gt4TL/zzzQpZK4h/TEp0bwwaAcYcwhJfk8scMtzGLUOivhJbhtHHNZKRhZW/UGzTH3rIH8 DoI+mzQpkkE8zZXTV644gRdOUAgkZ0fXRnx+6khjN5N0QK8GSIrTHCDlOwrLMODmq6updm q7qOk5/cnTKfdKMSicZIqdJPXxPvRs9rYSeEJImceZ/703LZdjH5ZYvkhj2icjEMoAaG9S aGbiVrgj1uPhQpCheMY/Cn+aeYEaAfo5SYs94tG+liJTDE1BowmlsmjEABdpWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=vicarious-living-com.20210112.gappssmtp.com header.s=20210112 header.b=IotcQgFg; 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: 2.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=vicarious-living-com.20210112.gappssmtp.com header.s=20210112 header.b=IotcQgFg; 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: 36B742A79B X-Spam-Score: 2.71 X-Migadu-Scanner: scn1.migadu.com X-TUID: pwuCTjBfO+6j --000000000000ca287f05e1136956 Content-Type: multipart/alternative; boundary="000000000000ca287d05e1136954" --000000000000ca287d05e1136954 Content-Type: text/plain; charset="UTF-8" I believe I have addressed your feedback, Ihor. Attached is the latest version of the patch. - Merged latest master - :post is now handled correctly (verified with example of :post usage in the example at https://orgmode.org/manual/Results-of-Evaluation.html) - Added "(with quotes)" to help make the NEWS entry clearer - Changed the attach directory detection to use a string prefix check Let me know what you think. On Thu, Apr 21, 2022 at 11:19 PM Ryan Scott wrote: > Great. Just making sure that this particular approach to this feature or > type of feature wasn't fundamentally flawed given the established behavior > of org. > Thanks. > > On Thu, Apr 21, 2022 at 11:02 PM Ihor Radchenko > wrote: > >> Ryan Scott writes: >> >> > With all of the layers and assumptions/behaviors inherent in the way src >> > block parameters are handled, do you feel like this is an approach that >> can >> > work, or should it be abandoned? >> >> I am not sure if I understand your concern. >> Your code is reusing the existing convention that current directory is >> managed via default-directory by ob-core.el. I do not see any problem >> here. >> >> Best, >> Ihor >> > --000000000000ca287d05e1136954 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I believe I have addressed your feedback, Ihor.
Attach= ed is the latest version of the patch.

Great. Just making sure tha= t this particular approach to this feature or type of feature wasn't fu= ndamentally flawed given the established behavior of org.
Thanks.=

On Thu, Apr 21, 2022 at 11:02 PM Ihor Radchenko <yantar92@gmail.com> wrote= :
Ryan Scott <= ;ryan@vicari= ous-living.com> writes:

> With all of the layers and assumptions/behaviors inherent in the way s= rc
> block parameters are handled, do you feel like this is an approach tha= t can
> work, or should it be abandoned?

I am not sure if I understand your concern.
Your code is reusing the existing convention that current directory is
managed via default-directory by ob-core.el. I do not see any problem
here.

Best,
Ihor
--000000000000ca287d05e1136954-- --000000000000ca287f05e1136956 Content-Type: application/octet-stream; name="org-src-block-results-attach-dir.patch" Content-Disposition: attachment; filename="org-src-block-results-attach-dir.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l485ms1a0 RnJvbSBhMzViYjExY2IyMDI0MGU1OTQ5MDJkY2Q1OGIxNDU3MWJlMmM3ZmI2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSeWFuIEMuIFNjb3R0IDxyeWFuQDVwbUNhc3VhbC5jb20+CkRh dGU6IEZyaSwgMTAgSnVuIDIwMjIgMDA6MDE6MzcgLTA3MDAKU3ViamVjdDogW1BBVENIXSBvYi1j b3JlLmVsL2JhYmVsOiBTcGVjaWFsIGhhbmRsaW5nIGZvciBhdHRhY2htZW50IGxpbmtzIGluCiBz cmMgYmxvY2sKCiogb2ItY29yZS5lbCAob3JnLWJhYmVsLW1lcmdlLXBhcmFtcyk6IFNwZWNpZnlp bmcgdGhlIHN5bWJvbCAnYXR0YWNoYApvciBzdHJpbmcgIidhdHRhY2giIGFzIHRoZSB2YWx1ZSBv ZiB0aGUgYDpkaXInIGhlYWRlciBub3cgZnVuY3Rpb25zIGFzCiI6ZGlyIChvcmctYXR0YWNoLWRp ciBuaWwgdCkgOm1rZGlycCB0Igoob3JnLWJhYmVsLXJlc3VsdC10by1maWxlKTogT3B0aW9uYWwg YFRZUEUnIGFyZ3VtZW50IGFjY2VwdHMgc3ltYm9sCidhdHRhY2htZW50YCB0byBmaXh1cCB1cCBw YXRocyB1bmRlciBgKG9yZy1hdHRhY2gtZGlyKScgYW5kIHVzZSB0aGUKbGluayB0eXBlICJhdHRh Y2htZW50OiIgd2hlbiB0aGF0IGlzIGRldGVjdGVkL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AobGV0KiAoKHJl c3VsdC1maWxlLW5hbWUgKGV4cGFuZC1maWxlLW5hbWUgcmVzdWx0KSkKKyAgICAgICAgICAgKGJh c2UtZmlsZS1uYW1lIChidWZmZXItZmlsZS1uYW1lIChidWZmZXItYmFzZS1idWZmZXIpKSkKKyAg ICAgICAgICAgKGJhc2UtZGlyZWN0b3J5IChmaWxlLW5hbWUtZGlyZWN0b3J5IGJhc2UtZmlsZS1u YW1lKSkKKyAgICAgICAgICAgKHNhbWUtZGlyZWN0b3J5PworCSAgICAoYW5kIGJhc2UtZmlsZS1u YW1lCisJICAgICAgICAgKG5vdCAoc3RyaW5nPSAoZXhwYW5kLWZpbGUtbmFtZSBkZWZhdWx0LWRp cmVjdG9yeSkKKwkJCSAgICAgICAoZXhwYW5kLWZpbGUtbmFtZQorCQkJICAgICAgICBiYXNlLWRp cmVjdG9yeSkpKSkpCisgICAgICAgICAgIChyZXF1ZXN0LWF0dGFjaG1lbnQgKGVxIHR5cGUgJ2F0 dGFjaG1lbnQpKQorICAgICAgICAgICAoYXR0YWNoLWRpciAod2hlbiByZXF1ZXN0LWF0dGFjaG1l bnQKKyAgICAgICAgICAgICAgICAgICAgICAgICAobGV0ICgoZGVmYXVsdC1kaXJlY3RvcnkgYmFz ZS1kaXJlY3RvcnkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgKG9yZy1hdHRhY2gtZGly IG5pbCB0KSkpKQorICAgICAgICAgICAoaW4tYXR0YWNoLWRpciAoYW5kIHJlcXVlc3QtYXR0YWNo bWVudAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzdHJpbmctcHJlZml4LXAKKyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXR0YWNoLWRpcgorICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICByZXN1bHQtZmlsZS1uYW1lKSkpKQorICAgICAgKGZvcm1hdCAiW1sl czolc10lc10iCisgICAgICAgICAgICAgIChwY2FzZSB0eXBlCisgICAgICAgICAgIC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ICAgICAgICAgICAgICAgICAgICAgICAoc3BsaXQtc3RyaW5nCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb25kICgoYW5kIHZhbHVlIChmdW5jdGlvbnAg dmFsdWUpKSAoZnVuY2FsbCB2YWx1ZSkpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICh2YWx1ZSB2YWx1ZSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKHQgIiIpKSkpKSkKKyAgICAgICAgICAoKG9yICcoOmRpciAuIGF0dGFjaCkgJyg6 ZGlyIC4gIidhdHRhY2giKSkKKyAgICAgICAgICAgKHVubGVzcyAob3JnLWlkLWdldCkKKyAgICAg ICAgICAgICAoaWYgKG9yIG5vbmludGVyYWN0aXZlICh5LW9yLW4tcCAoZm9ybWF0ICJDcmVhdGUg SUQgZm9yIGVudHJ5IFwiJXNcIj8iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAob3JnLWdldC1oZWFkaW5nIHQgdCB0IHQpKSkpCisgICAgICAg ICAgICAgICAgIChvcmctaWQtZ2V0LWNyZWF0ZSkKKyAgICAgICAgICAgICAgIChlcnJvciAiQ2Fu J3QgYXR0YWNoIHRvIGVudHJ5IFwiJXNcIi4gRW50cnkgaGFzIG5vIElEIgorICAgICAgICAgICAg ICAgICAgICAgIChvcmctZ2V0LWhlYWRpbmcgdCB0IHQgdCkpKSkKKyAgICAgICAgICAgKHNldHEg cGFyYW1zIChhcHBlbmQKKyAgICAgICAgICAgICAgICAgICAgICAgICBgKCg6ZGlyIC4gLChvcmct YXR0YWNoLWRpciBuaWwgdCkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAoOm1rZGlycCAu ICJ5ZXMiKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAoYXNzcS1kZWxldGUtYWxsIDpkaXIg KGFzc3EtZGVsZXRlLWFsbCA6bWtkaXIgcG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