From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: call-process should not block process filters from running Date: Wed, 28 Jun 2023 16:34:55 +0300 Message-ID: <838rc3vhfk.fsf@gnu.org> References: <83cz1fvjef.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, app-emacs-dev@janestreet.com To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 28 15:35:20 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qEVKK-0009Ls-1t for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jun 2023 15:35:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEVJa-00009X-CQ; Wed, 28 Jun 2023 09:34:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEVJY-0008Q2-Po for emacs-devel@gnu.org; Wed, 28 Jun 2023 09:34:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEVJY-00023P-Ak; Wed, 28 Jun 2023 09:34:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=C6sftoH0UiZRk7tWjWKztDBxUCNF40fJTT9WOZvXpGw=; b=X40TFiuwHcER DUodRjq7nWrM46byTJKQbtDWqPPqou2Z17OrecNy/tybD+Lu6RC0Sl0E8DV6Acsvs5NugasCooeOn 4s4el8agtma6gvWaZBFHxFP1wMwNSVFjzS66NTI2jVelWXECa5z6btZ3hU9LneWvv23f9lnrPDQ5v hB2cSzqzOIKqEKcPNZy54ZDpeZnNWBdujPRUP24k3u1X/1zEUYpWzZNBWuZdsyHkky6bwP3A0y4w8 Pq5kXkfPbbmcSuETX8/h2jsjCXRj5QuY5yRSdLjf1CR/6adofxj4i0qs2aa1tp4LH/cHLSirhhLQT 38evtKgNcx5RnNn09t+cGw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEVJX-0007P3-HR; Wed, 28 Jun 2023 09:34:31 -0400 In-Reply-To: (message from Spencer Baugh on Wed, 28 Jun 2023 09:27:58 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307285 Archived-At: > From: Spencer Baugh > Date: Wed, 28 Jun 2023 09:27:58 -0400 > Cc: emacs-devel@gnu.org, app-emacs-dev@janestreet.com > > This sounds great, I would be happy to implement this. Thanks. > I think we would also want a tiny wrapper in Lisp which binds this > new variable then calls call-process, rather than having lots of > programs binding the variable directly, to make it easier to change > the implementation strategy in the future. How is this different from any other variable we bind to modify the behavior of some API? E.g., default-directory or coding-system-for-read? I really don't see a need for such trivial wrappers.