From: Ken Raeburn <raeburn@raeburn.org>
To: rms@gnu.org
Cc: Dmitry Antipov <dmantipov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: GC: marking traversal and pure symbols
Date: Fri, 6 Jul 2007 08:02:26 -0400 [thread overview]
Message-ID: <6D6F6C83-4A4D-4267-85FF-A67C679E108A@raeburn.org> (raw)
In-Reply-To: <E1I6faF-0006LC-3p@fencepost.gnu.org>
On Jul 6, 2007, at 00:38, Richard Stallman wrote:
> We can't make Qnil pure, because its plist can be written.
> (It can also be defined as a function, though that would be an
> ugly thing to do.)
I've seen that done, many years ago -- and the person who did it ran
into interesting problems. I think there was some Emacs code shipped
that had a loop over a list testing to see if the car of the list was
a function, or something like that -- depending on the fact that nil
doesn't (normally) have a function binding to break the loop. I have
no idea if the problem is still present.
It wouldn't strike me as a bad thing to make the function slot of
Qnil unsettable this way...
Ken
next prev parent reply other threads:[~2007-07-06 12:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 13:10 GC: marking traversal and pure symbols Dmitry Antipov
2007-07-06 4:38 ` Richard Stallman
2007-07-06 7:20 ` David Kastrup
2007-07-06 9:29 ` Andreas Schwab
2007-07-07 13:06 ` Richard Stallman
2007-07-06 12:02 ` Ken Raeburn [this message]
2007-07-06 12:33 ` Andreas Schwab
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=6D6F6C83-4A4D-4267-85FF-A67C679E108A@raeburn.org \
--to=raeburn@raeburn.org \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/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).