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: [PATCH] Generalize start-process with keyword args Date: Mon, 16 Mar 2015 23:13:10 -0400 Message-ID: References: <87d24d3uwz.fsf-ueno@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426562022 7625 80.91.229.3 (17 Mar 2015 03:13:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2015 03:13:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 17 04:13: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 1YXhwh-0008Oy-UB for ged-emacs-devel@m.gmane.org; Tue, 17 Mar 2015 04:13:32 +0100 Original-Received: from localhost ([::1]:52578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXhwh-0006U6-5T for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 23:13:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXhwU-0006Tn-RW for emacs-devel@gnu.org; Mon, 16 Mar 2015 23:13:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXhwU-0002WK-4G for emacs-devel@gnu.org; Mon, 16 Mar 2015 23:13:18 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:47892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXhwP-0002UA-My; Mon, 16 Mar 2015 23:13:13 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2H3DBmd030436; Mon, 16 Mar 2015 23:13:11 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 02B4AAE0BA; Mon, 16 Mar 2015 23:13:10 -0400 (EDT) In-Reply-To: (Daiki Ueno's message of "Tue, 17 Mar 2015 11:16:49 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5247=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5247> : inlines <2426> : streams <1406718> : uri <1882350> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:183939 Archived-At: > I think `:coding' at least needs to be treated specially, because if it > is omitted, other methods to determine the coding system take place > (`coding-system-for-{read,write}' and `find-operation-coding-system'). Why can't we make it use the same methods when ":coding nil" is specified? > `:connection-type' is there because the default value of the counterpart > global variable `process-connection-type' is t (not nil). So, yes, it > could be eliminated if it is given another name which means a negation, > say `:nopty'. But I'm not sure if it is intuitive for users. I always found process-connection-type hard to remember. I think it should either have been named process-connection-use-pty, or its values should have been pty/pipe. So I think for :connection-type, it would make sense to require the use of either `pipe' or `pty' (or nil to use the default rules). Stefan