Re: asdf restart named in the keyword package
Christophe Rhodes <[email protected]> Mon, 16 Jun 2008 22:35:14 +0100
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Gary King <[email protected]> writes: > I'm happy to apply this patch unless the internet says "no". Here's one reason why not, though you'll have to use your judgment or get further discussion. With the restart name in the keyword package, you get the convenience of [ something like ] (handler-bind ((error (lambda (c) (invoke-restart :try-recompiling c)))) (require :foo)) in a lisp where REQUIRE hooks ASDF:OOS. If try-recompiling is ASDF:TRY-RECOMPILING, that would have to be written (handler-bind ((error (lambda (c) (invoke-restart (find-symbol "TRY-RECOMPILING" "ASDF") c)))) (require :foo)) if the user is not certain that asdf is already loaded. I don't know if this matters to Matthew; nor do I know why the restart was put in the keyword package in the first place (it might have been by complete accident). Cheers, Christophe ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php