Juan Jose Comellas
Fri Jun 5 02:10:41 CEST 2009
It still blocks. When I do C-c C-d g I see the following message on the
Successfully communicated with remote node
The trace from Distel's buffer is the following:
>> REG_SEND: [TYPE erl-pid 3 0 0] rex [[TYPE erl-pid
3 0 0] [call code ensure_loaded (distel) [TYPE erl-pid
1 0 0]]]
>> REG_SEND: [TYPE erl-pid 2 0 0] rex [[TYPE erl-pid
2 0 0] [call distel rpc_entry (erlang node nil) [TYPE
erl-pid 1 0 0]]]
<< SEND: [TYPE erl-pid 3 0 0] [rex [module distel]]
<< SEND: [TYPE erl-pid 2 0 0] [rex ]
>> REG_SEND: [TYPE erl-pid 4 0 0] rex [[TYPE erl-pid
4 0 0] [call distel rpc_entry (distel who_calls
(pbx_json encode_api_reply 1)) [TYPE erl-pid 1 0 0]]]
On Thu, Jun 4, 2009 at 2:48 PM, mats cronqvist <> wrote:
> Juan Jose Comellas <> writes:
> > The situation is the following:
> > a) If I start the Erlang shell, start Emacs and do 'C-c C-d w' on Emacs
> > everything blocks. After that if I try to run distel:who_calls/3 from the
> > Erlang node Emacs is connecting to, it also blocks.
> > b) If I start the Erlang shell from scratch (i.e. without a previous
> > interaction with Emacs) and call distel:who_calls/3 everything works.
> > if after running this function I start Emacs and do 'C-c C-d w' it also
> > works.
> > Maybe the problem is not in Erlang but in this version of Emacs, because
> > was using Erlang R12B-5 with Ubuntu Intrepid and I'm using Erlang R13B
> > Ubuntu Jaunty. The problem seems to be related to the initialization
> > of Distel.
> could you try restarting emacs and erlang, and do C-c C-d g before
> C-c C-d w.
> > What can I do to give you more information of what is happening within
> > Emacs?
> Hmm. I'll see if I can find a Jaunty machine around here somewhere
> before we try doing this over mail.
More information about the erlang-questions