From: Kalyanov D. <kal...@gm...> - 2011-03-14 17:06:24
|
C-c in SLIME is different from C-c in console: in the former case, Emacs receices C-c and SLIME sends the message to SBCL over the socket. The correct value for SWANK:*COMMUNICATION-STYLE* is :SPAWN. IIRC, it should be set in ~/.swankrc file which is located at (merge-pathnames ".swankrc" (user-homedir-pathname)) On Mon, 2011-03-14 at 09:33 -0400, Mark H. David wrote: > I didn't set this. It comes up as nil when I start sbcl under slime. > What would be the correct value, anyhow? > I tried all three other values, but C-c still kills Lisp. > > On 3/14/2011 4:22 AM, Heka Treep wrote: > > Have you tried to assign the correct value to the > > SWANK:*COMMUNICATION-STYLE* variable (see > > http://common-lisp.net/project/slime/doc/html/Communication-style.html)? > > Currently SLIME just don't know about threads in SBCL on Win32 > > platform, so you need do it by hand (I tried this on dmitry_vk version > > some times ago and C-c worked fine). > > > > 2011/3/13, Mark H. David<mh...@yv...>: > >> Yes, I'm one who wants C-c to interrupt Lisp and go into the debugger > >> (in the SLIME > >> REPL case), as opposed to dead Lisp with the message "Lisp connection closed > >> unexpectedly; connection broken by remote peer", which I have trouble > >> believing anyone wants. > >> > >> If you can do this, I'd be very happy, and I'm sure it would improve the > >> usefulness of > >> SBCL on Windows tremendously. > >> > >> Thanks, > >> > >> Mark > >> On 3/10/2011 5:40 PM, Anton Kovalenko wrote: > > ------------------------------------------------------------------------------ > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > Sbcl-devel mailing list > > Sbc...@li... > > https://lists.sourceforge.net/lists/listinfo/sbcl-devel > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Sbcl-devel mailing list > Sbc...@li... > https://lists.sourceforge.net/lists/listinfo/sbcl-devel |