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

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

bug#30862: 25.3; Need variant of `make-process' that uses file name hand


From: Michael Albinus
Subject: bug#30862: 25.3; Need variant of `make-process' that uses file name handlers
Date: Mon, 17 Dec 2018 09:44:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Philipp Stephani <address@hidden> 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 via email to

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