From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wCVEEuvmEWC9VwAA0tVLHw (envelope-from ) for ; Wed, 27 Jan 2021 22:19:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GG8BDuvmEWCSCQAAbx9fmQ (envelope-from ) for ; Wed, 27 Jan 2021 22:19: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 B4EA7940355 for ; Wed, 27 Jan 2021 22:19:22 +0000 (UTC) Received: from localhost ([::1]:41886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4t9j-0008BZ-Iq for larch@yhetil.org; Wed, 27 Jan 2021 17:19:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4t8W-0008AM-7b for emacs-orgmode@gnu.org; Wed, 27 Jan 2021 17:18:04 -0500 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]:39852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4t8T-0007Mg-Tl for emacs-orgmode@gnu.org; Wed, 27 Jan 2021 17:18:03 -0500 Received: by mail-qt1-x82b.google.com with SMTP id z9so2701005qtv.6 for ; Wed, 27 Jan 2021 14:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:message-id:date:mime-version; bh=KM3QPy4xWP917p4vq6mJBIJPqX6ohrenmsI32U9xWzE=; b=I6ehwZ1YTpUkuhrE887cAgMCMH5JVHfXCTA+HPLTMwYFPnqn+CJgSNW9BzC2mEO7k4 Zj/c1gDO00q2zn3RFqdaAcgN6nIxPd+3GKZLLasatZKMww/M6/gBn16booz64eje7BoC ezqpuwY+WUax8pI0+u39fnPDDOee59I6Q3Wxi1EIZ7kh/pMf7cpKMRJr6G9ihYS0Aedv zqISN233Bo5gTySE8HRDIyWF9Y2ESi9nsXgU3kPeiXK+EKXVYxIsqyoioAHAfC+vkz7d 8NB8Jvz+vQ/En07/KnPBra8fgF/hmjEOT3q9IWUjR/RdDxJQBNyb7ZupHrQ523IrD8+T kG5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=KM3QPy4xWP917p4vq6mJBIJPqX6ohrenmsI32U9xWzE=; b=j57EYLkFpm84crSOtSc3gXViFdrVDvq0CfVUlJ8TdGY2ZZuPUFm9EPmBdft8fmt8lz eR40+cJMxEdTSxqLpiC1sqS35yKrdroprjo6U55Cn0mjkM9VAA133LBuP6BT6U69J5Xc JkX9Ma65+GP+7EGU6txE/+OrrdJsYNr9vXP2fhbj74WOt7CVAEDqSn/jIxGAejTU/CUu 4T9vcvREX69HMhPrlT7G5Z4q38Wrnk5AdyagGAHHqijdBrEzDZ6+iuTW7LNPNa6c5HHT 18D4VqIXLC+sYo3BGgij2XEHZT5x3GYmUrMvKvoynaH7Yaf4fziBLc3bHEUbM3ZjrPQs LizA== X-Gm-Message-State: AOAM531wbUYQ3gauGevh2403JdqYihmI0nywzqn6EFQpapvJJk0Wem8h sWZiezvZIGUPdgUnNPas4D1rW3VD5iY= X-Google-Smtp-Source: ABdhPJy5iX4trifEDLn+UrGn7oUunQ1MJhDpSSGqHbQKqJ1S7Ar4Pti5q/66yCeh/wPflIYU3vRvAA== X-Received: by 2002:ac8:4a97:: with SMTP id l23mr12050341qtq.51.1611785880707; Wed, 27 Jan 2021 14:18:00 -0800 (PST) Received: from localhost ([190.239.232.181]) by smtp.gmail.com with ESMTPSA id c17sm2091781qkb.13.2021.01.27.14.17.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 14:17:59 -0800 (PST) User-agent: mu4e 1.4.14; emacs 27.1 From: doltes To: emacs-orgmode@gnu.org Subject: Get =#+RESULTS= without re-evaluating source code block? Message-ID: <87czxq83ha.fsf@gmail.com> Date: Wed, 27 Jan 2021 17:14:43 -0500 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=doltes512@gmail.com; helo=mail-qt1-x82b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=I6ehwZ1Y; dmarc=pass (policy=none) header.from=gmail.com; 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: B4EA7940355 X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z3UM9wBhJDSy Get =#+RESULTS= without re-evaluating source code block? Let's suppose I have a code block which requires a long time to finish #+NAME: big-computation #+begin_src bash sleep 5 # Some computation which requires a long time to complete. echo a #+end_src #+RESULTS: big-computation #+begin_example a #+end_example I want to use the results of that code block in other code blocks so I use a =noweb= reference (see below.) #+begin_src bash :noweb yes printf "%s\n" <> #+end_src #+RESULTS: #+begin_example a #+end_example However, doing this (i.e. using a =noweb= reference) would make the command to be evaluated whenever getting its results. I don't want this, I want the =:noweb= reference to actually use the already computed results. So, my question is: Is it possible to use the actual =#+RESULTS= code block instead of always evaluating it when referencing the results through a =:noweb= reference? -- Greetings, doltes.