Hi, re: Circular-Scanned bracket error. It was my fault. Sorry. It's been a while since I've been in CLM-5, since mostly using scheme w/emacs.
I forgot from emacs the M - x, slime-compile-and-load-file command is only useful for .lisp file, not .ins file. Although I can Ctrl -x Ctrl - f, load the .ins, it gives an unmatched bracket error (below) at the beginning of definstrument if trying to run M - x, slime-compile-and-load-file. I needed to rename the .ins to .lisp, then it goes thru fine. ...BTW, I have a small side project to try to convert that very cool .ins to scheme using the dotimes, and setf! macros from Bill's scheme, but still getting hung up in the run loop which is quite tricky. Be good sometime if it could make it over to a .scm file. Be glad to share what I have so far. Thank You folks, Jim --------------------- Loading /opt/quicklisp/slime-helper.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading /opt/quicklisp/slime-helper.el (source)...done Polling "/tmp/slime.3011" .. 1 (Abort with ‘M-x slime-abort-connection’.) Polling "/tmp/slime.3011" .. 2 (Abort with ‘M-x slime-abort-connection’.) Polling "/tmp/slime.3011" .. 3 (Abort with ‘M-x slime-abort-connection’.) Polling "/tmp/slime.3011" .. 4 (Abort with ‘M-x slime-abort-connection’.) Connecting to Swank on port 45805.. Connected. Let the hacking commence! Mark set user-error: Unmatched bracket or quote mwheel-scroll: Beginning of buffer [3 times] Mark set ----------------------- (definstrument circular-scanned (start dur freq amp ... ________________________________ From: [email protected] <[email protected]> on behalf of [email protected] <[email protected]> Sent: Saturday, June 8, 2019 7:00 PM To: [email protected] Subject: Cmdist Digest, Vol 133, Issue 2 Send Cmdist mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://cm-mail.stanford.edu/mailman/listinfo/cmdist or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Cmdist digest..." Today's Topics: 1. Re: circular-scanned.ins ([email protected]) 2. Re: circular-scanned.ins (Juan I Reyes) ---------------------------------------------------------------------- Message: 1 Date: Fri, 07 Jun 2019 12:10:33 -0700 From: [email protected] To: James Hearon <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re: [CM] circular-scanned.ins Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed What lisp are you running? In sbcl (in a terminal) it seems to be ok: /home/bil/clm/ /home/bil/test/sbcl-1.5.3/src/runtime/sbcl --core /home/bil/test/sbcl-1.5.3/output/sbcl.core [...] * (load "all.lisp") ; using existing configuration file mus-config.h ;loading /home/bil/clm/clm-package.fasl ;loading /home/bil/clm/initmus.fasl ;loading /home/bil/clm/sndlib2clm.fasl ;loading /home/bil/clm/defaults.fasl ;loading /home/bil/clm/ffi.fasl ;loading /home/bil/clm/mus.fasl ;loading /home/bil/clm/run.fasl ;loading /home/bil/clm/sound.fasl ;loading /home/bil/clm/defins.fasl ;loading /home/bil/clm/env.fasl ;loading /home/bil/clm/export.fasl ;loading /home/bil/clm/clm1.fasl T * (compile-file "scanned.ins") ; Writing "/home/bil/clm/clm_SCANNED.c" ; Compiling "/home/bil/clm/clm_SCANNED.c" ; Creating shared object file "/home/bil/clm/clm_SCANNED.so" ; file: /home/bil/clm/scanned.ins ; [...] ; compilation unit finished ; caught 6 STYLE-WARNING conditions #P"/home/bil/clm/scanned.fasl" T NIL * (load "scanned") T * (with-sound () (scanned 0 1 435 .01)) "test.snd" ------------------------------ Message: 2 Date: Fri, 07 Jun 2019 13:33:27 -0700 From: Juan I Reyes <[email protected]> To: [email protected] Subject: Re: [CM] circular-scanned.ins Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi James, Same here. Just compiled and loaded 'circular-scanned.ins' on sbcl-1.4.6-2 on FC-29 Linux. Also using slime. As far as indentation and parens, I just use lisp-mode and font-lock-mode to toggle its use. My CLM-5 tarball is from April 2019. -- Juan CL-USER> (compile-file "/zap/circular-scanned.ins") ; compiling file "/zap/circular-scanned.ins" (written 07 JUN 2019 01:01:40 PM): ; compiling (DEFINSTRUMENT CIRCULAR-SCANNED ...) ; Writing "/zap/clm_CIRCULAR_SCANNED.c" ; Compiling "/zap/clm_CIRCULAR_SCANNED.c" ; Creating shared object file "/zap/clm_CIRCULAR_SCANNED.so" ; /zap/circular-scanned.fasl written ; compilation finished in 0:00:01.112 #P"/zap/circular-scanned.fasl" CL-USER> (load "/zap/circular-scanned.ins") ; Writing "/zap/clm_CIRCULAR_SCANNED.c" T CL-USER> (with-sound (:channels 2) (circular-scanned 0 4 400 .5)) "test.snd" > What lisp are you running? In sbcl (in a terminal) it seems to be > ok: > ------------------------------ _______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist End of Cmdist Digest, Vol 133, Issue 2 **************************************
_______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist
