<font color='black' size='2' face='Arial, Helvetica, sans-serif'>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: Helmut Eller <heller@common-lisp.net><br>
To: slime-devel@common-lisp.net<br>
Sent: Sun, Jul 25, 2010 3:33 am<br>
Subject: [slime-devel] Daily ChangeLog diff<br>
<br>
<div id="AOLMsgPart_0_95ff7d45-fd47-4a66-bdd5-e93c22e83d7d" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>Index: slime/contrib/ChangeLog
diff -u slime/contrib/ChangeLog:1.398 slime/contrib/ChangeLog:1.402
--- slime/contrib/ChangeLog:1.398 Thu Jul 22 21:46:34 2010
+++ slime/contrib/ChangeLog Sat Jul 24 19:39:24 2010
@@ -1,3 +1,29 @@
+2010-07-24 Stas Boukarev <<a __removedlink__1033636692__href="mailto:stassats@gmail.com">stassats@gmail.com</a>>
+</tt></pre><pre style="font-size: 9pt;"><tt><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">...</span></font>
+
+ * slime-sprof.el (slime-sprof-start-alloc)
+ (slime-sprof-start-time): New functions to start profiling in
+ :alloc and :time mode. The default slime-sprof-start is :cpu.
+ * swank-sprof.lisp (swank-sprof-start): Accept :mode keyword.
+
<font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">slime-sprof.el, revision 1.12 generates the following error when compiled:</span></font></tt></pre><pre style="font-size: 9pt;"><tt><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">slime-sprof.el:42:27:Error: Invalid lambda variable (mode :cpu)
</span></font></tt></pre>
<div><tt><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">This refers to the following code:</span></font></tt></div>
<div><tt><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></tt></div>
<div><tt><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: small;">
<div>42: (defun slime-sprof-start (&optional (mode :cpu))</div>
<div>43: (interactive)</div>
<div>44: (slime-eval `(swank:swank-sprof-start :mode ,mode)))</div>
<div><br>
</div>
<div>The following text in the Emacs Lisp manual explains why this is an error:</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; "> Common Lisp note: Common Lisp allows the function to specify what</span></div>
</span></font></tt>
<div> default value to use when an optional argument is omitted; Emacs</div>
<div> Lisp always uses `nil'. Emacs Lisp does not support "supplied-p"</div>
<div> variables that tell you whether an argument was explicitly passed.</div>
</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-size: small;">See Eval: (info "(elisp) Argument List")</span></div>
<div><span class="Apple-style-span" style="font-size: small;"><br>
</span></div>
</div>
<!-- end of AOLMsgPart_0_95ff7d45-fd47-4a66-bdd5-e93c22e83d7d -->
</div>
</font>