Re: erl-complete ...

Matthias Radestock <[email protected]> Wed, 12 Sep 2007 22:01:16 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Pierre Radermecker wrote:
> I am wondering why some completions do not seem to work. For instance "math:"
> only gives pi(). None of the functions in the erlang module seems to
> complete(list_to, is_, ...)

This is not distel's fault. There is something odd about these modules; 
xref cannot see much in them either:

(x@h)2> xref:start(foo, {xref_mode, modules}).
{ok,<0.158.0>}
(x@h)3> xref:add_release(foo, code:lib_dir(), {name, otp}).
ok
(x@h)4> xref:q(foo, 'X * math:_/_').
{ok,[{math,pi,0}]}
(x@h)6> xref:q(foo, 'X * erlang:"list_to.*"/_').
{ok,[{erlang,list_to_integer,2}]}
(x@h)7> xref:q(foo, 'X * erlang:"is_.*"/_').
{ok,[]}


Matthias.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/