Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsc!cbnewsc!lgm From: lgm@cbnewsc.ATT.COM (lawrence.g.mayka) Newsgroups: comp.lang.clos Subject: Re: Redefining FORMAT Message-ID: Date: 12 Jun 91 00:33:12 GMT References: Sender: lgm@cbnewsc.att.com (lawrence.g.mayka) Organization: AT&T Bell Laboratories Lines: 28 In-Reply-To: marco@ipvvis.unipv.it's message of 11 Jun 91 15: 11:28 GMT In article marco@ipvvis.unipv.it (Marco Ramoni) writes: When I load the file containing this definition I get the following error: >>Error: FORMAT already names an ordinary function or a macro LUCID-RUNTIME-SUPPORT:DEFINE-METHOD: Required arg 0 (... Required arg 1 (... ... 0: Flush the existing definition 1: Convert current definition into default method :C 2: Try loading "..." again ... ... If I choose option 1 everythig works fine, I get exactly what I want (that is, both the old version and the specialized one). My problem is, is there a way of getting rid of the error message? In other words, can I "Convert the current definition into default method" directly from my program? If you can find out (via the debugger, asking Lucid, etc.) the class of condition being signaled, and the name of the restart you want, you could call INVOKE-RESTART in a handler bound via HANDLER-BIND. Lawrence G. Mayka AT&T Bell Laboratories lgm@iexist.att.com Standard disclaimer.