Missing completion on io #2

richcarl opened this Issue Jul 25, 2011 · 0 comments


None yet

1 participant


From http://code.google.com/p/distel/issues/detail?id=15

Reported by refsdal....@gmail.com, Mar 2, 2009

What steps will reproduce the problem?

  1. Writing io:<M-?>

What is the expected output?
"Possible completions are:
columns format fread fwrite
get_chars get_line get_password nl
parse_erl_exprs parse_erl_form put_chars read
request requests rows scan_erl_exprs
scan_erl_form setopts write"

What do you see instead?
There are no completions.

What version of the product are you using? On what operating system?
Both distel from SVN revision 89 and the Xmas edition gives me this.
erl -version == Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.6.3
Ubuntu 8.10.

Possible fix? I don't know if this is preferable or not.
$ svn diff distel.erl

Index: distel.erl

--- distel.erl (revision 89)
+++ distel.erl (working copy)
@@ -672,7 +672,7 @@

xref_completions(F,A) ->
fun(server) -> distel_completions;

  •   (opts)   -> [{xref_mode, modules}];
  •   (opts)   -> [code:lib_dir()];
    (otp)    -> true;
    (query_) -> to_list(fmt(F,A))

This fixes the problem for me. But maybe it breaks something else I don't
know about.

Ivar Refsdal.

Comment 1 by project member mats.cro...@gmail.com, Mar 6, 2009

works for me. please try (in the erlang shell);

should print;


Status: Started
Owner: mats.cronqvist
Comment 2 by refsdal....@gmail.com, Mar 8, 2009

distel:functions(io, "").

distel:functions(rpc, "").

Also tried installing Erlang from source, including erlang-mode. Same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment