From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#20087: gensym Date: Thu, 23 Jun 2016 15:48:49 +0200 Message-ID: <87oa6snhha.fsf@pobox.com> References: <87a8zjxxpl.fsf@gnu.org> <87twjzytit.fsf@netris.org> <87wpovueos.fsf@gnu.org> <87twjxqdtq.fsf@netris.org> <87r3f04631.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466689833 1263 80.91.229.3 (23 Jun 2016 13:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2016 13:50:33 +0000 (UTC) Cc: 20087@debbugs.gnu.org, rain1@openmailbox.org To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 23 15:50:21 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bG51M-00007K-IN for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 15:50:16 +0200 Original-Received: from localhost ([::1]:36847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG51L-00013o-E1 for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 09:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG51D-00010A-Bc for bug-guile@gnu.org; Thu, 23 Jun 2016 09:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG518-0005cx-DD for bug-guile@gnu.org; Thu, 23 Jun 2016 09:50:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG518-0005cr-9r for bug-guile@gnu.org; Thu, 23 Jun 2016 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bG518-0002DE-54 for bug-guile@gnu.org; Thu, 23 Jun 2016 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 23 Jun 2016 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20087 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 20087-submit@debbugs.gnu.org id=B20087.14666897518434 (code B ref 20087); Thu, 23 Jun 2016 13:50:02 +0000 Original-Received: (at 20087) by debbugs.gnu.org; 23 Jun 2016 13:49:11 +0000 Original-Received: from localhost ([127.0.0.1]:51949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG50I-0002Bx-Jg for submit@debbugs.gnu.org; Thu, 23 Jun 2016 09:49:10 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:65043 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG507-00029G-W1 for 20087@debbugs.gnu.org; Thu, 23 Jun 2016 09:49:09 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 6DCD9234F1; Thu, 23 Jun 2016 09:48:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=PYBLYJ61D3qJ mZbO/PlR05LfNQY=; b=NJSAsuOqlUpHolx+qw36kUNz3GcpytzNzMray2aEJ7ft 8fTWyPEji7TOC9zOrPe45IDnnXH9WpZZrxkO7mufMRtX3bUx6PcBE9Xjgm/9p3c3 HP6nzuzx6UspVWoJKvQh9h/VgHhY+twqaACjzAKMZxTv1iCRYvCV8chN06D9keU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=I0QpCw arUQY0fhTrh2G/fWtEGGvNmVTtYV8vqYZFUEXhBbYmrimNRbvDzANfBzjAya6y9p 2Zipz9GXZ2DDU2BE3KQ1CardIQFxvhwztZ11ashP5sahAgJV6nlJKaJ2UA5cEifF u4ESognkR/tyjx/HvqOTLzivUByXTekKkGSxA= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 67955234EE; Thu, 23 Jun 2016 09:48:57 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 89726234EB; Thu, 23 Jun 2016 09:48:56 -0400 (EDT) In-Reply-To: <87r3f04631.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 24 Mar 2016 09:45:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: 3B1CAFE8-3949-11E6-A23B-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8160 Archived-At: On Thu 24 Mar 2016 09:45, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver skribis: > >> It turns out the manual already has the following text in the =E2=80=98g= ensym=E2=80=99 >> entry, which I think is sufficient. >> >> The symbols generated by =E2=80=98gensym=E2=80=99 are _likely_ to b= e 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=E2=80=99t be usefully writ= ten 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. Andy