IRC channel logs

2022-08-07.log

back to list of logs

<apteryx>how can I access a private (not public) variable of the current module via a symbol?
<apteryx>module-ref fails, because it seems to require the binding to be public
***Furor is now known as Colere
<daviid>apteryx: i don't think module-ref 'requires the binding to be public'
<apteryx>indeed, it does not. The problem was something else.
<daviid>right - https://paste.centos.org/view/88bdb00a
<apteryx>(still caused by macro-created macros shenanighans)
***butingta` is now known as butingtaon
<butingtaon>hello guilers!
<butingtaon>I'm not sure if this is the best pplace to ask this question, but does
<butingtaon>anyone know how to add and extract the metadata from a skribilo[1]
<butingtaon>(.skb) file?
<butingtaon>
<butingtaon>[1] https://www.nongnu.org/skribilo/
<butingtaon>
<butingtaon>I'm trying to add skribilo support to this static site/personal wiki
<butingtaon>generator i'm writing. My initial file format is markdown, and that
<butingtaon>has some YAML up top for the frontmatter/metadata, and i just take the
<butingtaon>first six lines of the markdown file to get the author, date, title,
<butingtaon>etc. How does one add that to skribilo documents and how does one
<butingtaon>extract them?
<butingtaon>multi-line messages dont play with ERC well, huh, sorry about that
<lilyp>butingtaon: (chapter "My YAML metadata" (apply itemize (read-yaml-metadata...))) ?
<lilyp>oops, missing a #:title here
<lilyp>for extracting I'm pretty sure sxml sxpath is your best choice, but you can tinker with it in a REPL
<butingtaon>huh, that could work, thanks!
***chris is now known as Guest1333
***Guest1333 is now known as chris
***chris is now known as chrislck