From: "Andreas Röhler" <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Cc: Tino Calancha <tino.calancha@gmail.com>
Subject: Re: start-process: nil check on arg program
Date: Thu, 25 Aug 2016 09:11:09 +0200 [thread overview]
Message-ID: <10cd223c-a3ff-79c3-b8a9-dd7d76190c69@online.de> (raw)
In-Reply-To: <alpine.DEB.2.20.1608251555280.8171@calancha-pc>
On 25.08.2016 08:58, Tino Calancha wrote:
>
>
> On Thu, 25 Aug 2016, Andreas Schwab wrote:
>
>> On Aug 25 2016, Tino Calancha <tino.calancha@gmail.com> 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.
prev parent reply other threads:[~2016-08-25 7:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 6:06 start-process: nil check on arg program Tino Calancha
2016-08-25 6:43 ` Andreas Schwab
2016-08-25 6:58 ` Tino Calancha
2016-08-25 7:11 ` Andreas Röhler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10cd223c-a3ff-79c3-b8a9-dd7d76190c69@online.de \
--to=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--cc=tino.calancha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).