i copy my issue from distel wiki in googlecode.<br><br clear="all"><strong>What steps will reproduce the problem?</strong><br>0. set up distel: with below code:<br>-------------------------------------------<br>(add-to-list 'load-path "D:\\HOME\\distel\\elisp")
<br>(when (locate-library "distel")<br>  (require 'distel)<br>  (distel-setup)<br>  ;; (add-hook 'erlang-mode-hook 'distel-erlang-mode-hook) ; now with apt-<br>get<br>  (add-hook 'erlang-mode-hook
<br>            '(lambda ()<br>               (unless erl-nodename-cache<br>                 (distel-load-shell))))<br>    (defun distel-load-shell ()<br>    "Load/reload the erlang shell connection to a distel node"
<br>    (interactive)<br>    ;; Set default distel node name<br>    (setq erl-nodename-cache 'emacs@krzycube-laptop)<br>    (setq distel-modeline-node "emacs")<br>    (force-mode-line-update) <br>                 ;; Start up an inferior erlang with node name `distel'
<br>    (let ((file-buffer (current-buffer))<br>          (file-window (selected-window)))<br>      (setq inferior-erlang-machine-options '("-sname" "emacs"))<br>      (switch-to-buffer-other-window file-buffer)
<br>      (inferior-erlang)<br>      (select-window file-window)<br>      (switch-to-buffer file-buffer))))<br>-------------------------------------------<br><br>1. run emacs 22.1 on windows xp pro<br>2. M-x erlang-mode<br>
3. C-c C-z to run erlang-shell . <br> 4.C-x C-f open some erlang source<br>5.c(xx.erl,[debug_info]). <br>5.C-c C-d n , connet to node named emacs@krzycube as configured before<br>6.C-c C-d L , try to reload code. then here failed.
<br><br>here servral steps:<br>first , can not find ~/.erlang.cookie , then i create it.<br>why didn't this create itself ? <br>after this , i face the message below:<br><br><strong>What is the expected output? What do you see instead?
</strong><br><br><font color="#ff6600">if: Can't handle event closed in state<br>derl-recv-challenge-ack<br>Can't handle event closed in state<br>derl-recv-challenge-ack</font><br><br><strong>What version of the product are you using? On what operating system?
</strong><br>Erlang (BEAM) emulator version 5.5.5 [async-threads:0]<br><br>Eshell V5.5.5  (abort with ^G)<br><br>on windows xp.<br><br><strong>Please provide any additional information below.</strong><br><br>i have tried distel before on my Ubuntu 
7.04 with Emacs 21.3 , it works well. <br>but on windows , it doesn't.<br><br>and i also try to google this error message , found something ,said:<br>there's newline in the cookie file , also i try to fix derl.el , but failed .
<br><br><br>-- <br>"Yu Xihe" as Chinese Name<br>"Martin" as English Name<br>"KrzyCube" as Nickname