From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yCxICSVF4WBSZAAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 07:20:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4HvqBCVF4WD8cQAAbx9fmQ (envelope-from ) for ; Sun, 04 Jul 2021 05:20:37 +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 1D7051AF0A for ; Sun, 4 Jul 2021 07:20:36 +0200 (CEST) Received: from localhost ([::1]:39488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzuYT-0005pB-Kd for larch@yhetil.org; Sun, 04 Jul 2021 01:20:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzuXf-0005kC-Kl for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 01:19:43 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240]:51764 helo=heuristic-mabon.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzuXX-0004eS-KB for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 01:19:43 -0400 Received: from brass-bakeneko.authn-relay.a.mail.umich.edu (ip-10-0-74-14.us-east-2.compute.internal [10.0.74.14]) by heuristic-mabon.relay-egress.a.mail.umich.edu with ESMTPS id 60E144E5.94574.5EDFBE1C.2791138; Sun, 04 Jul 2021 01:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1625375973; bh=sufxv8L4VDAdSSmeLBIBlE9cJio6w3wtaZYuJ6eXGyg=; h=From:To:cc:Subject:In-reply-to:Date; b=GD6fRmKwHZuu88T2ga3aKklPWJh55HxVJzhVaZE2j47/XR3JpSSpwLgdlhv+QNsWW 5dNm/wXuFdKec/V6rP1z6XVkMyH2DuMv/wVc0ZleoYoHmuE+9RgCeyyRz9hVgaDHA2 KK7tzDquXdP/te+MBPw+2K8SQbDUQMyGQziuHIspXVryVqJgi0igjG8iyptNmEI6Mm gd1Y/muFSDwKux3pieUbHmTIVf1nr0Ieh0ULKgD7zbhOvDRwDK2YE73o/EqkFT2Si5 pggj6lwPOAD6BivT8w2XP6RANTPEI/Y64CiRMfZDZQf0KNx1KiSTZz0cPMOwSfdc+l zdKZY6fa3oGaw== Received: from localhost (Mismatch [95.14.94.108]) by brass-bakeneko.authn-relay.a.mail.umich.edu with ESMTPSA id 60E144E3.BBB5D.3DE2103C.3329786; Sun, 04 Jul 2021 01:19:32 -0400 From: Greg Minshall To: "Berry, Charles" Subject: Re: using previous =#+results= when =:eval never= In-reply-to: Your message of "Sat, 03 Jul 2021 19:08:09 +0000." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3981137.1625375963.1@apollo2.minshall.org> Content-Transfer-Encoding: quoted-printable Date: Sun, 04 Jul 2021 08:19:23 +0300 Message-ID: <3981138.1625375963@apollo2.minshall.org> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@umich.edu; helo=heuristic-mabon.relay-egress.a.mail.umich.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625376036; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sufxv8L4VDAdSSmeLBIBlE9cJio6w3wtaZYuJ6eXGyg=; b=DqnONrKidsVWmvTSq0wYL54dgu3/qFgV18Y7cIf4ZNm7QF/hwfvgi2biKmxrNz5sDmJUbZ WbATdmoGhEgzRrHq7qTKyFZzgt/h9J23K4IxDkIsNJRrhnyr6HmA5gGv2/km55jpQNE4vh PRy78ntM1mp8R8jq4sT5SnzbInJRYsdnDNsrxL68l4hsdbqqwXDzLuuW8PQGBP06OTyXby +tAxYQe1Oy4KwEoBpLGvdN9m3oyFv+FiR/s1e0Ro7AJnbe+vXl0aZW1dky5vki018/xM2h 4dMrVsDqWDM3Hgg/n0xaTwrO/95W3K+KLK+vqIzJK2tdHf/SBr0mLKq/8VUhpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625376036; a=rsa-sha256; cv=none; b=ki/B5ZF1D+SFj6lPVOdMEbsylJqByXb12Z1bni0yjZKLpwlW3RRs1jkVsH5hlYo6ZbH9XB PsFyv4VYHbe1P6ObzZKI9KNNKM3WHeUZgWXKP+wwIjMSUvFpYhIA80Zcmy69CEwU7r4BxD ry2iCB11VDn/zJ7nNmOm46tx7LcZhDbWwU5UIFxUqfC8cXGgGTIWnCuN4IAey7fQFaPZZ6 FJ9p28ZKDlAJBM6s4jcy1a3pOqaMRc5AjKweSA7DZoaiNe3JqqoCJeDUzT6rsajJ+56hMo OpGiSTKTZb8513TAUYtp4A9g05G+3rZCgidmmgsXtzXkfEBturLlWvG9mKbM9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=GD6fRmKw; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=GD6fRmKw; dmarc=pass (policy=none) header.from=umich.edu; 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: 1D7051AF0A X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: wq40x+Kc8sXB Chuck, thanks. (i'm not surprised at an e-lisp suggestion from you! :) i worry about accidental modification of the base case results during the chaos of development. it occurs to me (reading through (org-babel-ref-resolve)) to keep my base case source blocks marked with [:results silent], which should prevent accidental modification. (*) then, i would change [:results silent] to, e.g., [:results silentx], in the base case source blocks whenever i wanted to re-create those results. for, e.g., inspecting the results when things differ, it would be nice to stay in the language of the rest of the code. but i suspect i'll be able to do some e-lisp magic on the RHS of a :var, e.g., crudely : #+begin_src R :var basecaseresults=3D(org-babel-read-named-result "testc= ountsdecompose") i'll play around with it. (i suspect i'll be motivated to use an e-lisp macro, to eliminate the quotes, for example.) again, thanks. cheers, Greg (*) this relies on current org-mode behavior, where (org-babel-read-result) will return results from a result block from a source block marked [:results silent]. i have no idea how likely this behavior is to change in the long run.