unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 53854@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAArVCkQHoTSZamUX+ghyGaSRCPJ4zGLwrYc+mZAp5h=Ow-0byg@mail.gmail.com> (raw)
In-Reply-To: <87czjqx7cp.fsf@gmx.de>

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	other threads:[~2022-02-14 11:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 16:45 bug#53854: 28.0.91; Tramp SSHFS: process-file output to current buffer doesn't work right Philipp Stephani
2022-02-13 19:53 ` Michael Albinus
2022-02-14  6:58   ` Michael Albinus
2022-02-14 11:22     ` Philipp Stephani [this message]
2022-02-14  9:22   ` Philipp Stephani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkQHoTSZamUX+ghyGaSRCPJ4zGLwrYc+mZAp5h=Ow-0byg@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=53854@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).