Closed LemonBreezes closed 1 year ago
Hi! Tramp is intentionally unsupported for file completion since my experience with it has been mixed (error messages, password prompts which interfere with the completion popup etc). cape-file
binds non-essential
and uses cape--nonessential-table
which prevent Tramp from connecting. If non-essential
is removed it may work as long as cape--bounds
returns correct file name bounds. You can give that a try and experiment. I guess it needs some debugging.
I should add - if it can be made to work reliably, I am not against supporting Tramp in cape-file
. In principle it should work given that Eshell completion with Corfu also seems to work with Tramp (maybe you remembered that). But a quick try of disabling non-essential
in cape-file
resulted in errors like "Remote file error: Forbidden reentrant call of Tramp" and "Tramp failed to connect. If this happens repeatedly, try...".
Hi. I remember previously, when using Eshell, I would get completions from Tramp when typing
/ssh:
. I don't know if they were coming fromcape
or frompcomplete
orcompany
but I'm wondering ifcape-file
should handle such file names.