[slime-devel] please no sharpsign references in C-c RET output

Denis Bueno dbueno at gmail.com
Tue Mar 15 13:18:14 UTC 2005


The #<number>=<object> ... #<number># syntax is a result of setting a
printer variable, such as *PRINT-CIRCLE* to some non-NIL value.


On Mon, 14 Mar 2005 16:26:28 -0800, Chisheng Huang
<cph at chi-square-works.com> wrote:
> With cvs Slime on 2005-02-01, invoking C-c RET on piece of my code generates
> the following output (with lots of code snipped):

<snip>

> 
> With the latest cvs Slime on 2005-03-14, invoking C-c RET on the same piece
> of code generates the following output:
> 
> (let ()
>   (flet ((#1=#:handler-show-message-11502 (c)
<snip>

The #<number>=<object> ... #<number># syntax is a result of setting a
printer variable, such as *PRINT-CIRCLE* to some non-NIL value. It
gives the Lisp printer the ability to print (possibly readably)
objects which have circular structure (e.g. a linked-list node with a
pointer to itself) without looping indefinitely (which, you will
agree, should probably be avoided).

However, unless you're working with self-referencing data structures,
having *PRINT-CIRCLE* set to something non-NIL can be more of an
annoyance than anything else.

So, (1) are you sure you haven't set *PRINT-CIRCLE* to some non-NIL
value? (2) Try setting it to NIL and re-running C-c RET. Does that
help?

-- 
Denis Bueno
PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index



More information about the slime-devel mailing list