From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
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 XuRNEO5cmF/zQQAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 27 Oct 2020 17:46:22 +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 SHe3C+5cmF+9HgAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 27 Oct 2020 17:46:22 +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 C53419402A8
	for <larch@yhetil.org>; Tue, 27 Oct 2020 17:46:21 +0000 (UTC)
Received: from localhost ([::1]:40208 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1kXT36-0000gU-Il
	for larch@yhetil.org; Tue, 27 Oct 2020 13:46:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42544)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <minshall@umich.edu>)
 id 1kXSvt-0000vQ-59
 for emacs-orgmode@gnu.org; Tue, 27 Oct 2020 13:38:53 -0400
Received: from hiwela.pair.com ([209.68.5.201]:60902)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <minshall@umich.edu>)
 id 1kXSvr-0003Zw-3Z
 for emacs-orgmode@gnu.org; Tue, 27 Oct 2020 13:38:52 -0400
Received: from hiwela.pair.com (localhost [127.0.0.1])
 by hiwela.pair.com (Postfix) with ESMTP id 193E198057B;
 Tue, 27 Oct 2020 13:38:47 -0400 (EDT)
Received: from minshall-entroware-apollo.cliq.com (unknown [31.141.86.61])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by hiwela.pair.com (Postfix) with ESMTPSA id D5A3E8F0850;
 Tue, 27 Oct 2020 13:38:46 -0400 (EDT)
Received: from apollo2.minshall.org (localhost [IPv6:::1])
 by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 6FC9960882;
 Tue, 27 Oct 2020 20:38:45 +0300 (+03)
From: Greg Minshall <minshall@umich.edu>
To: Tom Gillespie <tgbugs@gmail.com>
Subject: Re: best practices query: non-emacs packages based on tangled source
In-reply-to: Your message of "Sun, 18 Oct 2020 02:01:20 -0400."
 <CA+G3_PNo8i8U9rOrC8BBydjEv9=LKgtJBopwX9J6vyNXdnjtXg@mail.gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <571605.1603820325.1@apollo2.minshall.org>
Date: Tue, 27 Oct 2020 20:38:45 +0300
Message-ID: <571606.1603820325@apollo2.minshall.org>
Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu;
 helo=hiwela.pair.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 13:38:47
X-ACL-Warn: Detected OS   = FreeBSD 9.x or newer [fuzzy]
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>, TEC <tecosaur@gmail.com>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none);
	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.91
X-TUID: iZA0GiRZuDDO

Tom,

thanks very much for your very detailed analysis and explanation of the
issues you've had.  it's taken me this long to read through it
carefully.

the issues with python source blocks [C-c C-c] versus [C-c C-v C-t] are
in fact unfortunate, as it does make it hard to develop without lots of
tangling.  (i've run into that before with Python/org, but without
really understanding what was going on.)

i mostly write R code these days, and it's pretty happy either way.
however, i also write javascript code, and while i do it for front end
(so, don't execute it inside of org mode), i suspect it has the same
issues python does of conflating file names and modules, and might
benefit from some enhancement you suggest about treating source blocks
as "things" to be imported into the running babel session (maybe an
enhancement of <<noweb>>?).

for me, my ideal will be when the org "language" is documented as an
RFC, and people have produced stand alone tanglers, so i can release
code, and others, without emacs, without org mode, can edit the "source
of truth that is the org file", and run make to tangle and build
whatever random software package i'm releasing.

again, thank you for the reply.

cheers, Greg