From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@pobox.com>
Cc: 20087@debbugs.gnu.org, rain1@openmailbox.org
Subject: bug#20087: gensym
Date: Thu, 23 Jun 2016 16:13:57 +0200 [thread overview]
Message-ID: <87shw4ngbe.fsf@gnu.org> (raw)
In-Reply-To: <87oa6snhha.fsf@pobox.com> (Andy Wingo's message of "Thu, 23 Jun 2016 15:48:49 +0200")
Andy Wingo <wingo@pobox.com> skribis:
> On Thu 24 Mar 2016 09:45, ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> It turns out the manual already has the following text in the ‘gensym’
>>> entry, which I think is sufficient.
>>>
>>> The symbols generated by ‘gensym’ are _likely_ to be unique, since
>>> their names begin with a space and it is only otherwise possible to
>>> generate such symbols if a programmer goes out of their way to do so.
>>> Uniqueness can be guaranteed by instead using uninterned symbols
>>> (*noteSymbol Uninterned::), though they can’t be usefully written out
>>> and read back in.
>>>
>>> What do you think?
>>
>> Oh indeed, I guess I had overlooked that.
>
> I just pushed something to master to error when serializing an
> uninterned symbol. Otherwise compiling an uninterned symbol effectively
> interns it! I am not sure that we can apply such a fix in 2.0 though as
> who knows, maybe someone is compiling something with symbols made with
> make-symbol. WDYT? If you agree we can close this bug.
That makes sense to me.
Thanks!
Ludo’.
next prev parent reply other threads:[~2016-06-23 14:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 17:15 bug#20087: 'gensym' is not guaranteed to return a fresh symbol Ludovic Courtès
2016-03-18 17:03 ` bug#20087: gensym rain1
2016-03-22 5:24 ` Mark H Weaver
2016-03-22 7:58 ` Ludovic Courtès
2016-03-23 17:55 ` Mark H Weaver
2016-03-24 8:45 ` Ludovic Courtès
2016-06-23 13:48 ` Andy Wingo
2016-06-23 14:13 ` Ludovic Courtès [this message]
2016-06-23 16:05 ` Andy Wingo
2016-03-22 11:21 ` rain1
2016-03-22 18:06 ` Mark H Weaver
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shw4ngbe.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=20087@debbugs.gnu.org \
--cc=rain1@openmailbox.org \
--cc=wingo@pobox.com \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).