From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#7146: (make-symbol "") issues Date: Sun, 03 Oct 2010 10:55:17 -0400 Message-ID: <87iq1jfhre.fsf@stupidchicken.com> References: <4CA6B2BE.7070705@gmail.com> <4CA7D1E3.90800@gmail.com> <87k4m0giy4.fsf@stupidchicken.com> <4CA7FC00.5080905@gmail.com> <87fwwn3opr.fsf@stupidchicken.com> <87bp7bfu3c.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286118708 16885 80.91.229.12 (3 Oct 2010 15:11:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 15:11:48 +0000 (UTC) Cc: 7146@debbugs.gnu.org To: Frank Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 03 17:11:47 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P2QE6-0002y5-3B for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Oct 2010 17:11:46 +0200 Original-Received: from localhost ([127.0.0.1]:33733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2QE5-00080s-2C for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Oct 2010 11:11:45 -0400 Original-Received: from [140.186.70.92] (port=53287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2QDy-00080g-Ib for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2010 11:11:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2QDw-0000l8-VH for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2010 11:11:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2QDw-0000l3-SI for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2010 11:11:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P2Pvy-00084m-5U; Sun, 03 Oct 2010 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Oct 2010 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7146 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7146-submit@debbugs.gnu.org id=B7146.128611753731036 (code B ref 7146); Sun, 03 Oct 2010 14:53:02 +0000 Original-Received: (at 7146) by debbugs.gnu.org; 3 Oct 2010 14:52:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2PvE-00084X-Vu for submit@debbugs.gnu.org; Sun, 03 Oct 2010 10:52:17 -0400 Original-Received: from pantheon-po26.its.yale.edu ([130.132.50.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2PvD-00084S-KG for 7146@debbugs.gnu.org; Sun, 03 Oct 2010 10:52:16 -0400 Original-Received: from furry (adsl-99-111-197-225.dsl.wlfrct.sbcglobal.net [99.111.197.225]) (authenticated bits=0) by pantheon-po26.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o93EtIO5009580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 3 Oct 2010 10:55:19 -0400 Original-Received: by furry (Postfix, from userid 1000) id 11F31C018; Sun, 3 Oct 2010 10:55:18 -0400 (EDT) In-Reply-To: <87bp7bfu3c.fsf@gnu.org> ("Johan =?UTF-8?Q?Bockg=C3=A5rd?="'s message of "Sun, 03 Oct 2010 12:28:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Oct 2010 10:53:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40675 Archived-At: Johan Bockg=C3=A5rd writes: > The problem is that there is no read syntax for a symbol with an empty > name, so it can't reliably be printed to a string (file) and read back. > > (symbol-name (aref [#: x] 0)) =3D> "x" ; This is what happens in the re= port. > > but (symbol-name (aref [#:] 0)) =3D> "" > > You could change the reader to somehow recognize the first case. The > problem would come back if you changed `make-symbol' to `intern', > though, since it really prints as nothing at all. I guess we could make intern and make-symbol signal errors for the empty string.