massemanet / distel

emacs - erlang IDE

Home Page:http://massemanet.github.io/distel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not connect to any erlang node

richcarl opened this issue · comments

From http://code.google.com/p/distel/issues/detail?id=25

Reported by kosmonaFFFt, Jan 15, 2011

What steps will reproduce the problem?

  1. Run node (test@fff-W7)
  2. Set node in emacs (C-c C-d n test@fff-W7)
  3. Try to complete symbol (M-/)

What is the expected output? What do you see instead?
nodedown test@fff-W7

What version of the product are you using? On what operating system?
OS Windows 7 x64, emacs 22.3, erlang 5.8.2, distel-4.3

Please provide any additional information below.
emacs.exe, erl.exe, werl.exe, epmd.exe are has all rights in windows firewall...

Distel and erlang-mode configuration in ~/.emacs file:

;erlang-mode
(add-to-list 'load-path "C:\erlang\erl5.8.2\lib\tools-2.6.6.2\emacs")
(add-to-list 'exec-path "C:\erlang\erl5.8.2\erts-5.8.2\bin")
(setq erlang-root-dir "C:\erlang\erl5.8.2")
(setq inferior-erlang-machine-options '("-sname" "emacs"))
(require 'erlang-start)

;distel
(add-to-list 'load-path "C:\emacs-23.2\site-lisp\distel-4.03\elisp")
(require 'distel)
(distel-setup)

Check all your 3 paths for .erlang.cookie to be equal:

  1. C-x C-f ~/.erlang.cookie
  2. C-x C-f ~/../../.erlang.cookie
  3. In Cygwin Bash: cat ~/.erlang.cookie