<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I retry then.<div>Joakim<br><div><br><div>Début du message réexpédié :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>De : </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Joakim Sandgren <<a href="mailto:joakim@joakimsandgren.com">joakim@joakimsandgren.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date : </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">19 juin 2009 17:02:05 HAEC</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>À : </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:openmcl-trac@clozure.com">openmcl-trac@clozure.com</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Cc : </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Gary Byers <<a href="mailto:gb@clozure.com">gb@clozure.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Objet : </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Rép : [Clozure CL] #546: key args listing don't show</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is true and make sens. But this was the beahvior in MCL. Before I try to have an opinion here I dont have your example (defgeneric draw-character ((c character) (s view) &key font color)) to work. It gives me <div><br></div><div><div>> Error: Bad generic function lambda list: ((C CHARACTER) (S VIEW) &KEY FONT COLOR)</div><div>> While executing: CCL::CHECK-GENERIC-FUNCTION-LAMBDA-LIST, in process Listener(6).</div><div>> Type cmd-. to abort, cmd-\ for a list of available restarts.</div><div>> Type :? for other options.</div><div><br></div><div>or another </div><div><div>> Error: Bad generic function lambda list: ((TRUC LIST) &KEY FLUP FLOP)</div><div>> While executing: CCL::CHECK-GENERIC-FUNCTION-LAMBDA-LIST, in process Listener(6).</div><div>> Type cmd-. to abort, cmd-\ for a list of available restarts.</div><div>> Type :? for other options.</div><div><br></div><div>or even</div><div><div>> Error: Bad generic function lambda list: ((TRUC LIST) (TRUC2 NUMBER))</div><div>> While executing: CCL::CHECK-GENERIC-FUNCTION-LAMBDA-LIST, in process Listener(6).</div><div>> Type cmd-. to abort, cmd-\ for a list of available restarts.</div><div>> Type :? for other options.</div><div><br></div></div><div>the only defgeneric arglist I have working is without specialized arguments or with only &key (that do print the names in the echoarea) or &rest argument.</div><div><br></div><div>enlighten me please.</div><div><br></div><div>sincerely</div><div>Joakim</div><div><br></div><div><div>Le 19 juin 09 à 16:11, Clozure CL a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>#546: key args listing don't show<br>-----------------------+----------------------------------------------------<br> Reporter: josa1965 | Owner: <br> Type: defect | Status: closed<br> Priority: normal | Milestone: <br> Component: IDE | Version: 1.3 <br>Resolution: invalid | Keywords: <br>-----------------------+----------------------------------------------------<br>Changes (by gb):<br><br> * status: reopened => closed<br> * resolution: => invalid<br><br>Comment:<br><br> Are you really talking about the case where a generic function has no<br> specialized arguments but accepts &key ?<br><br> In the general case (where a generic function accepts at least one<br> required/specializable argument and its methods accept &key arguments),<br> the generic function's lambda list merely contains &key; individual<br> methods can accept different sets of keywords, and it's not meaningful or<br> useful to say that the generic function accepts a particular set of<br> keyword arguments (what arguments are actually accepted<br> depends on what methods are applicable.)<br><br> It's sometimes useful to declare that (all methods on) a particular<br> generic function will accept (at least) a particular set of keyword<br> arguments:<br><br> {{{<br> (defgeneric draw-character ((c character) (s view) &key font color))<br> }}}<br><br> so it's meaningful to say that "the arglist of the function DRAW-CHARACTER<br> is (c s &key font color)", even though it's possible to define methods<br> that accept additional keyword arguments. Without the DEFGENERIC, it's<br> not really meaningful.<br><br> In the case where only a single method is defined on a generic function<br> (and in your specializer-less example, only a single primary method can<br> ever be defined) we ''could'' conceivably say that the generic function's<br> arglist is the sole method function's arglist, but (except in the<br> specializer-less case) that'd mean that the generic function's arglist<br> would change as soon as a second method was defined.<br><br> If it's meaningful to talk about the set of keyword arguments accepted by<br> a generic function, then the only way to define that set is to use<br> DEFGENERIC (or the functional MOP equivalent.)<br><br>-- <br>Ticket URL: <<a href="http://trac.clozure.com/openmcl/ticket/546#comment:5">http://trac.clozure.com/openmcl/ticket/546#comment:5</a>><br>Clozure CL <<a href="http://trac.clozure.com/openmcl">http://trac.clozure.com/openmcl</a>><br><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="font-size: 12px; "><div><font class="Apple-style-span" color="#595959" face="'Trebuchet MS'"><br class="Apple-interchange-newline"><br></font></div><div><font class="Apple-style-span" color="#595959" face="'Trebuchet MS'"><br></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">Joakim Sandgren</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">joakim sandgren musik</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">42, rue de Maubeuge</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">75009 Paris</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">France</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">+33 (0)1 45 26 43 90</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959"><a href="mailto:info@joakimsandgren.com">info@joakimsandgren.com</a></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959"><a href="http://www.joakimsandgren.com/">http://www.joakimsandgren.com</a></font></div></span> </div><br></div></div></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><font class="Apple-style-span" color="#595959" face="'Trebuchet MS'"><br class="Apple-interchange-newline"><br></font></div><div><font class="Apple-style-span" color="#595959" face="'Trebuchet MS'"><br></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">Joakim Sandgren</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">joakim sandgren musik</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">42, rue de Maubeuge</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">75009 Paris</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">France</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959">+33 (0)1 45 26 43 90</font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959"><a href="mailto:info@joakimsandgren.com">info@joakimsandgren.com</a></font></div><div><font class="Apple-style-span" face="'Trebuchet MS'" color="#595959"><a href="http://www.joakimsandgren.com/">http://www.joakimsandgren.com</a></font></div></span> </div><br></div></body></html>