: <i>Unexpected error when aliasing undefined command</i> plus 8 other changes
by
.
D 2005-11-27T19:37:40
J assignee msofer
J closedate 2005-11-27T12:37:40
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThis\sis\snot\sreally\sa\sbug,\sand\s[interp\salias]\shas\snothing\sto\ndo\swith\sit.\sIt\sis\sthe\sautocompletion\sin\sthe\sinteractive\ntclsh\splaying\stricks\son\syou.\sLook\sat\sthe\sfollowing\ssession:\n\n\s\s%\sinterp\salias\s{}\sxxx\s{}\sxx\n\s\sxxx\n\s\s%\sxx\n\s\stoo\smany\snested\sevaluations\s(infinite\sloop?)\n\s\s%\sproc\sxxAHA!\s{}\s{}\n\s\s%\sxx\n\s\sambiguous\scommand\sname\s"xx":\sxxAHA!\sxxx\n\nWhat\sis\shappening\sin\syour\scase\sis:\n\s\s(1)\syou\sinvoke\sa\scommand\snamed\sxx\s(directly)\n\s\s(2)\sno\ssuch\scommand;\sautocompletion\ssees\sthat\sthere\sis\sa\nunique\scommand\s(xxx)\sstarting\swith\sxx,\sand\sinvokes\sit\n\s\s(3)\sxxx\sinvokes\sxx:\sgoto\s1.\n\nNote\salso\sthat\syou\ssee\sthe\scorrect\serror\sif\sthe\sscript\sis\nsourced\sfrom\sa\sfile,\sas\sthe\sautocompletion\sdoes\snot\swork\sin\nthat\scase:\n\nmig@uhu:~$\scat\s/tmp/test\ninterp\salias\s{}\sxxx\s{}\sxx\nxx\nmig@uhu:~$\stclsh\s/tmp/test\ninvalid\scommand\sname\s"xx"\n\s\s\s\swhile\sexecuting\n"xx"\n\s\s\s\s(file\s"/tmp/test"\sline\s2)\n\n
J login msofer
J mimetype text/plain
J resolution Invalid
J status Closed
J username msofer
K 1367486fffffffffffffffffffffffffffffffff
U msofer
Z 7385f68008f5dfe44d36b7e15c2125f0