From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32047 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Lua filter to process chunkedhtml output Date: Fri, 20 Jan 2023 16:29:20 +0000 Message-ID: References: <1D22B433-211B-4033-8A63-F637F52B2008@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f6a94805f2b48da3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="967"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBB3UCVOPAMGQEUHMX5QQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 20 17:29:38 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f62.google.com ([209.85.221.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pIuGo-000059-0P for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Jan 2023 17:29:38 +0100 Original-Received: by mail-wr1-f62.google.com with SMTP id l8-20020adfc788000000b002bdfe72089csf1045080wrg.21 for ; Fri, 20 Jan 2023 08:29:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674232177; cv=pass; d=google.com; s=arc-20160816; b=cp4WoZAVv6lUrz26xZPBPYd3lKHjB5jrWphmpmxlj+Xra5ejf3nJiLPwJxGMsaOfez LEHjAZQne3+owJpxWW9b2AwQTYQ3OcSOjJQeMGbY8vdaGsp05z49I1UpnqA7+hBWbT+Y HZvhVGbO+vdvHu6Tejcu+m69frY2TCgwkC6eB1csUVNjBwBfR664Gv1qLRxchpgTlWSl rngGNt41Eq9x2IlpqrYwjpE01JTarjf13X0En1O74TgDooXuZbrpOyQaSZW4rIxX4jYe NMgVY06KVUJygcCv+vexTQlDeZR5fhSRRvVl6C03PZpHeMn5xLkTXqET2RE+GbJU05Cs tMpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:dkim-signature; bh=EcqL27/wNIkv+w4Qfbz3kQYeyCYaIqcPrrTBDDegvzA=; b=UCLivCaNfzS3ck6eeD9Am/c35wq55TFyYsu1Sr8+CQ2d23V02ZVeT3IorcC+1Tq1LV 9rfRt79IF0nA2CQpzUSEK8Zl8VWMI03KKqcjAeCUW6S2m4vXhIeP24d/Rbp25+RbOy2j js57917rC9VeHJYMNCNcw4t54v9up5S/GWH+UvgPMMijM+ofIoT6MqgWN1MPG/HVvQ5p c/z7X6Jmx/ODIBPezOa4m4oTYgL0trweQnXg9OrRc5jsQvs3WVhBj6O5dD1FoIMzNZhD g/SMfN80Gl9QxxxajACqQYvBI3gDrCaP9dlwjyqFknmf4L/ubkWxzEklL5Fn9HuTjrWA NKtg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=MzQz9dwt; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=EcqL27/wNIkv+w4Qfbz3kQYeyCYaIqcPrrTBDDegvzA=; b=dO1pX1tT2GLgDcTBwAuDvNOJVDvgOAH0zXizNs6DgD4wGtEPvSpF1z4jh75vWKfSS/ u05qmAzP1UW8dQ5OA1EfaPot0KVkX0pGaeH1XZpsl/knKTyn+xe0+HFISxsH3fjK2frh yZ2lNmnm2os0d4gljVgDY4Xe3fTt9QpnDZFKn1q+jgGlMhzH45hQAd3L8QnYVDoDs5AF r9tOw3IWr3tIQASaf/ugRkaF7AiPLNK5SvkRnnVCTnjI0ecHil89bm+2Mdg3yLJ0ncXr HeA3sVUD24/4puiraahfvUyUH7jXFS1brDQtCESDGm67ZT4q4a6OfphTtnTZDsZGlOgs mVnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EcqL27/wNIkv+w4Qfbz3kQYeyCYaIqcPrrTBDDegvzA=; b=FrEu+lknosz0ywKu4D8EpMlHZyADzTxdCH37Y1PNZKvLDjXI8j1DZRn8jIBimg19Xm /Vi7JjZ6eDLmbcgN8OnjaPAlaGNtnm3sZkZDLXGUxOgUImmBmGQr3a1SbVYEUB7Kv8PS F54oU2RU+2xTa5mVMUnwbU3qvz0tpj/FYWtqNIJXfiZTEXO3HmgeANJeqhAaaaQArjBh 5CO0I4hPjXOkDp7LmvnyG/mLlsbPWAzv7QFMOAl9ucwWRqTrAQXnsKyi6yVmcDz/Op0H +KtggBCzpw5N7XYUB8iA8TxlRvW/ujHlsim/ouiVPpe/nH2HwjASLlmm/EvyRh8 X-Gm-Message-State: AFqh2kpX12Rw6H5atAPprVOVbsoDZCa4jgyN72ZT4EXS5qxutPNWHANe WFtUvf3Uk9O5B/WVgQ8yKrQ= X-Google-Smtp-Source: AMrXdXu2NP+p2QV4hMOh0lqXv2Xbqba2QQbgfMZ+V2848hiEvrK+6OeZY0dCrrtmHZwE2n9d56FmyA== X-Received: by 2002:adf:eb51:0:b0:2bd:dc3f:365f with SMTP id u17-20020adfeb51000000b002bddc3f365fmr688203wrn.446.1674232177559; Fri, 20 Jan 2023 08:29:37 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:3c7:b0:2be:34f5:ab03 with SMTP id b7-20020a05600003c700b002be34f5ab03ls2096697wrg.3.-pod-prod-gmail; Fri, 20 Jan 2023 08:29:33 -0800 (PST) X-Received: by 2002:a5d:43d2:0:b0:2bd:c962:cd35 with SMTP id v18-20020a5d43d2000000b002bdc962cd35mr12999010wrr.68.1674232173793; Fri, 20 Jan 2023 08:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674232173; cv=none; d=google.com; s=arc-20160816; b=Wze4z4o4iSru/sOWMQgvhOcAmydbY+I5ivoBaVum0eb9SUhEl9zONsx7Ihgb52P/+Z wD97lRO7Li1ocED90cowtMpm2M6OPrugX75JTqGTsB7MrrMNLjklmp8YmNXAhkC3RfM8 H3dM+OrBIB1U0m7t1ePfeGUCyk+m2RD2aghOa9lt3ExRG+ahPSJkRQn/2ki90iAdGlZm FTLBlELb6zBB9rHr6wOiJGiNvlDlqoZFCJRbDly59NLsa3wB3bwSBMzRe7HpMefvHw2l BcnuIvIsfD24YkQqsrOwsc4PasA5DohMOqDDJuj4bBSshrBFoRCo1oUqIfQ8fF0IkjrE e/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Un1Uq9509+9u+i1BPZi031HNbyGhTHDaMXbYAUaf8Gk=; b=ZUvxW/2ZzBAw/kgC2quxA/csI3Aomb2iufqM3O8Z/SpDp6hG7kZNuF3IlPpB2Nefje ayjiEd4B+YRzcqenDC9J67Vuoq18qE8fAxJuaaZ5t47x8mlopJCox9cvxlBlbLlBy5WF PRRy3wguKhoMU/GKzNxnuV14wGw/9WxL7MB5I/Kmbl0eUy8/IimULeYyaR7nuoX7hRBp zuvuXBidQhHPk3vJItZo2fUar6LPXMsmIe502y4ItnhzLla3o3uNVsSxFyYxZeQgOPVA ahPdDM1Yp1SlkIDVSV79ROjsVkgyBHaTa1i4IN0/p0XrenurEcPo0Qpgs2mvgs/Mxm7Q V4TQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=MzQz9dwt; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com. [2a00:1450:4864:20::533]) by gmr-mx.google.com with ESMTPS id k18-20020a5d6292000000b002bf9650b759si20022wru.2.2023.01.20.08.29.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 08:29:33 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::533 as permitted sender) client-ip=2a00:1450:4864:20::533; Original-Received: by mail-ed1-x533.google.com with SMTP id x36so7342074ede.13 for ; Fri, 20 Jan 2023 08:29:33 -0800 (PST) X-Received: by 2002:aa7:d1c3:0:b0:49a:b8ee:ef4b with SMTP id g3-20020aa7d1c3000000b0049ab8eeef4bmr1481895edp.143.1674232173335; Fri, 20 Jan 2023 08:29:33 -0800 (PST) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=MzQz9dwt; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32047 Archived-At: --000000000000f6a94805f2b48da3 Content-Type: text/plain; charset="UTF-8" Thanks Albert. I expect I'll raise an issue. I assume that this is the only use of light userdata? Looking more closely (why didn't I do this before?) I see that tostring() returns 'userdata: 0x0' for these values, so I think it makes sense to report them as one of: - Whatever tostring() returns - As above with the leading 'userdata: ' removed <--- probably my favourite - As above with '0x0' reported as 'nil' (not sure about this) On Fri, 20 Jan 2023 at 16:05, ChrisD wrote: > On 1/20/2023 2:54 AM, 'William Lupton' via pandoc-discuss wrote: > > I investigated, and parts of the writer options are "light userdata" (I > hadn't heard of that). I've committed and merged a fix that will report > such items as "". You can now list most of the writer options > (just a few colors show as ). > > Your update works well. (I didn't know about light userdata either.) > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/fbca8e05-fed7-39e1-08f0-0498c399f33f%40intielectronics.com > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxiJdneKg%2Buqja3tdaWzQSWmc5NfO0aMFKaUGa_W1U5%2Bqg%40mail.gmail.com. --000000000000f6a94805f2b48da3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Albert. I expect I'll raise an issue. I assume = that=C2=A0this is the only use of light userdata?

Lookin= g more closely (why didn't I do this before?) I see that tostring() ret= urns 'userdata: 0x0' for these values, so I think it makes sense to= report them as one of:
  • Whatever tostring() returns
  • <= li>As above=C2=A0with=C2=A0the leading 'userdata: ' removed=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<--- proba= bly my favourite
  • As above with '0x0' reported as 'nil&#= 39; (not sure about this)

On Fri, 20 Jan 2023 at 16:05, Chri= sD <cd34-gg@intielectroni= cs.com> wrote:
On 1/20/2023 2:54 AM, 'William Lupton' via pandoc-discuss wro= te:
> I investigated, and parts of the writer options are "light userda= ta" (I hadn't heard of that). I've committed and merged a fix = that will report such items as "<pointer>". You can now lis= t most of the writer options (just a few colors show as <pointer>).
Your update works well. (I didn't know about light userdata either.) Th= anks!

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/fbca8e05-fed7-39e1-08f0-0498c399f33f%40intielectronic= s.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CAEe_xxiJdneKg%2Buqja3tdaWzQSWmc5NfO0= aMFKaUGa_W1U5%2Bqg%40mail.gmail.com.
--000000000000f6a94805f2b48da3--