Hi,

in an Emacs comint buffer,

 (with-output-to-string (lambda () (display "foo")))

works as expected. But

 (with-output-to-string (lambda () (error "foo")))

blocks the prompt until C-d is sent (via C-c C-d) to the terminal, at
which point the debugger prompt (sans the explanatory prelude) pops up.
(My guess is that the explanation is going to somewhere unawares of the
underlying redirection of stdout/stderr setup by comint, but i'm most
probably wrong).

Geiser, who's trying to adapt to the brave new debugging world, is
unhappy about this state of affairs ;)

Thanks,
jao
-- 
If all else fails read the instructions. - Donald Knuth



Reply via email to