% emacs -nw -q
M-x compile
Change compile command to something that accepts interactive input, such as cat:
C-a C-k cat RET
Go to the end of the compilation buffer and enter comint-mode:
C-x o M->
M-x comint-mode
Type something and hit RET:
hello, world RET
Emacs issues the following error:
error in process filter: Wrong type argument: markerp, nil
Does anyone know how to fix this?
The usual way: set debug-on-error, reproduce the error, look at the
backtrace, if you don't know what to do then, post the backtrace for more
info, ...
Stefan
The compile-input.el solution posted by Kevin Rodgers solved the
problem for me (thanks!), so I am back in business. (Indeed, this
solution is even nicer than using comint-mode, since I don't have to
change modes in the compilation buffer.)
Just out of curiosity, I did as you suggested above, using comint-mode
as before, and got this backtrace:
Debugger entered--Lisp error: (wrong-type-argument markerp nil)
marker-position(nil)
compilation-filter(#<process compilation> "hello, world\n")
I can't afford the time to explore it further now, especially since my
problem is solved, but anyone else who's interested now has that as a
starting point.
Thanks to both of you for your assistance.