<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>re: clm emacs-slime<br><br>...might be a bit OT<br><br>I was hoping to get some advice on printing from emacs-slime.&nbsp; I'm trying to print output to a visible area of the emacs editor when the code is compiled and runs, such as in with-sound below.<br><br>I'm using f20, sbcl, emacs-slime, and clm but having a devil of a time getting any contrib to load and run with my .emacs file which might support more repl such as to the echo area etc.&nbsp; I'm wondering what approach you folks might use to print to std out?&nbsp; Are you using a contrib package or other editor and print .el utility files?<br><br>I've tried things like (print ), and (format t ...) and (message ...), and those evaluate the expression to the echo area but they don't work when I compile and run and it is beeping.&nbsp; Or am I totally off base, and lisp doesn't do that very well at all?<br><br>Thank You,<br>Jim<br><br><br>(definstrument simp (start-time duration frequency amplitude &amp;optional (amp-env '(0 0 .5 1.0 1.0 0)))<br>&nbsp; (multiple-value-bind (beg end) (times-&gt;samples start-time duration)<br>&nbsp;&nbsp;&nbsp; (let ((osc (make-oscil :frequency frequency))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (amp-env (make-env amp-env :scaler amplitude :duration duration)))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (run <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (loop for i from beg below end do<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (outa i (* (env amp-env) (oscil osc) ))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (outb i (* (env amp-env) (oscil osc) ))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )))))<br><br>(with-sound (:channels 2)<br>(loop<br>for tt from 1 to 10 by 2<br>do<br>****** (print tt) *******<br>(simp tt .25&nbsp; 220 .75)<br>))<br>                                               </div></body>
</html>