distel
distel copied to clipboard
Not connect to any erlang node
From http://code.google.com/p/distel/issues/detail?id=25
Reported by kosmonaFFFt, Jan 15, 2011
What steps will reproduce the problem?
- Run node (test@fff-W7)
- Set node in emacs (C-c C-d n test@fff-W7)
- 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:
- C-x C-f ~/.erlang.cookie
- C-x C-f ~/../../.erlang.cookie
- In Cygwin Bash: cat ~/.erlang.cookie