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: Michael Albinus
Subject: bug#53854: 28.0.91; Tramp SSHFS: process-file output to current buffer doesn't work right
Date: Mon, 14 Feb 2022 07:58:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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".

Best regards, Michael.





reply via email to

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