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


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 84 days ago.

Previous Next


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