Re: Including SRFI-197

2025-04-29 Thread Tomas Volf
Rob Browning writes: > And while looking at I wondered if I might have found a bug -- my > reading of the test-runner-test-name docs suggested that this might show > "outer group" for the final name:, but it still shows the test-assert > name. > > (define (show-name) > (format #t "name: ~a\

Re: Texinfo in Guile Scheme docstrings?

2025-02-16 Thread Tomas Volf
Maxim Cournoyer writes: > Hi Yuval, > > Yuval Langer writes: > >> Hi, >> >> I am writing docstrings to guile-srfi-189 currently[1] and looking for >> good docstring style practices (that's another topic for another >> thread). >> >> I have noticed that there are some modules with Texinfo markup

Re: [guile-lib] html->sxml does not decode entities in attributes

2025-02-05 Thread Tomas Volf
Felix Lechner via "Developers list for Guile, the GNU extensibility library" writes: > Hi Tomas, > > On Tue, Feb 04 2025, Tomas Volf wrote: > >> automatically decoding now would lead to double decoding. > > Will a second decoding step for HTML entities, whi

Re: [guile-lib] html->sxml does not decode entities in attributes

2025-02-05 Thread Tomas Volf
"Dr. Arne Babenhauserheide" writes: >> I see few ways forward: >> >> 1. Document the current behavior and keep it as it is. >> 2. Add argument #:decode-attributes, defaulting to #f, to the relevant >>procedures, so that people can opt into the fixed behavior. >> 3. Introduce parameter %decode

[guile-lib] html->sxml does not decode entities in attributes

2025-02-04 Thread Tomas Volf
Hello, I think I found a bug in the htmlprag module in guile-lib. When parsing attributes, the values are not properly decoded: --8<---cut here---start->8--- scheme@(guile-user)> ,use (htmlprag) scheme@(guile-user)> (html->sxml "") $1 = (*TOP* (hr (@ (aaa "bb

Re: [PATCH v3] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Tomas Volf
Adam Faiz writes: > From fe113e9efc08aae2a7e3792a1018c496212bd774 Mon Sep 17 00:00:00 2001 > From: AwesomeAdam54321 > Date: Sun, 15 Dec 2024 23:48:30 +0800 > Subject: [PATCH v3] rdelim: Add new procedure `for-line-in-file`. > > * module/ice-9/rdelim.scm (for-line-in-file): Add it. > > This proce

Re: Keywords in GOOPS methods

2024-11-22 Thread Tomas Volf
edures (mainly due to the assumption of there being a performance impact). Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. signature.asc Description: PGP signature

Why does guile put -lgc into the linker flags?

2024-10-05 Thread Tomas Volf
Hello, this might be obvious to some, but I am curious why guile puts -lgc to the linker flags: --8<---cut here---start->8--- $ guile-config link -L/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib -L/gnu/store/pr73chdirm3jc2j7npc6hqzmcwjs7l8m-libgc

bug#73605: [PATCH] Replace SRFI-64 with a new implementation.

2024-10-02 Thread Tomas Volf
\ diff --git a/module/srfi/srfi-64.scm b/module/srfi/srfi-64.scm index 925726f5c..1f60a72e5 100644 --- a/module/srfi/srfi-64.scm +++ b/module/srfi/srfi-64.scm @@ -1,6 +1,5 @@ -;;; srfi-64.scm -- SRFI 64 - A Scheme API for test suites. +;;; Copyright (C) 2024 Tomas Volf <~@wolfsden.cz> -;;

RFC: Changing the initial value of %default-port-conversion-strategy

2024-05-29 Thread Tomas Volf
ink. Should I put this into actual patch? Does it have chance to be accepted and merged into the master? Thank you for reading and have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. signature.asc Description: PGP signature

Re: How to abort a read from a socket after some time?

2024-01-22 Thread Tomas Volf
returning an ‘EINTR’ error from that call). Based on that my expectation was to get EINTR. But since the syscall seems to be restarted even without the SA_RESTART, what exactly does this flag do then? Thank you, Tomas Volf -- There are only two hard things in Computer

[PATCH v2] Add more detailed instructions into the HACKING file.

2023-12-04 Thread Tomas Volf
Until now, the ./meta/guile was not mentioned anywhere, and therefore it was not obvious how to run the locally compiled Guile without installing it. While modifying the file, I took the liberty to also mention a bit about compiling Guile using Guix. Finally, the header lines where cleaned up, en

Re: [PATCH] Add more detailed instructions into the HACKING file.

2023-12-04 Thread Tomas Volf
Thank you for the review. On 2023-12-04 22:06:42 +0100, Maxime Devos wrote: > > > Op 29-11-2023 om 17:40 schreef Tomas Volf: > > +guix shell -D -f guix.scm --pure -- ./configure --enable-mini-gmp > > Also -fexcess-precision=standard (see #49368 / #49659 on debbugs)

[PATCH] Add more detailed instructions into the HACKING file.

2023-11-29 Thread Tomas Volf
Until now, the ./meta/guile was not mentioned anywhere, and therefore it was not obvious how to run the locally compiled Guile without installing it. While modifying the file, I took the liberty to also mention a bit about compiling Guile using Guix. Finally, the header lines where cleaned up, en

[PATCH] Add copy-on-write support to scm_copy_file.

2023-11-29 Thread Tomas Volf
On modern file-systems (BTRFS, ZFS) it is possible to copy a file using copy-on-write method. For large files it has the advantage of being much faster and saving disk space (since identical extents are not duplicated). This feature is stable and for example coreutils' `cp' does use it automatica

[PATCH] doc: Fix example in list-transduce example.

2023-11-28 Thread Tomas Volf
While the `.' might be correct from a grammatical point of view (I do not know), it turns the example into invalid scheme code, which is not ideal. New users (like me) might try to copy the whole line and wonder why it does not work (like I did). So delete it. * doc/ref/srfi-modules.texi (SRFI-1

[PATCH v3] doc: Extend documentation for (ice-9 match)

2023-11-28 Thread Tomas Volf
Extend the documentation for (ice-9 match) module with explanations of some of the patterns and also provide more examples for them. That should make it more useful for people trying to use the module for the first time just based on the documentation. * doc/ref/match.texi (Pattern Matching): Exp

[PATCH v2] doc: Extend documentation for (ice-9 match)

2023-10-15 Thread Tomas Volf
Extend the documentation for (ice-9 match) module with explanations of some of the patterns and also provide more examples for them. That should make it more useful for people trying to use the module for the first time just based on the documentation. * doc/ref/match.texi (Pattern Matching): Exp

Re: [PATCH] doc: Extend documentation for (ice-9 match)

2023-10-15 Thread Tomas Volf
Hello, thanks for the review! My reactions are below. On 2023-09-20 00:57:33 +0200, Maxime Devos wrote: > > > Op 06-09-2023 om 16:06 schreef Tomas Volf: > > Extend the documentation for (ice-9 match) module with explanation of > > some of the patterns and also provide m

[PATCH] doc: Extend documentation for (ice-9 match)

2023-09-06 Thread Tomas Volf
insertions(+) diff --git a/THANKS b/THANKS index aa4877e95..bb07cda83 100644 --- a/THANKS +++ b/THANKS @@ -38,6 +38,7 @@ Contributors since the last release: BT Templeton David Thompson Bake Timmons + Tomas Volf Mark H Weaver Göra