GNU bug report logs -
#79151
31.0.50; eshell does not complete filename arguments with tramp
Previous Next
Full log
Message #8 received at 79151 <at> debbugs.gnu.org (full text, mbox):
CCing Michael, since I don't know much about the interaction between
Pcomplete and Tramp here.
On 8/2/2025 3:59 AM, Daniel Mendler via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
> After an unknown command there is a discrepancy how file names are
> completed depending on if the current directory is local or remote.
>
> In Eshell I enter some command unknown to Pcomplete and then I try to
> complete a filename:
>
> ~/local $ mycommand fileprefix<TAB> --> Completion works
> /ssh:user <at> host:~/ $ mycommand fileprefix<TAB> --> Completion does not work
> /su::/ $ mycommand fileprefix<TAB> --> Completion does not work
>
> I can fix the problem with the following advice which disables the
> `pcomplete-remote-file-ignore' override:
>
> (advice-add 'eshell-complete-parse-arguments
> :after (lambda () (kill-local-variable 'pcomplete-remote-file-ignore)))
>
> Is this expected or is this a bug? What is the reasoning behind
> disabling file name completion? I would like to always have the ability
> to complete file names.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.