Re: distel and emacs unicode-2 (again)
Bill Clementson <[email protected]> Wed, 18 Jul 2007 09:05:50 -0700
| Newsgroups | gmane.comp.lang.erlang.distel.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthew D Swank <[email protected]> writes: > Pierre wrote: >> Luke Gorrie <luke.gorrie <at> synap.se> writes: >> >>> Matthew D Swank <akopa.gmane.poster <at> gmail.com> writes: >>> >>>> However, I'm still getting a node down message. In fsm-connect >>>> the call to fsm-open-socket seems to be completing ok. The call to >>>> fsm-attach looks like the next culprit. I'm kind of flying blind on the >>>> protocol, so I'm not sure what to look for next. >> >> Any follow-up for this issue ? >> > > I gave up and went back to hacking lisp. Were you encountering the same errors with other versions of emacs or just with the unicode-2 branch of emacs 23? I suspect that most distel hackers are using either the latest Emacs (22.1, released on June 2, 2007) or "standard" CVS emacs or some pre-22 release of emacs. If the problem only occurs with the unicode-2 branch of CVS emacs, have you investigated the possibility that the node communication might be undergoing a unicode transformation and thus not being interpreted correctly in distel? You should be able to verify this if you: 1. Start up emacs 23-unicode-2. 2. Do (setq fsm-use-debug-buffer t) so that you can trace the node communication. 3. Do the sequence of distel operations that were failing for you before (presumably, this was just connecting to the node "C-c C-d n" and trying to run some command like list processes "C-c C-d l"). 4. Save the contents of the *fsm-debug* buffer (you might want to also switch to hexl mode and save the contents in that format too). Then, do the same sequence of operations in emacs 22 and compare the contents of the *fsm-debug* buffer in both. Hopefully, that should provide some clues. If it's not obvious what the problem is by comparing the debug logs, you'll have to see what messages the node is sending. Luke provided some links in an earlier email to documents that describe the node<->node protocol: http://article.gmane.org/gmane.comp.lang.erlang.distel.devel/107 -- Bill Clementson ------------------------------------------------------------------------- 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/