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


View this message in rfc822 format

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 79151 <at> debbugs.gnu.org, Jim Porter <jporterbugs <at> gmail.com>
Subject: bug#79151: 31.0.50; eshell does not complete filename arguments with tramp
Date: Mon, 04 Aug 2025 11:55:59 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Daniel Mendler <mail <at> daniel-mendler.de> writes:
>
> Hi Daniel,
>
>>> I also don't remember the reason, why remote file name completion was
>>> discarded for external command's arguments and pipes. Performance?
>>>
>>> If this is what users want, we should get rid of this restriction.
>>
>> As I understand bug#65356 the problem was that file completion sets in
>> in unwanted cases. Back then you pushed the 'pcomplete-remote-file-ignore'
>> workaround with this comment:
>
> pcomplete-remote-file-ignore is important in the shell-mode case. We
> don't want 'cd /sudo::/' commands there :-)

Yes, in shell-mode the variable pcomplete-remote-file-ignore is set to
t, such that remote completion is disabled completely, which is probably
the right thing to do.

>>     Let's just go with the change to add 'pcomplete-remote-file-ignore' for 
>>     now. I'll have to think more about how Eshell can selectively ignore 
>>     remote files correctly in all cases; there are a bunch of areas where 
>>     Eshell could be smarter about completion already, and I have the feeling 
>>     they'll conflict with each other if we don't plan this out carefully...
>
> IIRC, this comment was from Jim. I have no personal preference, how
> Eshell allows or discards remote file name completion.
>
> Best regards, Michael.




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.