[erlang-questions] distel completion?

Peter Sabaini <>
Tue Dec 16 19:20:54 CET 2008


On Tuesday 16 December 2008 16:08:58 Ahmed Ali wrote:
> 2008/12/16 Peter Sabaini <>:
> > On Tuesday 16 December 2008 13:55:28 you wrote:
> >> In your .erlang file add your project's code path and it should work.
> >
> > I've got sth like this in my .erlang:
> >
> > code:add_patha("/home/sabaini/src/myproject").
>
> I think you need to add distel's ebin code path here. For me,
> completion works with all modules.

Nope, still only works with built-in modules. 

Maybe I should add that I don't run the newest Erlang -- I've been lazy and 
just installed the one that is packaged for Ubuntu 8.10, R12B-3; don't know if 
it makes a difference.

Thx,
peter.


> >  -- ie. where my sources are.
> >
> > I get this error message at the erl shell when trying to complete one of
> > my modules' start_link() fun:
> >
> > =ERROR REPORT==== 16-Dec-2008::14:24:33 ===
> > ** Generic server otp_doc terminating
> > ** Last message in was {funcs,"delivery","start",[]}
> > ** When Server state == {state,"/usr/lib/erlang",file,"-"}
> > ** Reason for termination ==
> > ** {bad_return_value,no_data}
> >
> > As a variation I used add_pathz() instead, but no observable change.
> >
> > Should this work?
> >
> > Thanks,
> > peter.
> >
> >> I also find flymake very helpful. Distel rocks!
> >>
> >> On Dec 16, 2008, at 4:59 AM, Peter Sabaini wrote:
> >> > Hi, any distel users here?
> >> >
> >> > I'm new to distel and like it, one question though -- it seems
> >> > distel only
> >> > does completion on built-in libraries, is that correct? Is there a
> >> > way to get
> >> > it to complete my own code also?
> >> >
> >> > Thanks,
> >> > peter.
> >> >
> >> > _______________________________________________
> >> > erlang-questions mailing list
> >> > 
> >> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081216/d86f6f76/attachment.bin>


More information about the erlang-questions mailing list