From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AOYnAfzt4WBqewEAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 19:21:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8FaPOPvt4WB1SAAA1q6Kng (envelope-from ) for ; Sun, 04 Jul 2021 17:20:59 +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 4017821D85 for ; Sun, 4 Jul 2021 19:20:59 +0200 (CEST) Received: from localhost ([::1]:52742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m05ne-0003Du-AY for larch@yhetil.org; Sun, 04 Jul 2021 13:20:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m05n4-0003Dm-OM for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 13:20:22 -0400 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:26170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m05mz-0006aJ-Uv for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 13:20:22 -0400 Received: from pps.filterd (m0173176.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 164HBEmx021322; Sun, 4 Jul 2021 10:20:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=lzZJZeAr7QR8d7zcJjI3HRSrNJ3lHOVErpsHAMSP3Ps=; b=hq7rkmeDjF6C7L3X95N6ybwJyZ5Oh6AcKUA31ndRNG1wGF0PXmSISJnAkGGta6E0LeUv 5QCYbgDJ3Qvatximp0I0W2NTrVMLpefw+kHtkC5/UwVbuLvsSQK/tEz24b2sk8Wv4rnx DX1rlkQ2FPUCZNAUhmFnMgd/BDNb1aKI2vwSYJtc7CpQziD2Gnjre0t/aXSNXzYtPVV3 itAeojMDEl+4n+McoefBH4hvDPC6fsJSwOZpPDpXGGcE8e0Y/DFvztNu1QjVGJ6yR0UV iRq3J9DVUhu/OXSmfhFLjKyE/xAZjVGe2nyf68F463fa5jgmd97myBFdfZamcIeceRz4 Pw== Received: from secdlpezp05.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com with ESMTP id 39kcbj87ya-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 04 Jul 2021 10:20:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EWkH1OM4t2Yd0lYc/2dg5ntQD2tjo0CobOu3/mJbXmRotWr2cz+JluKhJvqRMEZZljZSzxGR/vIWO8CqwoXzLsLlRaUuH4poYbskpqo9uFTK2jYv5dh5y4ebAPjbjfOVQLZ24cmy5s6ELXWO7dBubwXwrIOKywqCdE4fH9o881bscNuiu7uvo8i/XFcJt2CT3yUwA5voK+6+3bMGrcnUmMUeoCDm9h3xd8NYtb4fs2A5+ZCyriDSeAjos2Xw1FnpOjPXr0mv/zZEaXvTXtxWM/WBv5zOfa/aYZLoqeNJXHayC9wfVbSidyf3mKR9inajONNfHBzn3y3KkBm3h/jelA== 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-SenderADCheck; bh=lzZJZeAr7QR8d7zcJjI3HRSrNJ3lHOVErpsHAMSP3Ps=; b=KViSpaXfMKlFZM+3eN3nT9vEaDcNlP0syCKOoauVoYhMpqxReHwgC6cQ98WBwcLc/Rc9TnqAoToPpdZHhHHBfNbOgTPwfVsPnbgNFLtep8+Xywy+fkBHBohqedlW9l0PaHwfiWTCBQIZBKSp9fv4qvZxJVJ1d45knhWeNSCYtWlWTu0p1SyYy9tw4YoabYbZDooUiK1TJzlBy4+TCr4ZXcIDQEbgBnzFmIH3uOSPDWGhprgtJwEG+ybJCsF83KVxR447UIRVfm8pwe+MHhZ2MYi7bXOPxFJmCKDjiGqNHuxCovPJtTqLq/7nrl1Tm06QGm5cmo4R15y0g6L7Htgs9Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lzZJZeAr7QR8d7zcJjI3HRSrNJ3lHOVErpsHAMSP3Ps=; b=prYboxnvPEGe+G2CgE8DYaG22g2h+CA5OwT1V56d1meYDGB8C0moUjyaI/mmIA5Ad2iV+ZJdASSO3LMaFuipNYumXdNNAdVgYJvSBgOix/SIE5qnU/G/MCfdxrnlyc0BtAyibXCt4ibyPiPt2KxElVX4Ba14ZeFgSeqACs4CiqA= To: Greg Minshall Subject: Re: using previous =#+results= when =:eval never= Thread-Topic: using previous =#+results= when =:eval never= Thread-Index: AQHXcJQ1kxLRtve7bUq+8JoT2BrcD6szEIWA Date: Sun, 4 Jul 2021 17:20:10 +0000 Message-ID: <4A57F8AE-A7AC-42D2-806B-050854A87377@health.ucsd.edu> References: <3981138.1625375963@apollo2.minshall.org> In-Reply-To: <3981138.1625375963@apollo2.minshall.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2600:1702:1021:b0:5188:be70:cb37:c122] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f907d2c-8036-4500-9199-08d93f0ffa35 x-ms-traffictypediagnostic: BY5PR19MB3713: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h6kXWp3LAwvrr5KWi0HKGAedbUv+l650xNdoN68swqLNU/qpboeMboRH3OKjiv+p3aNPRVgIj/NLAAYPXNzx0kw4vDEXPQX1ZTzHEpnFocFtUaFK5hhgvuqkzY+2vicx6XeUcbZuBn3vTP1Ejo7xAcK50RuuzI9UDIgChxvdFnYmDrf/YI1ewXX0JP/ivRBMh8HyQe72BT8lsSbUNVEQWLIbfn46igWDgwp9S2OpsQGn3md23s9cnoSW5MsTOSAmssEcF4Rrc2chMGd1zFBioqWtLkCMizu9dU7wbxsQdvkNt6u7lNGuW6nLrhvUSzA5yS5q5kIt4qKXwvMQfggtI0A5srTyhsBOklRbglk0z1hmmwUZnrEjOy0CJMqRVyDZiDOPnYTExc/f02QB1loW12J30yB6oEstorNdHS8sHYWwssqV02+lb1pVhcwtqDDBfBORJmBl3yOLMRvhABZcMdXrXO6YRxIl3aSHZ1HuRG5VxHr1GCO4qtvzHi2PwncqFacuqTFdpgS0GcS3/OthEHfloYprFmoll+60w4Y4jF4HdwsXMGp7UxLf8r8ePMfpYKO4oY3ZZN+xiTjYOouQBS4hjfstGlP76ggWJ0n8gAKMqFhewQBiMcD6580xfNgLvaoOLAcdcPL223TvoCPsoksH81pu5SeM5XAMomIv7zAMfiNQdbypZ+U3SK9wu53KBgMrW/PDO7cVI+c5A0NWUg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(366004)(396003)(39850400004)(83380400001)(4326008)(5660300002)(6512007)(8936002)(71200400001)(316002)(33656002)(2906002)(786003)(64756008)(66556008)(66946007)(66476007)(76116006)(6916009)(478600001)(75432002)(6506007)(122000001)(2616005)(86362001)(6486002)(53546011)(186003)(66446008)(8676002)(38100700002)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?reP+2dwGUPdxaJVLCOl57w7ZIsd21dqc62x9Vp2HgY5bWgQ7AiFjkrmlEhIB?= =?us-ascii?Q?IXtN1ZGjFjo30qzGqT2dhSZaj1xH7qSa84PRYXx8t23IpBXe2aWOz0NHdjhU?= =?us-ascii?Q?nXW+hgG26jQeMbHoe61zO5IzsYxyNCOKw2c+FAR17xZdqdegcGgW4et5GBzv?= =?us-ascii?Q?ycJ76QygtIdFz7gM8qkj3OYG/FXHzNIOtPviMuDt3wRg1SVfN8GDJy3T0A/p?= =?us-ascii?Q?DLmXRWZSLEBtHGV5Bi1QerUEaZPb3pRp+Ks3Y8pUCXaYNw50BLG4hv8/LgFm?= =?us-ascii?Q?5cfZXQmTqBKK+iOOF0WGqSlFOXp/BXtI2sL3J/t7qQI88nMXgFAZ5co/WqHA?= =?us-ascii?Q?R4eHFXGyYGfqixP4vMC34fvaSRyE+Xyuuh/0s+F/XZX1ydddogJ7LZwv0YT8?= =?us-ascii?Q?ccs96ZbdWi7OxEr71QLLhOBDg8aew0JC9THnEcqt2F4GVDqlEpsU7Vfz1jzC?= =?us-ascii?Q?b4oITcVsdRlxRQ6vCwbMxx8OA6V9/4hmpAW+weXEH/yJLKwEJRhBQYtb6bnH?= =?us-ascii?Q?e/5fgL3+d0cX/BIMRAeYgJOks7Ru6G9PaHkWDp9ebFXJfXtxDyInLuuaGTv7?= =?us-ascii?Q?ZF/9EJxC2DVLVWZ6nMdjQQdpE2aVOWkm7sWeMivrgTPGFaDc4WWZDQQYxN1E?= =?us-ascii?Q?vTJ9zxkN5AJcA5QwsTN6KZWOpJ7cV6ldQpHOsw5JGLhYdRFpyTM/Y4s+eD5z?= =?us-ascii?Q?Hp5Ycw/VkjyAsQKOyu/Tki2x+IUlP6fVEBHp7/tX+SMWXOkFoIUJanw9SPz/?= =?us-ascii?Q?/Fcae3zRuowg9YdDBS2bp/qj6fD/jgX5A8TRs9Rr0+vPLmasF9Dg6e9VLtO2?= =?us-ascii?Q?2S7xFL43wu05JgjDzEjWq0z1azNzxwgqRYxHvhYSyBSvKb6f2K/kiI06fntL?= =?us-ascii?Q?3cNUSZAxscVkQkhc4LZggoX+5Hso8BFtRx+RCwSF+jlwgs5wwy0pVgXxBCjd?= =?us-ascii?Q?RTiuiRHduY53+iY7oyWLG12sTilitvsyhibciidVC2WCDMSfcOjklBA//8TE?= =?us-ascii?Q?biVmbP06q9sF8pqRp1MDzpOo2c77kYTCCe02pn8+dluYODOntpK2jgzpNW6y?= =?us-ascii?Q?MH/acPbNHv8wvqixdzqd1a88Jn4GOeKfWuHGjhaP4OjfMonVGh+d7qWt+zqb?= =?us-ascii?Q?hnRexOTQGzLwhexvarjZVdjrYsjVJxTaU4hyF/Ql53D30QEhCB5SjWXHo5Qs?= =?us-ascii?Q?g/MIL/xAri0Q/QENQ5IeE8tq4HXZeXgMmEj6o7JDXe533UROFqTM8oT5RROU?= =?us-ascii?Q?zF7wa/mJruusAEY8BDvWOVxBs2bk52LZ6m/i0gceODvPLw156GxX6SWeGsyI?= =?us-ascii?Q?ixn5HoaGn40mvHD+skCfV1TgLyWQ1OZJAMQuDwWeG+PJFm/iw1cA7PUb4wkH?= =?us-ascii?Q?iX6Q59vd6CntpdUNGs3k9KRd7AGX?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <76C1916614C600449AAE7348CF77D8AF@namprd19.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f907d2c-8036-4500-9199-08d93f0ffa35 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2021 17:20:10.2920 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y8mBoJAZY2b0TAddgfy6U+j2W+iSe2a6r/zONAEQgJCXrM74RrquOojLPIOYwOKfbLnkRGo3ubluEMblJphUhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3713 X-Proofpoint-ORIG-GUID: Rirf8FSRQ022ILj6T_KMwPpA4auOaZXJ X-Proofpoint-GUID: Rirf8FSRQ022ILj6T_KMwPpA4auOaZXJ X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-04_12:2021-07-02, 2021-07-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=935 clxscore=1015 adultscore=0 bulkscore=0 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107040108 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, 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" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625419259; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lzZJZeAr7QR8d7zcJjI3HRSrNJ3lHOVErpsHAMSP3Ps=; b=iKMkhvqAix4txYGLmR7ZC9+oZ33AJseZwK6iIqRbWPRjfoDAPyB5Us9vWQHRqZlod8OiKq e7GKwN32ITrMEqNChDatba3Gl24/2TowUA5W/ibZftbVfdr6r3usutRV5gvxBX3CcOi51J UrDZi3qZpuAxtidIt0AtymPXdE3sDB+o9Q4BHIux0ivXQWiZdvamK9hvDMXXZXwCsszSuu VW1vTxUXbeGkvuSkf02tpzRMS7Qn0bEiK8ZB9EZnM0JNJx7CU4mp/W6Nk4emxwzIVkQ7Tf J2xR+Llgk5tmwyS9kC2+Z+8nNl3zFb4nljv604/PjdlSim6w5tRkATyRxkD2+A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1625419259; a=rsa-sha256; cv=fail; b=lLgQNaGTnaGa74IqDC8HYxVsXZwBJY+iY63RNDw7c4jEKkx1Nvs+UrQ6MUbo93Vd4aScK/ n8oxPhzWGR6vwoYaLQ/bRWCc6pC2mBmvnKgmbaBhLEAqEO6vMdPSeQp2Y/WZWbR1M5vrzL tdRM+0pDcKGGUIyxnYKYTlMzCk/Cw6DO3n5Sq8ltARV9E/yLVhPOUnNXr1Y0cme2Ky9gtX QkhTohcdTrxTCRjX42XZLe/Ghv8PJwjDlcyb0xPYXWu+zO1SuvbYY0pwWCDLck9bNULSvP snCiShmac0I071TySwONdSFbj9252/U4Fz3TkMN7RfDpFddMSumRjGBMZjBfEQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=hq7rkmeD; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=prYboxnv; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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: 0.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=hq7rkmeD; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=prYboxnv; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; 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: 4017821D85 X-Spam-Score: 0.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: eebAyAxOBnFF > On Jul 3, 2021, at 10:19 PM, Greg Minshall wrote: >=20 > Chuck, >=20 > thanks. (i'm not surprised at an e-lisp suggestion from you! :) >=20 > 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. (*) >=20 This seems unnecessary.=20 Be warned that the behavior of `org-babel-update-intermediate` is not intui= tive - at least to me. My reading of the doctstring is that the result of = a named src block can be changed when it is non-nil. AFAICS, this never hap= pens. Instead, the return value from `org-babel-ref-resolve` is copied fro= m the named result. =20 For your ECM, after deleting the `:eval never`, if I append `+ 1` to the `m= tcars[1:3,]` and execute then next src block, I get=20 #+begin_src emacs-lisp (compare-old-to-new "testcountsdecompose") #+end_src #+RESULTS: : Comparison failed for block testcountsdecompose and the original in-buffer value did not change. I can remove the `+ 1` and rerun the above block and the result is `t` HTH, Chuck > 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. >=20 > 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 >=20 > : #+begin_src R :var basecaseresults=3D(org-babel-read-named-result "test= countsdecompose") >=20 > i'll play around with it. (i suspect i'll be motivated to use an e-lisp > macro, to eliminate the quotes, for example.) >=20 > again, thanks. >=20 > cheers, Greg >=20 > (*) 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.