From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id OPpZD1p86GEvzQAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 19 Jan 2022 22:02:18 +0100
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id CEGgDFp86GHTFgAA9RJhRA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 19 Jan 2022 22:02:18 +0100
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 D41AB1B1BD
	for <larch@yhetil.org>; Wed, 19 Jan 2022 22:02:17 +0100 (CET)
Received: from localhost ([::1]:37408 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 1nAI5x-0006Gy-0r
	for larch@yhetil.org; Wed, 19 Jan 2022 16:02:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44038)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <luis.osa.gdc@gmail.com>)
 id 1nAI4p-0006Cq-A5
 for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 16:01:07 -0500
Received: from [2a00:1450:4864:20::534] (port=36388
 helo=mail-ed1-x534.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <luis.osa.gdc@gmail.com>)
 id 1nAI4m-0006bS-UX
 for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 16:01:06 -0500
Received: by mail-ed1-x534.google.com with SMTP id l5so2019806edv.3
 for <emacs-orgmode@gnu.org>; Wed, 19 Jan 2022 13:01:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=cFkUsz13Lr9kf8PYGhXcabwU2fN6OVznTgIB/5JzLUs=;
 b=DkexNAbMUDjjYSP7qcZu4PKMo9nX7krsmxZFA4LJwnN66rXgoL/EMqYbHEyVn3J7KZ
 6ulQSxN2IhhTNGd0AzwBwy48rmYNLEZoXwjkyLZB+aDBMBQ7Le1KhFgQekcFvdCYijaH
 5oDwraSU0YhIE2uYZePdYHzkVKm1Po0nlx1kc+c/eIfDJc8e+vVtzQh+VnphfCJr/W1I
 IHM6RJIv3RBJXNkCqn28KZy4l/7aLNHtOH+EdxD9/jXsbkj7Q53d8DjncBkHHpkFZZRa
 HcHS86lI4UdgfodJZxckIxw8hKhS0MBOSmE1+1BO1MBB8pARFLROjcGoEM+EktyIrTdu
 TFgA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=cFkUsz13Lr9kf8PYGhXcabwU2fN6OVznTgIB/5JzLUs=;
 b=pagKgUu3OgzCKbNIjB8qW6BHHGPVzUlypINWTu+LjTh/w8CuoPesCnMvjtCfCUnwXy
 1Il3NOHS1OkkQ6ChhSpq8X89krIZA4C7378v3k8JxEu6OGWWQNPPYJ5t3i7r/zoO3p7c
 RbG4OXPf0Mio9gYg1w4fzKZsKpALUqwU2WsrakKOSEpTR6HiJGny9EmnjT9IP/VfXQ17
 Cmc+Ar81rArNIS6vCFieCyScxbVeBk8Ntr7NyZ7XWt78VH/jMCU6oHirMFdU3MzLCkOs
 E+ggskdklo3jkTYjRbUtKoSUgKkR1I+ldw44JxpvF0bY6eTsSS3kzF3BZOGV1X6IylYF
 aNTA==
X-Gm-Message-State: AOAM530To1Rg2PLha9sQAT66UR4PWfUuUs/9XuJeHNnco0610tzFDsxg
 z+xhlkCNJ0J6vaCUT8+O416Xwhml84KbYTeq1OQ=
X-Google-Smtp-Source: ABdhPJx8JhI1Ui6Ryzi/L//sQglswDMqSj4d3rGyhU3W0EhYZkjPU118lg5HsraDxcDNQlw0UrGjt0KVTB+Nt6sHtKQ=
X-Received: by 2002:a17:907:9806:: with SMTP id
 ji6mr27586159ejc.463.1642626062807; 
 Wed, 19 Jan 2022 13:01:02 -0800 (PST)
MIME-Version: 1.0
References: <CAHf_bEO7TuOA6aa-DjYb3PWTfvBybvncDGa1iQ+6dBsTQ1ShdA@mail.gmail.com>
 <CA+G3_PNkecusXFfOYTRKiNe+et0xXdz_tXOVunSetdC7hvxJtA@mail.gmail.com>
In-Reply-To: <CA+G3_PNkecusXFfOYTRKiNe+et0xXdz_tXOVunSetdC7hvxJtA@mail.gmail.com>
From: Luis Osa <luis.osa.gdc@gmail.com>
Date: Wed, 19 Jan 2022 22:00:51 +0100
Message-ID: <CAHf_bEMfL1XtxjBiT0MbrjUbBNG3L4W47-43c30+5HLVLdrN+w@mail.gmail.com>
Subject: Re: Problem when tangling source blocks with custom coderefs
To: Tom Gillespie <tgbugs@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000f8f82a05d5f5aefa"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::534
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::534;
 envelope-from=luis.osa.gdc@gmail.com; helo=mail-ed1-x534.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
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>,
 Nicolas Goaziou <mail@nicolasgoaziou.fr>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1642626137;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=cFkUsz13Lr9kf8PYGhXcabwU2fN6OVznTgIB/5JzLUs=;
	b=hii7b5dlE9IdLERCXaH5xU5lz6ZBfNCpEiZd8wSaf67E8STx4JorhxMIKSwIsBCDR4Fb6P
	yFTg1DEJaScIhkpmPR3v/u/MikUwR/SGDlCRlWbogenc4muFGvUr+FY8z18nzSUv/T3HJU
	SRgcsLqsWSC7WoWdXdiWI91ptG/Y9fWEdfKAgWZnWeUdqtSaSpBGwZY5FlJmCPcb7M+5gO
	mC7BSihfSqGb2Xsv3g6H7rY0PNlPrCIUYcmbd4r1pKSMn8U2y8smLZt87FQYfRAkSUXopi
	9eMdHTDx1Y8BkMpGMETF18n60QNA0q8wsNVa3LJxsBS7cozg+LhzLFK2UrpxJw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642626137; a=rsa-sha256; cv=none;
	b=NGINL8zGB1+3sVuSUmDnWDKD6io2eG8W1cRbYioMMzqJ0t7uu7/oLBWHW+W0WsaJ0f1Zax
	Cwsaw0qQZ14hggJZFTBokKSFxocEplpLotoad4iPHWzCEafG1DAGOhZlFgVPs5QrPTybMT
	Bi8VhtCDbPwPFOgLAA1ljIeFYvplqDwjrwTfFyxoBUaQpYsftVQhbZz9Hgk1NyKhLUlmtQ
	FNIN0I1yMnwGlIUVP1ZxM26L+1Q5XgrJeCwePzRHYjJWpjsuzEp7ucH3XYKOxhd2kVmqZY
	rHf+owJoU5gj8xe7Je/3qG6jZAYVTvNRLN78Io5r448U0V/Q10ERfHD6jfPaaQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DkexNAbM;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -2.02
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DkexNAbM;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: D41AB1B1BD
X-Spam-Score: -2.02
X-Migadu-Scanner: scn1.migadu.com
X-TUID: RbBvN/x4Ht1y

--000000000000f8f82a05d5f5aefa
Content-Type: text/plain; charset="UTF-8"

Hi Tom,

The simplest fix right now would be to prepend your coderef
> with the python comment symbols # |hello| so that at the very least it
> won't break your tangled files.


Actually, that is exactly what I have done as a quick fix. It has a minor
inconvenience: anything else included on the line is colored as if it were
a comment in the final PDF, and I intended to add a symbol to mark the
reference. Not a big deal, but it looks different than intended.

I would like to see this implemented,
> so let's see what Nicolas has to say.


I would like to contribute something. Maybe a test to show what is the
behavior to expect. Thanks for your reassurance that this is not an error
on my side!

--000000000000f8f82a05d5f5aefa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div dir=3D"auto">Hi=C2=A0Tom,</div><div dir=3D"auto"><br></div><div><=
div class=3D"gmail_quote"></div></div></div><div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex" dir=3D"auto">The simplest fix right now would be to prepend your coder=
ef<br>
with the python comment symbols # |hello| so that at the very least it<br>
won&#39;t break your tangled files. </blockquote><div dir=3D"auto"><br></di=
v></div><div><div dir=3D"auto">Actually, that is exactly what I have done a=
s a quick fix. It has a minor inconvenience: anything else included on the =
line is colored as if it were a comment in the final PDF, and I intended to=
 add a symbol to mark the reference. Not a big deal, but it looks different=
 than intended.=C2=A0</div></div><div dir=3D"auto"><br></div><div><div><div=
 class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" dir=3D"auto">I would =
like to see this implemented,<br>
so let&#39;s see what Nicolas has to say.</blockquote><div dir=3D"auto"><br=
></div><div dir=3D"auto">I would like to contribute something. Maybe a test=
 to show what is the behavior to expect. Thanks for your reassurance that t=
his is not an error on my side!</div></div></div>
</div>

--000000000000f8f82a05d5f5aefa--