[CM] After #\# is #\& an undefined dispatch macro character...?

Rick Taube taube@uiuc.edu
Sun, 2 Jul 2006 06:58:04 -0500


it appears that for some reason the #& dispatch macro isnt getting 
installed when cm start up in your clisp. however, i cant reproduce 
this in my clisp:

$ cm -l clisp
[...]
CM[1]> (new seq :name "foo")
#<seq "foo">
CM[2]> #&foo
#<seq "foo">
CM[3]>

until i figure out what is wrong, use (find-object ...) or just save it 
in a variable:

(find-object "foo")
#<seq "foo">
CM[4]> (setq bar (new seq))
#<seq #x1A02A6B5>
CM[5]>




On Jun 30, 2006, at 11:28 PM, Evans Winner wrote:

> I wonder if anyone could explain what I need to do about this.  My
> limited learning about lisp so far is not enough to help me here.  I
> don't know anything about macros and such.  Hopefully the info below
> is what would be needed to know the problem.... I don't think the
> backtrace is helpful because it's all just calls to swank.  Anyway,
> any help would be much appreciated.  Thanks.
>
> -Evans
>
>
> CM> *features*
> (:CM :METACLASSES :ASDF :DIRKEY :RAWSOCK :REGEXP :SYSCALLS :I18N :LOOP
> :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER
> :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE
> :BASE-CHAR=CHARACTER :PC386 :WIN32)
> CM> (cm-version)
> "Common Music 2.9.1"
> CM> (new seq :name 'test)
> #<seq "test">
> CM> (object-name #&test)
>
> READ from #1=#<INPUT STRING-INPUT-STREAM>: After #\# is #\& an
> undefined dispatch macro character
>   [Condition of type SYSTEM::SIMPLE-READER-ERROR]
>
> Restarts:
>  0: [ABORT-REQUEST] Abort handling SLIME request.
>  1: [SKIP] skip (CREATE-SWANK-SERVER 4005)
>  2: [STOP] stop loading file C:\snd\clisp-2.38\full\swank-init.lisp
>  3: [ABORT] ABORT
>
> Backtrace:
>  0: #<COMPILED-FUNCTION SWANK::EVAL-REGION>
>  1: #<COMPILED-FUNCTION SWANK::LISTENER-EVAL-1>
>  2: #<COMPILED-FUNCTION #:|281 283 (DEFINTERFACE
> CALL-WITH-SYNTAX-HOOKS (FN) ...)-32-3-1-1|>
>  3: #<COMPILED-FUNCTION SWANK::CALL-WITH-BUFFER-SYNTAX>
>  4: #<COMPILED-FUNCTION SWANK:LISTENER-EVAL>
>  5: #<SYSTEM-FUNCTION EVAL>
>  6: #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS-1>
>  7: #<COMPILED-FUNCTION #:|480 485 (DEFINTERFACE
> CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-53-3-1-1|>
>  8: #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS>
>  9: #<COMPILED-FUNCTION SWANK::READ-FROM-EMACS>
> 10: #<COMPILED-FUNCTION SWANK::HANDLE-REQUEST-1>
> 11: #<COMPILED-FUNCTION #:|480 485 (DEFINTERFACE
> CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-53-3-1-1|>
> 12: #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-1>
> 13: #<COMPILED-FUNCTION SWANK::CALL-WITH-REDIRECTED-IO>
> 14: #<COMPILED-FUNCTION SWANK::MAYBE-CALL-WITH-IO-REDIRECTION>
> 15: #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION>
> 16: #<COMPILED-FUNCTION SWANK::HANDLE-REQUEST>
> 17: #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-2>
> 18: #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS>
> 19: #<COMPILED-FUNCTION SWANK::SERVE-REQUESTS>
> 20: #<COMPILED-FUNCTION SWANK::SERVE-CONNECTION>
> 21: #<COMPILED-FUNCTION SWANK::SETUP-SERVER-SERVE>
> 22: #<COMPILED-FUNCTION SWANK::SETUP-SERVER>
> 23: #<COMPILED-FUNCTION SWANK:CREATE-SWANK-SERVER>
> 24: #<SYSTEM-FUNCTION EVAL>
> 25: #<COMPILED-FUNCTION SYSTEM::EVAL-LOADED-FORM-LOW>
> 26: #<COMPILED-FUNCTION SYSTEM::EVAL-LOADED-FORM>
>
>
> -- 
> 
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist