I come from bash and am looking into tcsh's tab completion feature.
1) Is it correct that tcsh cannot delegate completion to a shell function (the way bash does with 'complete -F _func cmd')?
2) When delegating completion to an external program, tcsh only provides COMMAND_LINE, unlike bash which provides COMP_LINE and COMP_POINT. This means that tcsh cannot properly do this:
% cmd --foo -<tab> --bar --baz
where I want the program doing the completion to give a list of unmentioned options. Because tcsh will only give COMMAND_LINE as 'cmd --foo -' whereas bash would give the whole line but give clue about the cursor position in COMP_POINT.