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 MMwACM3dzV7MXgAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 03:26:05 +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 wFPAA83dzV6FPwAAbx9fmQ (envelope-from ) for ; Wed, 27 May 2020 03:26:05 +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 D50449402A0 for ; Wed, 27 May 2020 03:26:03 +0000 (UTC) Received: from localhost ([::1]:48828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdmhd-0007am-MM for larch@yhetil.org; Tue, 26 May 2020 23:26:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdmhH-0007aK-7R for emacs-orgmode@gnu.org; Tue, 26 May 2020 23:25:39 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:35777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdmhF-0004T5-F4 for emacs-orgmode@gnu.org; Tue, 26 May 2020 23:25:38 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A725111A8; Tue, 26 May 2020 23:25:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 26 May 2020 23:25:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imapmail.org; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= /7TJEmr53633L+BxjgnxM94h+EJtTeWRXnTBxcIESPA=; b=p/un48tRejya1Keh o5+Bm0R5O9tySNEtJ6PSuu1AZuQRKNy2zNdnW5vuWJgMuLIfmO2D0GoKk3nlkyOC zh/RS1r616zEyQNbzXcUepaCn2jCQrAFordrWc+rFeLHyqGXxHlikjMTu8wTZ3Ki xwqW0dOBT6cRfQUH8vBqS7HO9HWhX0E2IIHrXHQbfxYJ0IuZYlZ7MYHSqfDyTe9V 6iwb0n+SlvKlL2MmiWoEulKf8TFffo6fsQQgCvyrzalFrB/SFlfYi3xW66hRdI20 8YZRUZtj10exs5XxmWumr3GirmRjpa+S+UVqpXTd6zFZ4crvgy2kwf9hgT59AwO1 VSlLXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=/7TJEmr53633L+BxjgnxM94h+EJtTeWRXnTBxcIES PA=; b=AxRYSdLtiU70lt9NbbESdPrq9ml2GOpgku8tNh7L9Gl4Wc4kr3ryVc1+r YeGmsetkh0rD93tlGLf5sEYGRBWGygX7dAzyqAZsOPXU28dENxIUXHk/WXmyMbhK dwep7B060HO/95Vlx5hTKeS92fgTGtWF3Ntiyn6NyiGH1DC0K0OVTjwXZGzOKii4 MKiI0udVsXC4d/Vc7eULj/rV4EP2bzxM5QXwRaZPa4gKCU+rv/Z9tjcP3Jh+ZGFD D36ESRhzQ+5MHqr39YN3mRHpmgKVRjuI2ke9kNAJ4tAsJkLydwGVQhjiWiqAdLTE 15/i1U+tlVYj4kboBk2rBrhxn6CAg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvfedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtgfesthhqre dttddtjeenucfhrhhomhepofgrthhthhgvficunfhunhguihhnuceomhgulhesihhmrghp mhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpedtjefhffeludekheelffelhfelle fhieetgeeuleffkeehhedtudeugedvudeuvdenucfkphepjeeirdduiedrudefhedruddu leenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmug hlsehimhgrphhmrghilhdrohhrgh X-ME-Proxy: Received: from localhost (c-76-16-135-119.hsd1.il.comcast.net [76.16.135.119]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C5B53280060; Tue, 26 May 2020 23:25:34 -0400 (EDT) From: Matthew Lundin To: sebastien.miquel@posteo.eu, emacs-orgmode@gnu.org Subject: Re: org-babel block with :exports code that gets evaluated on export In-Reply-To: <09e020a4-b71d-cf99-a9c7-3552c3e00eee@posteo.eu> References: <09e020a4-b71d-cf99-a9c7-3552c3e00eee@posteo.eu> Date: Tue, 26 May 2020 22:25:33 -0500 Message-ID: <87r1v683f6.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.25; envelope-from=mdl@imapmail.org; helo=wout2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/26 22:52:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=imapmail.org header.s=fm3 header.b=p/un48tR; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=AxRYSdLt; dmarc=pass (policy=none) header.from=imapmail.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-Spam-Score: -1.71 X-TUID: TC/MIOZVW9hT S=C3=A9bastien Miquel writes: > Is there a way to have an org-babel block which only exports its code=20 > but still gets evaluated when exporting ? I think you can do something like this: #+begin_src emacs-lisp :exports both :results none (setq my-variable t) #+end_src Or, if you want to pass the results to another block you could use ":results output silent" or ":results value silent." Best, Matt