Index: slime/ChangeLog diff -u slime/ChangeLog:1.1505 slime/ChangeLog:1.1508 --- slime/ChangeLog:1.1505 Sun Sep 14 13:10:34 2008 +++ slime/ChangeLog Mon Sep 15 17:11:19 2008 @@ -1,3 +1,45 @@ +2008-09-15 Helmut Eller heller@common-lisp.net + + * swank-lispworks.lisp (describe-symbol-for-emacs): Revert last + change. + +2008-09-15 Helmut Eller heller@common-lisp.net + + * swank.lisp (sldb-loop): Send a :sldb-return event to ourselfes + to inform the debug session at the lower level. + (wait-for-event): Drop the report-interrupt argument. No longer + needed. + (event-match-p): Add an OR pattern operator. Used to wait for + different events simultaneously. + + (read-packet): Use peek-char to detect EOF. read-sequence wouldn't + work. + + * slime.el (slime-test-interrupt-in-debugger): Call sldb-quit and + sldb-continue in the right buffer. + + * swank-backend.lisp (wait-for-input): + * swank-cmucl.lisp (wait-for-input): + * swank-clisp.lisp (wait-for-input): Use the idiom + "(when (check-slime-interrupts) (return :interrupt))". + +2008-09-15 Helmut Eller heller@common-lisp.net + + Interrupt related hacking. + + * swank-backend.lisp (*pending-slime-interrupts*): Should be + thread-local. Leave global value unbound. + + * swank.lisp (with-interrupts-enabled%): New helper macro. + (with-slime-interrupts, without-slime-interrupts): Use it. + (call-with-connection): Bind *pending-slime-interrupts* here. + (wait-for-event): Add a report-interrupt argument. Currently used + by the debugger to detect when a nested debugger session, which + was triggered by an interrupt in wait-for-event, returns. Doesn't + work well, though. + + * slime.el (slime-test-interrupt-in-debugger): New test. + 2008-09-14 Helmut Eller heller@common-lisp.net
Introduce a WAIT-FOR-INPUT backend function.