From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#53854: 28.0.91;
Tramp SSHFS: process-file output to current buffer doesn't work right
Date: Mon, 14 Feb 2022 12:22:37 +0100
Message-ID:
References: <87o83ay242.fsf@gmx.de>
<87czjqx7cp.fsf@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="829"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 53854@debbugs.gnu.org
To: Michael Albinus
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 14 12:24:37 2022
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1nJZTA-000AcO-2t
for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 12:24:36 +0100
Original-Received: from localhost ([::1]:47834 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1nJZT9-0000YV-23
for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 06:24:35 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:58664)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nJZRe-0006p9-1V
for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 06:23:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:46145)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1nJZRd-00085P-OE
for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 06:23:01 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1nJZRd-0001dy-JR
for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 06:23:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 14 Feb 2022 11:23:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 53854
X-GNU-PR-Package: emacs
Original-Received: via spool by 53854-submit@debbugs.gnu.org id=B53854.16448377766307
(code B ref 53854); Mon, 14 Feb 2022 11:23:01 +0000
Original-Received: (at 53854) by debbugs.gnu.org; 14 Feb 2022 11:22:56 +0000
Original-Received: from localhost ([127.0.0.1]:40042 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1nJZRY-0001df-LA
for submit@debbugs.gnu.org; Mon, 14 Feb 2022 06:22:56 -0500
Original-Received: from mail-oo1-f43.google.com ([209.85.161.43]:34308)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1nJZRW-0001dR-JW
for 53854@debbugs.gnu.org; Mon, 14 Feb 2022 06:22:55 -0500
Original-Received: by mail-oo1-f43.google.com with SMTP id
k13-20020a4a948d000000b003172f2f6bdfso18870008ooi.1
for <53854@debbugs.gnu.org>; Mon, 14 Feb 2022 03:22:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=BnjoY7h4WRXxnvdOb/+GR9J5EDFMmPzqrDckeEkL/CY=;
b=SiDzIQszJAAxPYaGkzfzx8JH2T8yjU0ilEAfDaXzz5XCELu/fhsnd7/ewzLEnZV/0m
H8pr97Ejj161RCCMr3b6sijOfqA/mV9ilSYf8XBL41VYr02mm9PDKyCVl9m0fP2Kgijo
ODkLh5xrexNQ0J9DwQ9b/WF0uQTpYYszqRjwwcEA3wxcATTt2g6+k1V9yS+lt8pR+Ctl
TZmV59mLbAwqK14ixY4TqpSWYhAB5PZy3J1A+ThKKMmJE3VXHRpZcL7W/EAHVi40Tb4T
e4igecrAFPMmT+5+sfGwD0M5Z4ira9tJ4+wO34mmJX77KyFguBfoKwqlWltqhBvu0yU7
BzQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=BnjoY7h4WRXxnvdOb/+GR9J5EDFMmPzqrDckeEkL/CY=;
b=wQLouhqKtYTXg7OxCkDywRlN0Sw73yR9vvyswRdXoENQFCjWiAKRWFXGGfjIg3XR0s
JTI7nluZEd+8n1/aEIX3OTJ8kLcLcVLeapUiMQkmObV0WflWy3M3IcSlrsNYAVWlh4tK
zhazPD8ixwoLNfCQJm2J5uxgL3zDKLS1I+yx2A4tsYbwgr1RWsnjiIlmehXsG516GYSm
q0ZFPFhubmbbSFKLka5mccB0QClza565Vdtm6u0Wx5sr2kDTEYeRzjJWYOf27nYzxE+W
j+8GvIpMcCZ33U+NQArGzM/glkK4M++szVNs9GVhcP0L27+3iu3UbU5pBRewFphPeL4r
bZ9w==
X-Gm-Message-State: AOAM5300PdtzjS6G0d3Ju2SaRQhkJBEBpabyIpiKG3zvnJJknXGo4v7A
GZKh1ItepCTojUIpVEgjcrUPbTc4j1qMEhXrJDo=
X-Google-Smtp-Source: ABdhPJwFsk791CWM66HJPh/Fnuy0OpXfdtDpzjqTMZuRU0sixrLcWKE0Tmcc/vWFSlly5yEbLa8yYKW0A6Fxq/bugAk=
X-Received: by 2002:a05:6870:36c5:: with SMTP id
u5mr3902656oak.150.1644837768836;
Mon, 14 Feb 2022 03:22:48 -0800 (PST)
In-Reply-To: <87czjqx7cp.fsf@gmx.de>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:226877
Archived-At:
Am Mo., 14. Feb. 2022 um 07:58 Uhr schrieb Michael Albinus
:
>
> Michael Albinus writes:
>
> Hi Philipp,
>
> >> But with SSHFS, it doesn't work:
> >>
> >> $ emacs -Q -batch -eval '(let ((default-directory "/sshfs:localhost:/")) (with-temp-buffer (process-file "hello" nil (list t "/tmp/stderr")) (princ (buffer-string))))'
> >>
> >> The output buffer stays empty.
> >> The same behavior can be observed on the master branch.
> >
> > I've fixed this, pushed to the master branch. Will also be available
> > with next Tramp 2.5.2.2 in GNU ELPA.
>
> PS: The command as given by you in the example will write stderr to the
> file "/tmp/stderr", and not to "/sshfs:localhost:/tmp/stderr" as you
> might expect. No difference in the given example, but you might be
> surprised if you use another target but "localhost".
I'm aware, but thanks for the reminder!