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 qOcjLhkjK19mfQAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 21:22:33 +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 qA/iKRkjK19JAwAA1q6Kng (envelope-from ) for ; Wed, 05 Aug 2020 21:22:33 +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 EDD9F9400BF for ; Wed, 5 Aug 2020 21:22:32 +0000 (UTC) Received: from localhost ([::1]:45304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3Qrm-0007zU-QW for larch@yhetil.org; Wed, 05 Aug 2020 17:22:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3QrE-0007zF-44 for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 17:21:56 -0400 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:33667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3QrC-0001jj-Ff for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 17:21:55 -0400 Received: by mail-oi1-x231.google.com with SMTP id 25so17353512oir.0 for ; Wed, 05 Aug 2020 14:21:53 -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=b33XpMOkaE+Or3Ll/dnUqobwK/9M1BEGDTLn1tH3YF4=; b=Bpl2g5NHdLzRbYPYZat+rSqqzxPf4ec2Ihc5em7baYYgb41Vz+X3tS9VCLnaLRsoF2 v240n+QzOzthu9gyqx9K8D5HKQP9beSOqcmxegoOyD3E3gSYnIcAS2U7WYXz+QhdZiN0 h4WzpJKUBV13qbDjZGb3BoZ/8byY6xMUTVZgBTdksgEC2zC/tX0JZEXYI9jYhNuSruoc BchIzzsy9OIaCx+Np0/z1FYaiXIA27LhyYm1i4VPxhqPUvj1+/wQcnxqmvfGjfnHd029 g8IeVwQBh80EuR9DvoKcSld2y/Htl4Q3G1yPioa3Q7oQHupRJdm/5OVLPBZRa88+lr7e O8dA== 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=b33XpMOkaE+Or3Ll/dnUqobwK/9M1BEGDTLn1tH3YF4=; b=iqyZRJ5mx3BqYqTIgIsDoIFGWsy8EuYQriJOZa6vSwSEN6q6oNMTRA81+BN0wfskfB Jtw6Jfr5GDD4LHa/o4+gTCWJoBucWELrnmvdRknPx91uAShgr1nZNrYIHktkZLE+itAc oWHAcJQMv6uQla2z4wfRTBYUoqoHFDtcx3LuZLsR5JXnV1UMqPFbJXHroJN64gKkZ0xS 34JWk+457UKBi8clcG8UEg+BJTQYswAgEi3Ebkja40GCte0ATaW0HL7tcDs3Wld6TLZC wWTWK1tZLVSKJlSsDv3ed0jGlg0/m5hik7TPyXV130BjJnJkpxS3dkg4Mvj92IS99A6a CPig== X-Gm-Message-State: AOAM533f38iGqyJj77SbW5gwVpz/WN03Kz6VT1MiDtlm1LPX5w86u4Ti Y1y9iwhEq0b/cYfaQi1vulxJ1Heolkx846wMLE/IHoIc X-Google-Smtp-Source: ABdhPJw2+GU4sugNFftl6Ax9hWGBMh6O5m1tzAJ8lEsuT+b1iQdWNVt9jI7/kQNfFdF0Fa5Ne0UWbnsz6bx1RO3JgKo= X-Received: by 2002:aca:3dd7:: with SMTP id k206mr4232763oia.31.1596662512355; Wed, 05 Aug 2020 14:21:52 -0700 (PDT) MIME-Version: 1.0 From: George Mauer Date: Wed, 5 Aug 2020 16:21:41 -0500 Message-ID: Subject: Can you automatically noweb include? To: emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000e00c2905ac27f53f" Received-SPF: pass client-ip=2607:f8b0:4864:20::231; envelope-from=gmauer@gmail.com; helo=mail-oi1-x231.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: -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_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, 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=Bpl2g5NH; 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: -0.71 X-TUID: 8Er442v7NGFw --000000000000e00c2905ac27f53f Content-Type: text/plain; charset="UTF-8" Use case: I'm using ob-racket but this would apply just as well to a few other workflows I have with python or js. I would like to write a helper function in a src block and then automatically have access to it in other src blocks further down the document. I don't really want a stateful session (nor does ob-racket support sessions) so I essentially want the equivalent of automatically including it everywhere so I don't have to type it out all the time (and have it screw up syntax coloring/indentation). Is this currently possible? Does anyone have any ideas for how to extend things so it is? --000000000000e00c2905ac27f53f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Use case:

I'm using ob-racket=C2=A0but this would ap= ply just as well to a few other workflows I have with python or js.

I would like to write a helper function in a src block an= d then automatically have access to it in other src blocks further down the= document. I don't really want a stateful session (nor does ob-racket s= upport sessions) so I essentially want the equivalent of automatically incl= uding it everywhere so I don't have to type it out all the time (and ha= ve it screw up syntax coloring/indentation).

Is th= is currently possible? Does anyone have any ideas for how to extend things = so it is?
--000000000000e00c2905ac27f53f--