This is the mail archive of the
mailing list for the Guile project.
Re: interrupting the Scheme process
We might be able to use something like the "emergency escape"
(double `C-g') feature. Add a C flag `scheme_evaluator_active'
and make `scheme-eval' and `lisp-eval' set and reset it. Then in
the `C-g' handler which usually tests `quit-flag', interrupt
Guile instead if `scheme_evaluator_active' is set.
Emacs would also have to convert Lisp quits to Scheme interrupts
and vice versa when returning from the *-eval functions.
Could this work?