<div dir="ltr">You have to fix the code:<div><br></div><div><pre class="" style="margin-top:0px;margin-bottom:0px;width:750px"><div class="" id="file-mpegts_alloc-s-LC22" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">
<span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">function</span><span class="">,</span> <span class="" style="color:teal">module_info</span><span class="">,</span> <span class="" style="color:rgb(0,153,153)">0</span><span class="">,</span> <span class="" style="color:rgb(0,153,153)">4</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC23" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">  <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">label</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">3</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC24" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">line</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">[]}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC25" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">func_info</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">t</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">module_info</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">0</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC26" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">  <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">label</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">4</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC27" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">move</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">t</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">x</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">0</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC28" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">line</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">[]}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC29" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">call_ext_only</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">1</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">extfunc</span><span class="">,</span><span class="" style="color:teal">erlang</span><span class="">,</span><span class="" style="color:teal">get_module_info</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">1</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC30" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px"> </div><div class="" id="file-mpegts_alloc-s-LC31" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">
 </div><div class="" id="file-mpegts_alloc-s-LC32" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px"><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">function</span><span class="">,</span> <span class="" style="color:teal">module_info</span><span class="">,</span> <span class="" style="color:rgb(0,153,153)">1</span><span class="">,</span> <span class="" style="color:rgb(0,153,153)">6</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC33" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">  <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">label</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">5</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC34" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">line</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">[]}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC35" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">func_info</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">t</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">module_info</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">1</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC36" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">  <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">label</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">6</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC37" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">move</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">x</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">0</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">x</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">1</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC38" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">move</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">atom</span><span class="">,</span><span class="" style="color:teal">t</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">x</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">0</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC39" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">line</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">[]}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC40" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px">    <span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:rgb(153,0,0);font-weight:bold">call_ext_only</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">2</span><span class="">,</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">{</span><span class="" style="color:teal">extfunc</span><span class="">,</span><span class="" style="color:teal">erlang</span><span class="">,</span><span class="" style="color:teal">get_module_info</span><span class="">,</span><span class="" style="color:rgb(0,153,153)">2</span><span class="" style="color:rgb(166,23,23);background-color:rgb(227,210,210)">}}</span><span class="">.</span></div>
<div class="" id="file-mpegts_alloc-s-LC40" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16.799999237060547px"><br></div><div class="" id="file-mpegts_alloc-s-LC40">
<font face="arial"><span style="white-space:normal">Change {atom,t} to your actual module name.</span></font></div><div class="" id="file-mpegts_alloc-s-LC40"><font face="arial"><span style="white-space:normal"><br></span></font></div>
<div class="" id="file-mpegts_alloc-s-LC40"><font face="arial"><span style="white-space:normal">// Björn-Egil</span></font></div></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-22 10:49 GMT+02:00 Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>(<a href="mailto:flussonic@127.0.0.1" target="_blank">flussonic@127.0.0.1</a>)1> mpegts_alloc:*** ERROR: Shell process terminated! ***</div>
<div>12:41:45.092 emulator Error in process <0.3772.3> on node '<a href="mailto:flussonic@127.0.0.1" target="_blank">flussonic@127.0.0.1</a>' with exit value: {badarg,[{erlang,get_module_info,[t],[]},{t,module_info,0,[]},{edlin_expand,expand_function_name,2,[{file,"edlin_expand.erl"},{line,53}]},{group,get_line1,4,[{file,"group.erl"},{line,541}]},{group,get_chars_loop,8,[{file,"group.... </div>

<div><br></div><div><br></div><div>Here is what is happening:  I type mpegts_alloc:  and then press TAB. After this I see this message.</div><div><br></div><div>Module mpegts_alloc is very specific: <a href="https://gist.github.com/maxlapshin/5531424" target="_blank">https://gist.github.com/maxlapshin/5531424</a></div>

<div><br></div><div>When I ask to autocomplete binary:  functions, it works ok.</div><div><br></div><div>Something broken in this module mpegts_alloc?</div><div><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>