GNU bug report logs - #79151
31.0.50; eshell does not complete filename arguments with tramp

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Sat, 2 Aug 2025 11:00:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #8 received at 79151 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Daniel Mendler <mail <at> daniel-mendler.de>, 79151 <at> debbugs.gnu.org
Cc: Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#79151: 31.0.50; eshell does not complete filename arguments
 with tramp
Date: Sat, 2 Aug 2025 11:46:34 -0700
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.