public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Lua: system.list_directory default
@ 2023-05-15  8:40 BPJ
       [not found] ` <CADAJKhBSHx_eqKiMYFAxJU+xLKoHHPp1CXhK5h3uWwBOcD1shg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: BPJ @ 2023-05-15  8:40 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

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?
/bpj

-- 
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/CADAJKhBSHx_eqKiMYFAxJU%2BxLKoHHPp1CXhK5h3uWwBOcD1shg%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 1526 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lua: system.list_directory default
       [not found] ` <CADAJKhBSHx_eqKiMYFAxJU+xLKoHHPp1CXhK5h3uWwBOcD1shg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-05-15 13:12   ` Albert Krewinkel
       [not found]     ` <87jzx9rb0w.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2023-05-15 13:12 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


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 ..
>     (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


-- 
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%40zeitkraut.de.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lua: system.list_directory default
       [not found]     ` <87jzx9rb0w.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2023-05-15 17:05       ` BPJ
  0 siblings, 0 replies; 3+ messages in thread
From: BPJ @ 2023-05-15 17:05 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

Den mån 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 ..
> >     (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%40zeitkraut.de
> .
>

-- 
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/CADAJKhCatUSAe-Yy6vU-xu6cNXLNztt%2BCS4GHr8YNpZVpzZHMw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 3323 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-15 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15  8:40 Lua: system.list_directory default BPJ
     [not found] ` <CADAJKhBSHx_eqKiMYFAxJU+xLKoHHPp1CXhK5h3uWwBOcD1shg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-15 13:12   ` Albert Krewinkel
     [not found]     ` <87jzx9rb0w.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2023-05-15 17:05       ` BPJ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).