distel setup problem

karol skocik <>
Wed Feb 1 13:57:09 CET 2006

  I am trying to get Distel 3.3 working, but with no luck so far. On
the application side : .erlang file with
"code:add_pathz("/usr/local/share/distel/ebin")" - as it is written in
INSTALL for Distel - is ignored by my erl for some?? reason, but with
code:add_patha(...) works ok. The application I want to connect to
Distel is started like this :

erl -pa ./ebin -pa /usr/local/share/distel/ebin -sname agent -config
agent -run md_snmpa_ipe go

here :

()1> erlang:node().

and the path to Distel is ok too : (the distel module is loaded when I
call something from it)

()2> code:get_path().

however :

when I want to connect from Emacs to running node ,
like M-x erl-ie-session RET, Node : 

after a really long delay (couple dozens of minutes), Emacs become
responsive again, and I can find 2 buffers like with status line
showing some erlang pid, or *ie session <>* (Erlang EXT)

When I write something in this buffer and request complete with M-Tab,
Emacs become unresponsive again.

My setup in .emacs for Erlang related stuff looks like this :

;; setup Erlang
(add-to-list 'load-path "/usr/local/lib/erlang/lib/tools-2.4.6/emacs")
(setq erlang-root-dir "/usr/local/lib/erlang")
(add-to-list 'exec-path "/usr/local/lib/erlang/bin")
(require 'erlang-start)

(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/distel")
(require 'distel)
(add-hook 'erlang-mode-hook 'distel-erlang-mode-hook)

What might be a problem?

Thanks for any ideas,

More information about the erlang-questions mailing list