From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uLlrE4eEYl8FdgAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 21:32:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2C1UD4eEYl/kRAAA1q6Kng (envelope-from ) for ; Wed, 16 Sep 2020 21:32:55 +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 B3CB094050F for ; Wed, 16 Sep 2020 21:32:54 +0000 (UTC) Received: from localhost ([::1]:51186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIf2q-0000Gw-Es for larch@yhetil.org; Wed, 16 Sep 2020 17:32:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIf1e-0000Dy-33 for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 17:31:38 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:45556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIf1c-00018h-4g for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 17:31:37 -0400 Received: by mail-oi1-x22f.google.com with SMTP id z26so2547208oih.12 for ; Wed, 16 Sep 2020 14:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=snEMqeRuPmFFRd0esF+9dE1cYmTSoYwn6O/YCn6WJs0=; b=dXUniedfJMIPILaFiBSYYMXyYPcD4ZspdgL4whcQaSZGoD8ahy6TIfrCq2qj9rUmSi fMPEB/WYRrAHGKHKORPZDQYM/kOI227nF6PPQQxGMSVm9CYUZMN0jHmNXCAd8Su+FaJi VaQ0iygJulYWQ05V2xj38ieQks2VBvzvzN6ILBB/nLGCHkjnENY7PSDR3cYZbqET7dE7 u9nl03jqRSIhVHceji5S4UfnUzcBN/7ADS71gOuEN50th6tzB+ZqP/a98S08UkMx13aU 9ex/IQMRYsCye1cNwz5vH0Z6UY6zGNQ5MvUOBA3O7GEYLvbOMUDn9IM/dx5r7T7/TOer tluw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=snEMqeRuPmFFRd0esF+9dE1cYmTSoYwn6O/YCn6WJs0=; b=TS2ziQQLExTwdOHi2/W9t/Cmh0/2RgYiI2AkdGKEhe4n1YZHwb7WJgdTsKLxBI+h4M laThXFpNZEA81q4dFW4gEXleS0KOmUilUgNtb+erZxN981Biz3r36c21BwHQxGt4AO7I yirsYyhZ/i4KDtIIJeUQF1zTFjv/iiUu207MgpiXjOpyWzWQm4mf9irLEJ4VzCObmB0i cpqfiw4foG7KbO2kT5cbxyiVOnTPTt4q4U+lWuuJt0CtH0zaf3Y6FAp0jiX3AMBzEmTL 86gKJBkIlWi+yZMRwjpgrK+5Bn3qRvXVxZJrrAjxhdZA0lDcEL448MQRSyjYTalsMdTC 6YEw== X-Gm-Message-State: AOAM531YEvU7QXb52bqTbDgViLEpKAeShaAG8CKlb/eaMhwCtIiRlfvR cTukA6Ddisg8u4L1vP7cKPo4hbmbC74Qvm+YdMd3d7mvKfU= X-Google-Smtp-Source: ABdhPJwBceb4ic3AVrghkXkWcFqIfYkce7glcsC6QJtxpt1Oo9Tfr6aocVzUhmLIjE8j6tmKkXVNjV03yVRDjHRQxoY= X-Received: by 2002:aca:cdc5:: with SMTP id d188mr4272983oig.31.1600291893653; Wed, 16 Sep 2020 14:31:33 -0700 (PDT) MIME-Version: 1.0 From: George Mauer Date: Wed, 16 Sep 2020 16:31:22 -0500 Message-ID: Subject: Control where files are emitted during block eval To: emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000dbb73305af74fdb1" Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=gmauer@gmail.com; helo=mail-oi1-x22f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: , Reply-To: gmauer@gmail.com 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=gmail.com header.s=20161025 header.b=dXUniedf; 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-Spam-Score: -1.71 X-TUID: CvbRetJXB2ak --000000000000dbb73305af74fdb1 Content-Type: text/plain; charset="UTF-8" I would like to create a playground.org file inside my node project where I will put bits of code that I'm playing with during development. The problem is that when I actually evaluate a source block it gets written into a temporary location that I do not control - I therefore cannot `require` my project's node modules as they will not be found. Is there a way to control the location the temp file is written? Maybe - assuming it uses `with-temp-file` - a way to control its directory and file name generation algorithm via a header? --000000000000dbb73305af74fdb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would like to create=C2=A0a playground.org file inside my node project where I will put bits = of code that I'm playing with during development.

Th= e problem is that when I actually evaluate a source block it gets written i= nto a temporary location that I do not control - I therefore cannot `requir= e` my project's node modules as they will not be found.

<= /div>
Is there a way to control the location the temp file is written? = Maybe - assuming it uses `with-temp-file` - a way to control its directory = and file name generation algorithm via a header?
--000000000000dbb73305af74fdb1--