[erlang-questions] distel completion?
Peter Sabaini
peter@REDACTED
Thu Dec 18 12:13:12 CET 2008
Hi,
mats has fixed a bug yesterday that triggered the symptoms I described, works
great now. Its in distels' svn HEAD.
Thanks for all the help!
peter.
On Thursday 18 December 2008 02:07:46 Robert Dionne wrote:
> sorry I'm just getting to this again.
>
> Here's what I have in my .erlang:
>
> code:add_pathz("/Users/bitdiddle/emacs/site-lisp/distel/ebin")
>
> so erlang knows about distel. One then adds other paths as needed. I
> typically run erlang in an emacs shell (OS X 10.4, Aquamacs) and pass
> in "-sname foo" so that I can connect distel to a named node. This
> part must be working if you're seeing some completion.
>
> Oh and I also ran into a nasty issue getting the symbolic debugger
> working. I ended up pulling a specific version of distel to address
> this:
>
> svn co -r {2007-07-01} http://distel.googlecode.com/svn/trunk/ distel
>
> Well that's all I know. When you solve it post it so I can add it to
> my bits file
>
> On Dec 16, 2008, at 1:20 PM, Peter Sabaini wrote:
> > On Tuesday 16 December 2008 16:08:58 Ahmed Ali wrote:
> >> 2008/12/16 Peter Sabaini <peter@REDACTED>:
> >>> 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.
> >>>>>
-------------- 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/20081218/8ee685d2/attachment.bin>
More information about the erlang-questions
mailing list