GNU bug report logs - #7146
(make-symbol "") issues

Previous Next

Package: emacs;

Reported by: Frank <some.frank <at> gmail.com>

Date: Sat, 2 Oct 2010 12:36:02 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 7146 <at> debbugs.gnu.org, Frank <some.frank <at> gmail.com>, Lars Magne Ingebrigtsen <larsi <at> gnus.org>, Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#7146: (make-symbol "") issues
Date: Sat, 16 Jul 2011 23:16:02 -0400
>> Even though this is obscure, this is a bug that can crash (some builds
>> of) Emacs.  So I rather think this should be fixed.  Was any work done
>> towards adding a printed representation of empty-string symbols?
> What would be a good mnemonic?  We need two different representations
> (interned and uninterned), perhaps ## and #= ?

"#:" is the obvious choice for the uninterned representation.
It already works for printing, but is not understood by the reader.

CommonLisp has a |....| syntax for interned symbols which trivially
allows empty symbols, and some Scheme iumplementations adopted it as
well, although R6RS didn't (it did add a \xNNNN notation which allows
for non-ASCII chars, but it doesn't seem to include a notation for empty
symbols).


        Stefan




This bug report was last modified 13 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.