emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: infloop in skeleton-insert


From: Miles Bader
Subject: Re: infloop in skeleton-insert
Date: Wed, 11 Apr 2007 15:05:22 +0900

Nick Roberts <address@hidden> writes:
>  > `eq' compares immediate values in lisp.  All integers in emacs lisp are
>  > immediate values.  Floating point numbers in Emacs lisp are "boxed" --
>  > allocated on the heap -- just like cons-cells or whatever.
>
> Well a symbol also seems to be a pointer/allocated on the heap, but
> OK, thanks, that gives me some understanding.

Symbols are indeed on the heap, and in fact it's quite possible to have
two identically named symbols which aren't eq.  However in normal usage
symbols are interned when they are read, which makes them eq.

-Miles
-- 
Yo mama's so fat when she gets on an elevator it HAS to go down.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]