emacs-devel
[Top][All Lists]
Advanced

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

Re: call-process should not block process filters from running


From: Michael Albinus
Subject: Re: call-process should not block process filters from running
Date: Tue, 04 Jul 2023 15:42:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

sbaugh@catern.com writes:

Hi,

> Also, it's worth noting that process-file makes doing that a little
> tricky.  process-file already usually runs Lisp while waiting for the
> process when it's using a remote file name handler, but when it's
> running locally it just uses call-process.  So users of process-file
> would need to be converted to start-file-process so that they're
> uniformly asynchronous.  But, some TRAMP backends support process-file
> but not start-file-process.  So it's not clear what a programmer should
> do if they want to synchronously run a process through a file name
> handler, and they're fine with Lisp running during that.  (Making
> call-process optionally support running Lisp neatly solves this:
> process-file users can just bind call-process-run-lisp to t around
> process-file.)

All of this sounds like a can of worms to Tramp. OMG. Please don't do
this change.

Best regards, Michael.



reply via email to

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