unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 7146@debbugs.gnu.org, Frank <some.frank@gmail.com>,
	Lars Magne Ingebrigtsen <larsi@gnus.org>,
	Chong Yidong <cyd@stupidchicken.com>
Subject: bug#7146: (make-symbol "") issues
Date: Sat, 16 Jul 2011 23:16:02 -0400	[thread overview]
Message-ID: <jwvei1pzliv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m27h7kvniq.fsf@igel.home> (Andreas Schwab's message of "Thu, 14 Jul 2011 18:24:13 +0200")

>> 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





  reply	other threads:[~2011-07-17  3:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-02  4:19 bug#7146: (make-symbol "") issues Frank
2010-10-03  0:44 ` Frank
2010-10-03  1:32   ` Chong Yidong
2010-10-03  3:44     ` Frank
2010-10-03  4:05       ` Chong Yidong
2010-10-03  4:14         ` Frank
2010-10-03  4:36         ` Juanma Barranquero
2010-10-03 10:28         ` Johan Bockgård
2010-10-03 14:55           ` Chong Yidong
2010-10-03 23:12             ` Stefan Monnier
2011-07-14 14:25               ` Lars Magne Ingebrigtsen
2011-07-14 16:24                 ` Andreas Schwab
2011-07-17  3:16                   ` Stefan Monnier [this message]
2011-07-17  8:15                     ` Andreas Schwab
2011-07-18 15:30                       ` Stefan Monnier
2011-07-21 19:25                         ` Chong Yidong
2011-07-28 21:11                           ` Andreas Schwab
2011-07-17 21:41                     ` David De La Harpe Golden
2010-10-03 18:45 ` MON KEY
2010-10-03 18:56   ` Chong Yidong
2010-10-03 23:48     ` MON KEY

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/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvei1pzliv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7146@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.org \
    --cc=some.frank@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).