From: Bruno Victal <mirai@makinata.eu>
To: 60834@debbugs.gnu.org
Subject: bug#60834: configuration->documentation generates garbage @-command on fields beginning with numeric characters
Date: Thu, 6 Apr 2023 14:20:22 +0100 [thread overview]
Message-ID: <3d104971-f6f8-891d-dceb-ac67e1ef1acf@makinata.eu> (raw)
In-Reply-To: <825174ce-54ab-1c14-e6f7-1d05f5f434b1@makinata.eu>
This seems to be an issue involving how 'object->string' works:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (object->string '1-foo)
$1 = "#{1-foo}#"
scheme@(guile-user)> (object->string '-foo)
$2 = "-foo"
scheme@(guile-user)> (object->string 'foo-1-bar)
$3 = "foo-1-bar"
scheme@(guile-user)> (object->string 'foo-1)
$4 = "foo-1"
scheme@(guile-user)>
--8<---------------cut here---------------end--------------->8---
Grepping guile source, we see that 'format' also uses 'object->string' for the ~a format, which prints:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (format #t "Expected: ~a, ~a; Unexpected: ~a;~%" 'foo '-foo '1-foo)
Expected: foo, -foo; Unexpected: #{1-foo}#;
$5 = #t
scheme@(guile-user)>
--8<---------------cut here---------------end--------------->8---
prev parent reply other threads:[~2023-04-06 13:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-15 14:34 bug#60834: configuration->documentation generates garbage @-command on fields beginning with numeric characters Bruno Victal
2023-04-06 13:20 ` Bruno Victal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d104971-f6f8-891d-dceb-ac67e1ef1acf@makinata.eu \
--to=mirai@makinata.eu \
--cc=60834@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.