[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About self-referential object
From: |
Pascal J. Bourguignon |
Subject: |
Re: About self-referential object |
Date: |
Sat, 05 Jan 2013 01:07:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
>> (setq foo '(nil)) => (nil)
>> (setcar foo foo) => (#0)
>>
>> It is an infinite recursion. What does the `#0' mean here?
>
> The Elisp manual is your friend. There are no doubt several ways to look this
> up. Start with `i' usually, which uses the indexes.
>
> If you don't find what you want using `i' then try searching: `C-s #0' finds
> an
> answer immediately in this case, in node `Output Function'.
>
> If you can find what you want by means other than using the indexes (`i'),
> consider reporting an Emacs bug to improve the index, explaining how you tried
> to find it.
Emacs lisp is really baroque.
Why introduce #0 when #1=(#1#) can already denote it?
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.