tab completion in inferior erlang

Luke Gorrie luke@REDACTED
Mon Aug 20 17:41:04 CEST 2001


Hio,

Has anyone managed to get tab-completion to work in the inferior
Erlang shell in emacs? I can't quite make it happen.

(It may come as news to some people that the erlang shell has tab
completion - it took a year and a half for me to find out, because I
always used it in emacs :-))

Also a couple of random notes:

I (setq comint-process-echoes t) to avoid having my input echoed at me
in the buffer.

If you try inferior erlang under emacs 21 then you can hack
erlang.el's "inferior-erlang-wait-prompt" by changing
(beginning-of-line) to (search-backward-regexp "^") to avoid it always
thinking the shell is busy. Emacs 21's comint mode uses some magic
"fields" so the beginning-of-line isn't where you might think it is.

Cheers,
Luke




More information about the erlang-questions mailing list