GNU bug report logs - #71709
Fix recent change in tramp-sh-handle-make-process

Previous Next

Package: emacs;

Reported by: Iurie Marian <marian.iurie <at> gmail.com>

Date: Fri, 21 Jun 2024 19:13:02 UTC

Severity: normal

Fixed in version 30.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Iurie Marian <marian.iurie <at> gmail.com>
Cc: 71709 <at> debbugs.gnu.org
Subject: Re: bug#71709: Fix recent change in tramp-sh-handle-make-process
Date: Fri, 21 Jun 2024 21:21:36 +0200
Iurie Marian <marian.iurie <at> gmail.com> writes:

Hi,

> tramp-sh-handle-make-process is failing when `:stderr' argument is
> used.
>
> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.41, cairo version 1.18.0) of 2024-06-21 built on rrouwprlc0222
> Repository revision: e7123edfe7f7abc9043429dfb3f84941f83d6565
> Repository branch: master
> System Description: Ubuntu 24.04 LTS
>
> diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
> index bce7c323dad..68018298b68 100644
> --- a/lisp/net/tramp-sh.el
> +++ b/lisp/net/tramp-sh.el
> @@ -2969,6 +2969,7 @@ tramp-sh-handle-make-process
>        (let* ((program (car command))
>  	     (args (cdr command))
>  	     ;; STDERR can also be a file name.
> +             (stderr (plist-get args :stderr))
>  	     (tmpstderr
>  	      (and stderr
>  		   (tramp-unquote-file-local-name

Why that? stderr is extracted from args in tramp-skeleton-make-process.

Do you get an error which shows the problem?

Best regards, Michael.




This bug report was last modified 1 year and 19 days ago.

Previous Next


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