Hello,
I'm using Slime on PPC OS X with ClozureCL and Carbon Emacs 22. I've been running into the following issue for a long time with different versions of above software, and it finally itches enough to ask.
When I encounter errors with ClozureCL, I normally just press "q" to leave the debugger. This works with Slime and other Lisp implementations, however on the above setup it occassionally kills the connection with Lisp. It doesn't happen for all errors, though. I am wondering if Slime picks the wrong restart, or if there is another issue.
Thanks!
* Vyacheslav Akhmechet [2008-03-26 18:36+0100] writes:
Hello,
I'm using Slime on PPC OS X with ClozureCL and Carbon Emacs 22. I've been running into the following issue for a long time with different versions of above software, and it finally itches enough to ask.
When I encounter errors with ClozureCL, I normally just press "q" to leave the debugger. This works with Slime and other Lisp implementations, however on the above setup it occassionally kills the connection with Lisp. It doesn't happen for all errors, though. I am wondering if Slime picks the wrong restart, or if there is another issue.
It's unlikely that q picks the wrong restart. The restart is stored in the global variable *sldb-quit-restart* with something like this:
(loop (with-simple-restart (abort "Return to SLIME's top level.") (let ((*sldb-quit-restart* (find-restart 'abort))) ...)))
And q essentially does:
(let ((restart (find-restart *sldb-quit-restart*))) (cond (restart (invoke-restart restart)) (t (error ...))))
This look quite robust to me. The problem is probably some caused by some other issue.
Helmut.
I'd recommend using the current development version of CCL together with the trunk version of CVS slime. That works well for me, on Mac OS X 10.4.11 on a PowerBook.
svn co http://svn.clozure.com/publicsvn/openmcl/trunk/darwinppc/ccl/
-Hans
2008/3/26, Vyacheslav Akhmechet coffeemug@gmail.com:
Hello,
I'm using Slime on PPC OS X with ClozureCL and Carbon Emacs 22. I've been running into the following issue for a long time with different versions of above software, and it finally itches enough to ask.
When I encounter errors with ClozureCL, I normally just press "q" to leave the debugger. This works with Slime and other Lisp implementations, however on the above setup it occassionally kills the connection with Lisp. It doesn't happen for all errors, though. I am wondering if Slime picks the wrong restart, or if there is another issue.
Thanks! _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
On Thu, Mar 27, 2008 at 8:51 AM, Hans Hübner hans@huebner.org wrote:
I'd recommend using the current development version of CCL together with the trunk version of CVS slime.
After updating and still encountering the problem, I narrowed it down to my .emacs configuration. I'm using highlight-current-line module, and it is what's causing the issue. Turning it off for both sldb and repl buffers fixes the issue:
(setq highlight-current-line-ignore-regexp "Faces\|Colors\| \*Mini\|\*slime-repl.* \|\*sldb.*")
Thanks for your help, and sorry for the noise.