GNU bug report logs - #31704
26.1; tramp-remote-path/shell: broken executable completion

Previous Next

Package: emacs;

Reported by: xristos <xristos <at> sdf.org>

Date: Mon, 4 Jun 2018 07:24:02 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: xristos <xristos <at> sdf.org>
Cc: 31704 <at> debbugs.gnu.org
Subject: bug#31704: 26.1; tramp-remote-path/shell: broken executable completion
Date: Wed, 20 Jun 2018 12:17:23 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

>> The issue lies in shell--command-completion-data which is called
>> by shell-command-completion, it only checks directories in
>> exec-path (local) rather than tramp-remote-path. This bug also
>> leaks the local exec-path to the remote server.
>
> I have been bitten several times over the last years by this
> problem. Not enough energy to track it down.
>
> I will take your bug report as motivation to give it a try for
> fixing. Likely not Just Now, but next time, somehow. I fear, there's no
> simple solution.

Finally, I've implemented this. If you have a chance to build Emacs from
the git repository, you could try it.

Best regards, Michael.




This bug report was last modified 6 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.