You can also implement in-place completion on arbitrary CAPI panes by calling prompt-with-list-non-focus .
prompt-with-list-non-focus
CAPI User Guide (Unix version) - 30 Aug 2011