[Top][All Lists]

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

Re: [PATCH] Generalize start-process with keyword args

From: Stefan Monnier
Subject: Re: [PATCH] Generalize start-process with keyword args
Date: Mon, 16 Mar 2015 23:13:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> 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).


reply via email to

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