In Issue #722, @monstrous-moonshine reported:
@russtoku @Olical MIT Scheme has the -emacs option to be controlled by emacs. I wonder if we can't piggyback on that? If you think it's a line worth pursuing, I could spend some time trying to understand this protocol. I'm not sure if I'll be able to intercept whatever emacs sends to MIT Scheme, but it just might be possible.
Right now Conjure gets confused if the evaluated form prints something that looks like an output prompt. If you evaluate this:
(begin
(newline)
(display ";Value: 3"))
This appears in the log:
; eval (root-form): (begin (newline) (display ";Value: 3"))
3
; (out) ;Unspecified return value
So Conjure thinks the value 3 was produced. I think if we followed the emacs protocol, it wouldn't be fooled, since the protocol was presumably designed for this exactly.
NOTE: Creating this issue to track things separately.
In Issue #722, @monstrous-moonshine reported:
@russtoku @Olical MIT Scheme has the
-emacsoption to be controlled by emacs. I wonder if we can't piggyback on that? If you think it's a line worth pursuing, I could spend some time trying to understand this protocol. I'm not sure if I'll be able to intercept whatever emacs sends to MIT Scheme, but it just might be possible.Right now Conjure gets confused if the evaluated form prints something that looks like an output prompt. If you evaluate this:
This appears in the log:
So Conjure thinks the value 3 was produced. I think if we followed the emacs protocol, it wouldn't be fooled, since the protocol was presumably designed for this exactly.
NOTE: Creating this issue to track things separately.