bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53854: 28.0.91; Tramp SSHFS: process-file output to current buffer d


From: Philipp Stephani
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

Am Mo., 14. Feb. 2022 um 07:58 Uhr schrieb Michael Albinus
<michael.albinus@gmx.de>:
>
> Michael Albinus <michael.albinus@gmx.de> 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!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]