From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: start-process: nil check on arg program Date: Thu, 25 Aug 2016 15:58:00 +0900 (JST) Message-ID: References: <87eg5dqrfm.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1472108328 28754 195.159.176.226 (25 Aug 2016 06:58:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2016 06:58:48 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers , Tino Calancha To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 25 08:58:44 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 1bcocc-0006xI-7g for ged-emacs-devel@m.gmane.org; Thu, 25 Aug 2016 08:58:42 +0200 Original-Received: from localhost ([::1]:54819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcocc-0008Va-VQ for ged-emacs-devel@m.gmane.org; Thu, 25 Aug 2016 02:58:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcoc5-0008VP-3U for emacs-devel@gnu.org; Thu, 25 Aug 2016 02:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcoc1-0008AD-6t for emacs-devel@gnu.org; Thu, 25 Aug 2016 02:58:09 -0400 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:33177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcoc0-0008A3-W2 for emacs-devel@gnu.org; Thu, 25 Aug 2016 02:58:05 -0400 Original-Received: by mail-pa0-x22f.google.com with SMTP id ti13so14274543pac.0 for ; Wed, 24 Aug 2016 23:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=kX9fI1dwsXsAvqVN0F2dgAuERNnupiqI2WwAiv2Kn78=; b=FKJnRfBVholYqQV3ICMikQeE0sRx8LYi6Yo5p4OLq6Uw+JWubrj9JJZ2Os7wBiZ/hS 130AR4ONp/nZzh/tyoHqjMj8yyfOrPSmEoPAzjvie2Bzu3UOxtWa6Dc/TNq3Wxd+lOa+ oRbrUWYC0aV9veGLCWPrt8j+S8otfkVzjY38nWcfH4HBdX6bHz2qLMF/vcBoM8nI3kHM UEUlrc6AlyvXPrUhn12++x1Ca5sUnLXJc0bukzcNrNbFe/5PBckep96ZW2qtLW4lYTZm zLauNNb4MEennQUtKhNoqq9zxbZlrPn7ryRTe4/zVAZnsJvy7BAjjHFlXcA4TMfMr/aG RIWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=kX9fI1dwsXsAvqVN0F2dgAuERNnupiqI2WwAiv2Kn78=; b=E7Wu+vHCPj2dGQ0q5xp1xyC/U6n5E21s331hV/t1jK8OTjEU7eSOVi5xnSd8mavwec N/5IVihe9o0Tub7Qufl/IPpRwhT3WkX2M65DPKeFTMbR10GSvNqqbx5z0hIXH53xyH6U yCzGtfi3MTeeSUSDnk1o+4k0h0hq8MpZBG7QeDF0r9YkUrxskMzQaLfRmvSQgEDDzYdB GNI2g3LO8VbiCNd3phEZQyFQ2w4ffRT/TO4XkNn4NSrvuDF1KYXfYcxV8OjzrXQ9oL1N 1ZmCFLK96RVH7s6ECOCkdDuxPHo60qDYxM7FG4ZXHu30nBGr+wunu4PngBrxaYzVSvt9 oSmA== X-Gm-Message-State: AE9vXwOZwtN6gqLN975faXzybonGgxDmdOmnIDrpLUsen8DonIgVwY9oVbMPQbrVitFDqA== X-Received: by 10.66.219.200 with SMTP id pq8mr13451644pac.75.1472108284088; Wed, 24 Aug 2016 23:58:04 -0700 (PDT) Original-Received: from calancha-pc ([103.5.140.156]) by smtp.gmail.com with ESMTPSA id c66sm18276044pfd.24.2016.08.24.23.58.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 23:58:03 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87eg5dqrfm.fsf@linux-m68k.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22f 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:206793 Archived-At: 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.