From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Is there any easy way to fork in elisp? Why not? Date: Sat, 30 Oct 2021 02:52:50 -0400 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18816"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Rudi C Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 30 08:55:02 2021 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 1mgiGc-0004jR-4r for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 08:55:02 +0200 Original-Received: from localhost ([::1]:38532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgiGb-000374-53 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 02:55:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgiEZ-0000gf-Ou for emacs-devel@gnu.org; Sat, 30 Oct 2021 02:52:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgiEY-0002Rg-L7; Sat, 30 Oct 2021 02:52:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=AGJa/bWfh/FjLSLZnv7RwHrvR7EpPP+ozLfp92N5JhY=; b=iW+TH0V6/zrd 0qm/wzVYUlzWjqO+NvuEP59pedf86y0QM9suY977bkpwHZ+9SfgX9gRvWjU2/ev4aeBw8j9aBfcji ZIftOyUVHffui8tK1b/Pekp+D2Nb2rdftvbiVD6n0yhWucgSUFOj9Xcr+cuEaeqj4h0b+w9hEEtqB tGk0CHGapkY8/5JU2IiFAVOR+xcAK2b5r0IemOTw8W+POyxJwMb1OajMf7vJN2WhQbYjaQaAoZ2K9 FsOUXb9EDrvgaK4n1maoLwZBE3c7dJR2ZxrJWIHZr1JtUzeP8PHR3LRbCvOcrpXbbxVDVjuDzJSTR W1Ezct4rcuPv8+N/kZ6q+w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mgiEU-0005LU-VY; Sat, 30 Oct 2021 02:52:50 -0400 In-Reply-To: (message from Rudi C on Fri, 29 Oct 2021 01:46:59 +0330) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:278263 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I am not an expert, but if adding forks for all platforms is so difficult > that it cannot be added in the foreseeable future, please consider just not > supporting the fork API on Windows. If we decide to support this fork feature, to leave it unimplemented on Windows is ok as an option. We won't reject a good feature on account of its being unimplemented on Windows. However, we need to think carefully about the feature, whether it's a good idea, whether there are difficulties about it. So we need a clear statement of what it should do. What exactly does the feature consist of? I suppose it creates another process, but what then happens to each of the two processes? We may need to figure out what it should do in various situations. For instance, how does each one get command input? How does each one display? What happens if the Emacs job has subprocesses, or sockets? What range of situations should it handle? A narrower range of cases may be easier to implement, but may be less useful. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)