[slime-devel] (string= "(function . (cons))" "(function cons)") ==> nil

the latest Slime (both HEAD & FAIRLY-STABLE) does not load for me due to failed asserts that check the equality cited in the subject. apparently #'pprint-logical-block in CMUCL 18e does not work the way swank.lisp thinks it works. or something. I've worked around this by making #'test-print-arglist be: (defun test-print-arglist (list string) (equal (read-from-string (print-arglist-to-string list)) (read-from-string string))) perhaps it will break something; so far it does not. cheers, --m -- Well, I wish you'd just tell me rather than trying to engage my enthusiasm, because I haven't got one.

Michael Livshin <usenet@cmm.kakpryg.net> writes:
the latest Slime (both HEAD & FAIRLY-STABLE) does not load for me due to failed asserts that check the equality cited in the subject.
apparently #'pprint-logical-block in CMUCL 18e does not work the way swank.lisp thinks it works. or something.
I have no idea what's wrong with print-arglist. I'm clearly lacking pretty printing skills. It works for me in 18e.
I've worked around this by making #'test-print-arglist be:
(defun test-print-arglist (list string) (equal (read-from-string (print-arglist-to-string list)) (read-from-string string)))
perhaps it will break something; so far it does not.
This shouldn't break anything. I think it's not even used for CMUCL, because CMUCL saves most arglists as string. I disabled the tests and moved FAIRLY-STABLE back to SLIME-0-10. Thank you for reporting this. Helmut.

Helmut Eller <e9626484@stud3.tuwien.ac.at> writes:
I have no idea what's wrong with print-arglist. I'm clearly lacking pretty printing skills. It works for me in 18e.
I'm lacking those too, but I found the culprit: I have *PRINT-CIRCLE* set to T in my ~/.cmucl-init.lisp. so perhaps you just want to bind it to NIL inside #'PRINT-ARGLIST.
I disabled the tests and moved FAIRLY-STABLE back to SLIME-0-10.
oooh. perhaps that's premature; I think I'm already addicted to the starting animation. :) thanks, --m -- All ITS machines now have hardware for a new machine instruction -- BOT Branch On Tree. Please update your programs.

Michael Livshin <usenet@cmm.kakpryg.net> writes:
I'm lacking those too, but I found the culprit: I have *PRINT-CIRCLE* set to T in my ~/.cmucl-init.lisp.
so perhaps you just want to bind it to NIL inside #'PRINT-ARGLIST.
Yes that helps. Thanks for the tip. But I still don't understand why it is needed.
I disabled the tests and moved FAIRLY-STABLE back to SLIME-0-10.
oooh. perhaps that's premature; I think I'm already addicted to the starting animation. :)
:) OK, will move the FAIRLY-STABLE tag to SLIME-0-11 and hope that no newbie sets *PRINT-CIRCLE* to t. Helmut.

On Wed, 10 Mar 2004, Helmut Eller wrote:
Michael Livshin <usenet@cmm.kakpryg.net> writes:
I'm lacking those too, but I found the culprit: I have *PRINT-CIRCLE* set to T in my ~/.cmucl-init.lisp.
so perhaps you just want to bind it to NIL inside #'PRINT-ARGLIST.
Yes that helps. Thanks for the tip. But I still don't understand why it is needed.
How about using with-standard-io-syntax instead of binding printer control variables one by one? Andras

Andras Simon <andras@renyi.hu> writes:
How about using with-standard-io-syntax instead of binding printer control variables one by one?
Yes, that's more robust. Thank you for the suggestion. Helmut.
participants (3)
-
Andras Simon
-
Helmut Eller
-
Michael Livshin