From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32615 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Lua: system.list_directory default Date: Mon, 15 May 2023 19:05:23 +0200 Message-ID: References: <87jzx9rb0w.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000772bbf05fbbe7604" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24799"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBX6MRGRQMGQEF3SDCFY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 15 19:05:41 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f61.google.com ([209.85.216.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pybdk-00068r-8c for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 15 May 2023 19:05:40 +0200 Original-Received: by mail-pj1-f61.google.com with SMTP id 98e67ed59e1d1-24e40246bb6sf6914938a91.0 for ; Mon, 15 May 2023 10:05:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684170339; cv=pass; d=google.com; s=arc-20160816; b=EA7ynNGK5evSqxauNSlyC7TYonGM4tXLU0NSm1shS47bM6QTcb4tArR9e1wQqAtik0 4FXo+AQ0soVhgPpagB1rlK3l277LJGvOjwaHDoAmSOaqfLBZ+tfBF4LvWPHnA5UPYNrA hPEOvv8XgwXyfqeI3G+w1RHxQH+MPzPtAVOpi8PfyKNVwXKVEDvPrz8t83x7XoJgM+5a Z6Vqp2TIu81ddUcswLCV9A4L322ePZthAaXd7PGT7XenlvC9+OMEZi2JAj+mQDbGhrIl 7EIAOEcDtayjeR6kB6IRE3ceknud5fhs3A6C81wd78Z9ZjZKR5yhTH6K8ePucmV/HG4X 1h9Q== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=d2dvusqMydU91te7wbOpA+irCqUdW8zMvsCcigcg3xg=; b=MuF+476nTSYifDGoVK4+6auh49KSXziuIzKBUZRuigYbllmtlmv8SFkR7lsULesp1L 9j7h7whfrO328OTxwwBpeaJU6eDHyLGtCx49Ry8AMYPPaRLe/fYN7rtLtMuyM8i5YcUv DIVmq9+pOH+cFtuVDjYOUYiECxqiu82YatDf8ifwN97G5YAzMAz5Oj8udoBj0o8Wvm4z NBpROp/JfOj9VZxrD7GatakJa4HEpdIBDzGtuezewMHZShD8XTPYGAd912UxVf33Bp2a PTjMgyAXVmt0M9lmXZzQ6uTLkS91QVDXY5xQudkxurqyd50WxMsD1QzPyALHzcJCcJgz rQaw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.182 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684170339; x=1686762339; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=d2dvusqMydU91te7wbOpA+irCqUdW8zMvsCcigcg3xg=; b=SMAm8ppueUqgnHAwvTbq0zIOis4WcYvCBmHqFEXHbM/NDZih/2mDOl8qaJLm5NabB5 OVxMEaLcR9pJ4iukR8L2ntA2MhpIxBplM7PhesRa/M+eY/Lg/P1w6f1pS/QbOFwJ4g+f RAgLZZyFbSOMR3SKSfDdxjH4H+M3eu9qnbPds4RtAtpe1GEf4N3xsg3a3ZZM3VdLZQoz 67fHMSD7zatmOjBsQliNfoTcNygklxGISB6jcuV1OtZkpOeZec4Q3RflVUkJl3M0KKpX zX48Q0aa8hLyrW9FM4gJU7NJcr6Cq45vSIJVzt4hvtZZhPyJ5hs6H1ClAqqZoxkN+c3w X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684170339; x=1686762339; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=d2dvusqMydU91te7wbOpA+irCqUdW8zMvsCcigcg3xg=; b=e9CnYLJfUQaP9/ps6LP3IzgteMZlO0DugM7tggS6JWqgSNGeSYQ1M9azudx0TXAEpA tjDTOVDfK8IUMcQ68paqxIePfXbVWHI/6WalQhW5A4MDxw31Az2uxHMsLPDbF1wbiimj HxzaC9PxQMDgA7f3OOc/RyS/d3+bx+i1VPEnzJpABxTt9qemDW1y2adcc2GD5Jb+GGVP n7XwHjWVHY36GdgckOo37TS23HPJHHE4HgNnaE3zf+IzrXJrfQ34jeUNdsfyw+93RgwK tHYm26 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDyvErZ5KGVoWkFFRr1D1FT7sgozYfoqupVHVUNDvPaxE+/aCVXR 13GGeSekEPKt/wLlYEjebr4= X-Google-Smtp-Source: ACHHUZ5C0SAfjlObzzXBUYNo2z1Slj99dLPLsji7vZF0MNAvbtglByHeJsIq5CtrAbDIK8ZpQsIiCA== X-Received: by 2002:a17:90a:9483:b0:250:6f7d:2670 with SMTP id s3-20020a17090a948300b002506f7d2670mr8278476pjo.3.1684170339021; Mon, 15 May 2023 10:05:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:903:74e:b0:1ab:90:b443 with SMTP id kl14-20020a170903074e00b001ab0090b443ls5181466plb.0.-pod-prod-00-us; Mon, 15 May 2023 10:05:34 -0700 (PDT) X-Received: by 2002:a17:902:c453:b0:1a9:a032:3844 with SMTP id m19-20020a170902c45300b001a9a0323844mr33019775plm.16.1684170334397; Mon, 15 May 2023 10:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684170334; cv=none; d=google.com; s=arc-20160816; b=bRhVVn1CvsN+ARq2ghdVxiUhMXqY8NLUwWChAnjTI2cmHqErnx1oUmxGLkDuhW4ofp y7x/AXF0eUkXJ/vqGChZwW2DhwjALoa683F1EoR+IDDKqe+yf2YX75qI2L8k45PsG8eD FR1ekADAW6ul/lsTBqtCzTKEvl/30DzoCkpOhiQdr8pwgaiIojN/Zjv6ng0F8gqSLmsc e+WYevnjJEsO2t65CyNnDugXVVmWNu82EkFjngfgE5IKhBoJODq5pFRUKftZcfkMClTM REMNdndZ69hg1sl1psiGbLhALIapX8DUE70NecXRGVSOZ/djgK76VwJ8ooJQspTEJWPA wjJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=XdOlVOxkkv9QkOMXK4bvTy5ur0fGZENn7esZ7P99PeU=; b=QnixWCZZmUJVu+WS2FSXpUej3SX2MKt/NGsG8PYcJ1G98uuhDGLi7fAowDKZa1/1gV 9dy41JZ3xl9yn6YydhubvqskkQI+3Ulz59S6XjPDhxkGkswljtXw/CjBQKUqrUViKLi8 yKsZ06o7uHE9A2E8RCSD1+GY76j7gCcxnvo9+/cDyopYnopO1yRbXvGxmJkeK6AEIU4O 8yEdnzjTiPqD8UtBJmhy3coxoRF2bytwjWbE+fVmF+/ySfKKQxqwi3pA5AEfiElmHdb2 wJZQ0OtGMwn3Q35RLBwCbONG8N2Hev+j9cgURS/+JGLlF7U2HZ2ePB9bn2rQQdJSof84 MDQQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.182 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by gmr-mx.google.com with ESMTPS id kx5-20020a170902f94500b001aaf7c46645si931407plb.11.2023.05.15.10.05.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 May 2023 10:05:34 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.182 as permitted sender) client-ip=209.85.219.182; Original-Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-ba76528fe31so10218354276.1 for ; Mon, 15 May 2023 10:05:34 -0700 (PDT) X-Received: by 2002:a25:b88:0:b0:ba8:ef9:af38 with SMTP id 130-20020a250b88000000b00ba80ef9af38mr30342ybl.9.1684170333419; Mon, 15 May 2023 10:05:33 -0700 (PDT) In-Reply-To: <87jzx9rb0w.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.182 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:32615 Archived-At: --000000000000772bbf05fbbe7604 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den m=C3=A5n 15 maj 2023 15:16Albert Krewinkel skrev: > > BPJ writes: > > > The Lua API manual says > > > >>>>> > > > > list_directory ([directory]) > > > > List the contents of a directory. > > > > Parameters: > > > > directory > > > > Path of the directory whose contents should be listed. Defaults to .. > > (string) > > <<<< > > > > Is that really meant to say that the default is the current *parent* > > directory? > > The default is the current directory; it's a bit clearer when looking at > the docs on GitHub: > > https://github.com/jgm/pandoc/blob/main/doc/lua-filters.md#list_directory= -pandocsystemlist_directory It seems to me that the sentence-closing dot should be moved to the right of "(string)". > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > 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/87jzx9rb0w.fsf%40zeitkra= ut.de > . > --=20 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 e= mail 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/CADAJKhCatUSAe-Yy6vU-xu6cNXLNztt%2BCS4GHr8YNpZVpzZHMw%40mail= .gmail.com. --000000000000772bbf05fbbe7604 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Den m=C3=A5n 15 maj 2023 15:16Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org= > skrev:

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> The Lua API manual says
>
>>>>>
>
> list_directory ([directory])
>
> List the contents of a directory.
>
> Parameters:
>
> directory
>
> Path of the directory whose contents should be listed. Defaults to=C2= =A0..
>=C2=A0 =C2=A0 =C2=A0(string)
> <<<<
>
> Is that really meant to say that the default is the current *parent* >=C2=A0 =C2=A0 =C2=A0directory?

The default is the current directory; it's a bit clearer when looking a= t
the docs on GitHub:
https://github.com/jgm/pandoc/blob/main/doc/lua-filters.md#list= _directory-pandocsystemlist_directory

It seems to me that the sentence-clos= ing dot should be moved to the right of "(string)".





--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe=C2=A0 e836 388d c0b2 1f63 1124

--
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@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-disc= uss/87jzx9rb0w.fsf%40zeitkraut.de.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhCatUSAe-Yy6vU-xu6cNXLNztt%2BCS4G= Hr8YNpZVpzZHMw%40mail.gmail.com.
--000000000000772bbf05fbbe7604--