bug#75860: Somewhat confusing exception message with append

2025-03-19 Thread Tomas Nordin
Hello Rob Rob Browning writes: > Tomas Nordin writes: > >> But, in both cases the faulty argument is reported to be in position 1. >> I would expect maybe position 2 to be complained about from the second >> call. > > ...and it appears to be correct when run via -c or a script. Do you mean lik

bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-03-19 Thread Rob Browning
Ludovic Courtès writes: > The patch LGTM but I realize there’s no real ‘copy-file’ test. Not your > fault but would you mind adding one or two tests? I went ahead and added a commit to include some simple tests and pushed that and this to main. -- Rob Browning rlb @defaultvalue.org and @debia

bug#75860: Somewhat confusing exception message with append

2025-03-19 Thread Rob Browning
Tomas Nordin writes: > Do you mean like > > $ guile -c "(append '(a) 'b '())" > [...] > In procedure append: Wrong type argument in position 2 (expecting empty > list): b > > Here the position is reported as 2 (as expected I think). Was that what > you also observed? (Still confusing