From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oFC1IrMgb2QcEgEASxT56A (envelope-from ) for ; Thu, 25 May 2023 10:47:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uEy1IrMgb2R7igAA9RJhRA (envelope-from ) for ; Thu, 25 May 2023 10:47:47 +0200 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 3FCF6ED32 for ; Thu, 25 May 2023 10:47:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q26cl-0003EW-K7; Thu, 25 May 2023 04:47:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q26ci-000391-Kd for emacs-orgmode@gnu.org; Thu, 25 May 2023 04:47:04 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q26cg-0003cn-UE for emacs-orgmode@gnu.org; Thu, 25 May 2023 04:47:04 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f6dfc4e01fso828585e9.0 for ; Thu, 25 May 2023 01:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685004420; x=1687596420; h=mime-version:user-agent:in-reply-to:date:to:from:subject:message-id :from:to:cc:subject:date:message-id:reply-to; bh=K766UmoSsgASdpg5+XpHpVen6Izmr05Pl030uOfcpVo=; b=Y/HA8+vLEV0edxsD+x4Nnek3OiyLD2z7zBAjcOwydbzLnG8EFZBZe2QXlBPWP9JwV2 7dIjDl56eXv0j2E5Rg6sJRtIjA5MJMC2FgVy2woeRmRAJl3evmVD/V5FhIgbeCS6tk4z yfDLdGVUg7OQFf1LVM4dKl+WLlbT5aZnqE8M3zF2uG7O809dfWA4ZRAZzPySfJO7niGd pj069wGQV/gK4cvvsVY2uysPU2aSBLEc8oifHHwpJYas+6giTQMl7dzHc9m2C2EJZCJ1 Se52OuWYyi3DddaEuzO1cC4D+cVaolU5PPVLRpMmo84FIh/J0nKgGUEwUu2zuiUbrEfX TeXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685004420; x=1687596420; h=mime-version:user-agent:in-reply-to:date:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K766UmoSsgASdpg5+XpHpVen6Izmr05Pl030uOfcpVo=; b=QriPJHQgbkM7IWUa/KS0Q9Brd+upSR1VBgWQvM+sixquGEUY13tB63JU7X4Xpe8xQG cEQo6c8geoT/THVtsAn5Uwbgzz1iAg/Fd0Q2poJ/EvzADSl0WA4YW7oQmgnYTVL9g9In djgg9aCNG35ieTq+ZZE6BxTyiheX8h7luOzldGx9cxEax2PvJLweGRKCsobUkoTrGOF/ IcejVTHRBGNH3QD4Z5Nc8nBxxYAYyXsdKEhnuseGsneFR+myrELW6TpzJDlE++sEfRVC AEKhVC4N64i15TWNMIWmXXUiJ5gTYMbiIMnQFAIcds/hmAcAPoHHA2fAF5vi68orURcq uL3g== X-Gm-Message-State: AC+VfDwY9LaBTK4PR6gvZnrz7ZxQnBHnCcH17GxBVj2cIa7PgH1WcD7I gfktRk2aJXYQz9qPnd5snUm1vquxl+U= X-Google-Smtp-Source: ACHHUZ51cMZb6pwNV9RbEnyFYXyEYP3XZAFBIFiuE9GxzSpkFYuiQM2X94X0O9cXejG6IB51fpTn+w== X-Received: by 2002:a1c:e915:0:b0:3f6:8f5:f9e4 with SMTP id q21-20020a1ce915000000b003f608f5f9e4mr1638356wmc.35.1685004420328; Thu, 25 May 2023 01:47:00 -0700 (PDT) Received: from ?IPv6:2a01:e0a:59b:20f0:990d:8217:9a24:1e2? ([2a01:e0a:59b:20f0:990d:8217:9a24:1e2]) by smtp.gmail.com with ESMTPSA id 8-20020a05600c024800b003f4e8530696sm1273619wmj.46.2023.05.25.01.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 01:46:59 -0700 (PDT) Message-ID: <9e86ca9845025074d9cabee6b73f0847fd6e24b8.camel@gmail.com> Subject: Re: How to convert an HTML export bloc to a normal Org Babel output ? From: copropriete27ruemoret@gmail.com To: yantar92@posteo.net, "emacs-orgmode@gnu.org" Date: Thu, 25 May 2023 10:46:58 +0200 In-Reply-To: 87a5xtorfc.fsf@localhost Content-Type: multipart/alternative; boundary="=-uDz4Jxv71LzzlV92bOU0" User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=copropriete27ruemoret@gmail.com; helo=mail-wm1-x332.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685004467; a=rsa-sha256; cv=none; b=UaqJyzrY00Qo3fRtemiOWpmQ6ejxapS7wDhFcfrMP25t144XGvGISJ2oF+EuJt08z0lwGD 9Ogxiz5BgE9kQe5drPUCPL8k3IpvQAzjOztnMpj17ldKzUya3sUT5C7gJLfAmX7+whZ3+6 V8WRjI5hw6AZNr7MsZT+6kRlxgGJKc2n3EehGYlyjibYtPSLbkw5SCefhmX5GdjBtoBYRV SaCTa9TCL3iXOMXne/9+qh6rrBOeWFd6iRLpB9MopdQxid/+PYu6T8qfi0cUxp89I1pblB nDS4mHF3Fcqvxdk499qmksITzdSE6P4tkhUd/08AA5QhKexwbZ2a1sruAnWN7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="Y/HA8+vL"; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685004467; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K766UmoSsgASdpg5+XpHpVen6Izmr05Pl030uOfcpVo=; b=JvY1AkVx7FLOVEgeTX9rU6GVDJgUSQ0L6PurTAZneEv8LwnYDgfVf/iWBqzXAvo/ij8YON qf76Mvrsu6hfgshn2jWWVwhxyZtOFsxAecFro7fa4pjqLVGiIAa5069+orpZmuOf4pM6Zv SdpK6x8vK7zToK5wW7dxf4Yn3t/yLQB7Kfu2o0qstxh8pUi08HfskBMrMqMxsrfIiVWOck Cad2i5Z6HG/aAbqgqYOJo1u5keajrE0/pojZFUMCMGbLjCmNPyrsKDVJhGrtQPdY2wVXJd QxIsOsYN4B7/GOudirDiHHzxn0wixHABRtHJRIP7Ib3CSmdpeDw6GjoGapnCqA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="Y/HA8+vL"; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.83 X-Spam-Score: -3.83 X-Migadu-Queue-Id: 3FCF6ED32 X-TUID: NOQhnTqve/mY --=-uDz4Jxv71LzzlV92bOU0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable [ For some reason, an answer posted yesterday seems to have been lost. Rewr= iting/reposting... ] Nice answer ! I suppose that this is more a misdesign than a bug (limited g= oals of Dyalog,that emacs-jupyter cannot alleviate). Your suggestion worked. But now, I have to pass to my `:post` function vari= ous arguments that a "normal" source block handler should have done. Is the= re a way for the `post` function to access the (say..) `:results`, `:file`,= etc... arguments of the source block ? Sincerely, -- Emmanuel Charpentier --=-uDz4Jxv71LzzlV92bOU0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

[ For some reason, an answer posted yesterday seems to have been lost. R= ewriting/reposting... ]

Nice answer ! I suppose that this is more a misdesign than a bug (limite= d goals of Dyalog,that emacs-jupyter cannot alleviate).

Your suggestion worked. But now, I have to pass to my :post= function various arguments that a "normal" source block handler = should have done. Is there a way for the post function to acce= ss the (say..) :results, :file, etc... arguments = of the source block ?

Sincerely,

-- Emmanuel Charpentier

--=-uDz4Jxv71LzzlV92bOU0--