GNU bug report logs - #78633
31.0.50; tramp-find-executable ignores argument dirlist

Previous Next

Package: emacs;

Reported by: Xinyang Chen <chenxinyang99 <at> gmail.com>

Date: Thu, 29 May 2025 18:44:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Xinyang Chen <chenxinyang99 <at> gmail.com>
Subject: bug#78633: closed (Re: bug#78633: 31.0.50; tramp-find-executable
 ignores argument dirlist)
Date: Fri, 30 May 2025 10:37:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78633: 31.0.50; tramp-find-executable ignores argument dirlist

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78633 <at> debbugs.gnu.org.

-- 
78633: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78633
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Xinyang Chen <chenxinyang99 <at> gmail.com>
Cc: 78633-done <at> debbugs.gnu.org
Subject: Re: bug#78633: 31.0.50; tramp-find-executable ignores argument dirlist
Date: Fri, 30 May 2025 12:36:43 +0200
Version: 31.1

Xinyang Chen <chenxinyang99 <at> gmail.com> writes:

Hi,

> Tramp is not finding `ls` from a non-standard path added to
> `tramp-remote-path`.

Thanks for the bug report!

> On further inspection `tramp-find-executable` is using `command -pv`
> which only uses a pre-defined PATH and not the PATH env variable. I
> think `command -v` should be used instead.

Indeed. I've fixed this in master, closing the bug.

> Alan

Best regards, Michael.

[Message part 3 (message/rfc822, inline)]
From: Xinyang Chen <chenxinyang99 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; tramp-find-executable ignores argument dirlist
Date: Thu, 29 May 2025 13:43:28 -0500
[Message part 4 (text/plain, inline)]
Tramp is not finding `ls` from a non-standard path added to
`tramp-remote-path`.

On further inspection `tramp-find-executable` is using `command -pv` which
only uses a pre-defined PATH and not the PATH env variable. I think
`command -v` should be used instead.

Alan
[Message part 5 (text/html, inline)]

This bug report was last modified 84 days ago.

Previous Next


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