unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 30862@debbugs.gnu.org
Subject: bug#30862: 25.3; Need variant of `make-process' that uses file name handlers
Date: Mon, 17 Dec 2018 09:44:23 +0100	[thread overview]
Message-ID: <87tvjcwniw.fsf@gmx.de> (raw)
In-Reply-To: <CAArVCkSsNOZWfTr9pGZxP20zFVQDPQkGJrFSo3pcFo4GRoyv2g@mail.gmail.com> (Philipp Stephani's message of "Mon, 17 Dec 2018 00:10:31 +0100")

Philipp Stephani <p.stephani2@gmail.com> writes:

Hi Philipp,

> I don't see why call-process and make-process should behave
> differently in this regard. For call-process and start-process the
> caller has to explicitly opt in into applying file name handlers (by
> calling different functions); presumably because people consider it
> too dangerous to accidentally start random processes on remote
> machines. Why should make-process be different?

In general, file name handlers are invoked silently, w/o the need to
adapt the using packages. `call-process' and `start-process' are
exceptions, because sometimes it isn't desired to invoke a file name
handler, even if `default-directory' is remote. Therefore, the new
functions.

`make-process' fits into this category. Whether a new function to be
applied, or an additional argument, doesn't make a difference. The
latter was not possible for `call-process' and `start-process'.

We have now your patch (thanks!), let's continue this way.

Best regards, Michael.





  reply	other threads:[~2018-12-17  8:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 19:46 bug#30862: 25.3; Need variant of `make-process' that uses file name handlers Philipp
2018-03-21 12:50 ` Michael Albinus
2018-12-16 23:10   ` Philipp Stephani
2018-12-17  8:44     ` Michael Albinus [this message]
2018-12-17 16:05       ` Eli Zaretskii
2018-12-17 17:18         ` Michael Albinus

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=87tvjcwniw.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=30862@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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).