Distel

Luke Gorrie <>
Thu Apr 18 21:35:46 CEST 2002


"Vlad Dumitrescu" <> writes:

> > Check your Erlang distibution cookies.
> > It looks like your erlang-node and your
> > "emacs"-node uses incompatible cookies.
> 
> Ouch... it was actually even simpler: a needed external C program (dec32)
> was not to be found - a $path trouble. It still doesn't work perfectly, but
> at least it connects.

I recently put Distel on Sourceforge, the project page is
http://sourceforge.net/projects/distel/. The CVS version has some
fixes since 1.0 (mostly thanks to Vladimir Sekissov). That might solve
your troubles - otherwise please send me a mail or file a bug report
on SF.

Regarding XEmacs, the problem right now is that some Emacs functions
I'm using don't exist there, like set-buffer-multibyte and
dired-string-replace-match. If someone who knows XEmacs wants to port
it I'll be happy to accept get a patch :-) otherwise I'll break out
the XEmacs manual before the next release.

BTW, a nice feature of the CVS version is pattern matching, e.g. you
can "port":

  case X of
    {add, X, Y} -> X + Y;
    {sub, X, Y} -> X - Y;
    _           -> error
  end.

to:

  (mcase x
    ([tuple add X Y] (+ x y))
    ([tuple sub X Y] (- x y))
    (_               'error))

I'll do a new release after I get 'receive' implemented and update the
manual.

Toodlepip,
Luke




More information about the erlang-questions mailing list