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>

To reply to this bug, email your comments to 78633 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78633; Package emacs. (Thu, 29 May 2025 18:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinyang Chen <chenxinyang99 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 29 May 2025 18:44:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]

Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Fri, 30 May 2025 10:37:01 GMT) Full text and rfc822 format available.

Notification sent to Xinyang Chen <chenxinyang99 <at> gmail.com>:
bug acknowledged by developer. (Fri, 30 May 2025 10:37:02 GMT) Full text and rfc822 format available.

Message #10 received at 78633-done <at> debbugs.gnu.org (full text, mbox):

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.




This bug report was last modified 27 days ago.

Previous Next


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