emacs 21, comint and erlang-mode

Jimmy Olgeni <>
Sat Mar 30 22:29:20 CET 2002


Hi!

Looks like something changed in the comint package for emacs 21.x: erlang
mode hangs when waiting for the erl prompt, then times out after 60
seconds.

If you press Ctrl-G while it is hung, the prompt appears regularly.

For some reason the loop in inferior-erlang-wait-prompt fails when
"looking-at" the comint-prompt-regexp.

Silly workaround for your .emacs:

  (add-hook 'erlang-mode-hook (lambda () (setq comint-prompt-regexp "")))

:-)

-- 
jimmy





More information about the erlang-questions mailing list