[slime-devel] Re: interrupt vs simple-break
heller at common-lisp.net
Fri Nov 24 14:39:21 UTC 2006
* Taylor R Campbell [2006-11-24 08:49+0100] writes:
> Can someone explain to me the purpose of distinguishing the
> :EMACS-INTERRUPT wire message from the SWANK:SIMPLE-BREAK RPC, or why
> `slime-repl-read-break' on the Emacs side sends an :EMACS-REX of the
> latter rather than just sending an :EMACS-INTERRUPT message?
It's likely that :EMACS-INTERRUPT didn't yet exist at the time when
that code was written. Interrupting was done by sending Unix signals,
and it is desirable to avoid signals, if possible. Today it could
probably rewritten in terms of :EMACS-INTERRUPT (and READ-CHAR-NO-HANG
from the REPL should also be fixed).
More information about the slime-devel