From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: start-process: nil check on arg program Date: Thu, 25 Aug 2016 09:11:09 +0200 Message-ID: <10cd223c-a3ff-79c3-b8a9-dd7d76190c69@online.de> References: <87eg5dqrfm.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1472108755 1084 195.159.176.226 (25 Aug 2016 07:05:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2016 07:05:55 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 Cc: Tino Calancha To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 25 09:05:52 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcojR-0007iV-Gy for ged-emacs-devel@m.gmane.org; Thu, 25 Aug 2016 09:05:51 +0200 Original-Received: from localhost ([::1]:54846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcojS-00024z-3Z for ged-emacs-devel@m.gmane.org; Thu, 25 Aug 2016 03:05:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcoit-00022R-23 for emacs-devel@gnu.org; Thu, 25 Aug 2016 03:05:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcoin-0002Zi-Vm for emacs-devel@gnu.org; Thu, 25 Aug 2016 03:05:09 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:59981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcoin-0002ZV-Kt for emacs-devel@gnu.org; Thu, 25 Aug 2016 03:05:05 -0400 Original-Received: from [192.168.178.35] ([95.119.226.128]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0LuMJr-1bB16W067T-011hvR; Thu, 25 Aug 2016 09:04:55 +0200 In-Reply-To: X-Provags-ID: V03:K0:kd7LpFkpjmbw8E3IZohhoh/FVG4T01F38a7pIEaJDfL/LAh2xzY gwwS6PT77okMREHx0AzbFrn1/ZHltR2yxd59EbYP1N6MUoMhe6Ncwm2KT77Px/+1kvPXaRO VRveEkbf9VDQX+hyNOz0fwtpDc/CAKTSz0WRyi9aEuGp4gNiM0stKlEi6zL7Lpd6XHkS/fi Qu2d3OfLeKhcic2JYW98g== X-UI-Out-Filterresults: notjunk:1;V01:K0:Rz7JAHB/UbA=:0MbyJdvO++zr8qcORnyuJz bWpTEc5hF5OFHWtuhMD+UnlquKVGyAjpxJoxRzHEAwuY5Y2nRaE+IwnQMOkM4odzRowWN46K/ B9uAnUB+vfPqjrcgdpzwcoJZ6lo4F8DhyrsFP4H7+5/XuBpJd5DZEJ2l2IGEMGLF6ADjD/nhW h0on+AIDAINrjo/9i+hWvIsuMKfHA+xkbB7Sws321zGhVaT9wyRg3zGXY6sNFXUiuJ9P1hfpk KzPtrg5BYHizJDCSP2pnHmX2zrT4LuFleArhYcnQuAEIJYdQbcEtaljXsJ2VaihpgiGS2enzx 1ZsInIp14Bo/jAnJCEjtLHon3RmT/S5p/FENQ/038ZMqQLXCVhIUKunjg6rQayU6pZQ6IQhBg tAbGPggDdNlo8p2WGHSuXiC8CU7rSQ+3wAx97wbXx+62ylKPo58xD8TwfmvfO+Kow21pIbh6V MU+MCL6KG1O83pogXeoU6VD9icLksLN/7Fs8m3KrLTt3Mp2tYEIqsyZy7HaxDYHFw6gI6ltqz FvxLnCJissGW6kS4MU+gN60WKlNlxGZgm5DyceHC/EtANwEyaULb6aiCE5bZsfE6fykdKDI2s FC9+X2o2gYtkNREvh42Cb0kRWQBJDc0j/FAVb4cGaHb8oBS82QQOawmBtwC8FRjn91pNdvKWB VSEjEopAqyFNwKplfHX/kNOPkH8z18d7Ezv/iGrNpiOCy088ItXVuW4u0GFF3PnGdgi+uvnbc yVNPUC+6Bf50qfQf X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:206794 Archived-At: On 25.08.2016 08:58, Tino Calancha wrote: > > > On Thu, 25 Aug 2016, Andreas Schwab wrote: > >> On Aug 25 2016, Tino Calancha wrote: >> >>> * If program is nil, for instance, >>> (start-process "foo" "buf" nil) >>> which IMO it shouldn't ever happend, that check don't >>> prevent the creation of a useless process. >> >> nil is explicitly documented as a meaningful argument. > You are right. Thanks! > Maybe in my example has no much sense, i mean, just > (start-process "foo" "buf" nil) > but with additional arguments, > i.e. > (start-process "foo" "buf" nil args) > it might have sense. > Don't understand the additional arguments here at stake: Doku says WRT program-slot in question: If nil, just associate a pty with the buffer.