Re: distel and emacs unicode-2 (again)
Luke Gorrie <[email protected]> Sun, 03 Jun 2007 18:08:13 +0200
| Newsgroups | gmane.comp.lang.erlang.distel.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthew D Swank <[email protected]> writes: > I am still at a loss as to what is wrong when I try to use distel in emacs > 23.x. Could someone *please* give me some feed-back on what might be > wrong. > > Here is a typical trace from running a command that needs to connect to a > node (in this case erl-process-list): > > Debugger entered--Lisp error: (error "lucretia/-29892 Servname not supported for ai_socktype") > make-network-process(:name "netfsm" :buffer #<buffer *net-fsm*> :host "lucretia" :service -29892) > open-network-stream("netfsm" #<buffer *net-fsm*> "lucretia" -29892) Emacs is trying to open a socket to host lucretia on port -29892. The port number is invalid, hence the error. The bug is probably in epmd-recv-port-resp where decoding the port number from epmd out of an emacs buffer and into an integer is going awry. This is a common sort of problem when keeping binary data in Emacs buffers: you get a lot of unwanted problems with conversions when Emacs wants to intepret the contents of buffers as encoded characters instead of plain bytes. Hopefully the crowd of Emacs hackers coming to Erlang as part of the general influx will make short work of this and other bugs! I'd enjoying a break from serious Emacs hacking myself :-) Cheers, -Luke ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/