From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: pipe Date: Fri, 13 Mar 2015 08:45:17 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426250743 7617 80.91.229.3 (13 Mar 2015 12:45:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2015 12:45:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 13 13:45:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YWOy4-0006Pe-1N for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2015 13:45:32 +0100 Original-Received: from localhost ([::1]:36774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWOy2-0006Mv-MO for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2015 08:45:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWOxv-0006Mq-7m for emacs-devel@gnu.org; Fri, 13 Mar 2015 08:45:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWOxr-00073H-Km for emacs-devel@gnu.org; Fri, 13 Mar 2015 08:45:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:17707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWOxr-00073C-GU; Fri, 13 Mar 2015 08:45:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsTAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCy0HEhQYDSSIOAjOIwEBAQEGAgEfj3gHCoQgBZR8hGOOGoF5gUUiggIcgWwigTMkgRwBAQE X-IPAS-Result: ArsTAPOG1lRFxLnr/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCy0HEhQYDSSIOAjOIwEBAQEGAgEfj3gHCoQgBZR8hGOOGoF5gUUiggIcgWwigTMkgRwBAQE X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113458192" Original-Received: from 69-196-185-235.dsl.teksavvy.com (HELO pastel.home) ([69.196.185.235]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Mar 2015 08:45:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A9765B05; Fri, 13 Mar 2015 08:45:17 -0400 (EDT) In-Reply-To: (Daiki Ueno's message of "Fri, 13 Mar 2015 18:01:48 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183844 Archived-At: > My motivation behind that was to avoid temporary files in epg.el, by > using file descriptors other than 0 and 1 (as you know, gpg has options > --status-fd, --command-fd, --attribute-fd, etc. for that). In order to > do that, I thought that it would be inevitable to change the calling > convention of start-process. However, I hesitate to do such an > intrusive change. So, here is an alternative approach: Supporting other file descriptors would be great, yes. But I agree with Eli: we need to take into account the w32 API in the design, because it would significantly reduce the usefulness of such a feature if it only works under POSIX systems. This said, I know nothing about w32's API in this regard, so maybe your suggestion could work. BTW, what happened with your earlier `make-process' suggestion? Stefan