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: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78633: closed (31.0.50; tramp-find-executable ignores
 argument dirlist)
Date: Fri, 30 May 2025 10:37:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 30 May 2025 12:36:43 +0200
with message-id <874ix2l70k.fsf <at> gmx.de>
and subject line Re: bug#78633: 31.0.50; tramp-find-executable ignores argument dirlist
has caused the debbugs.gnu.org bug report #78633,
regarding 31.0.50; tramp-find-executable ignores argument dirlist
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[Message part 5 (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.


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.