From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Sat, 30 Jan 2016 10:46:16 +0200 Message-ID: <83twlvwj3b.fsf@gnu.org> References: <87si1gx6wz.fsf@gnus.org> <8360yby1gx.fsf@gnu.org> <87r3gzy0fb.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454143635 13492 80.91.229.3 (30 Jan 2016 08:47:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2016 08:47:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 30 09:47:13 2016 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 1aPRBW-0003uN-RL for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 09:47:10 +0100 Original-Received: from localhost ([::1]:37945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPRBT-0007Ka-2g for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 03:47:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPRBC-0007KK-PE for emacs-devel@gnu.org; Sat, 30 Jan 2016 03:46:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPRB8-0005uQ-8A for emacs-devel@gnu.org; Sat, 30 Jan 2016 03:46:50 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPRB8-0005uM-4h; Sat, 30 Jan 2016 03:46:46 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1465 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aPRB7-00014Y-F6; Sat, 30 Jan 2016 03:46:45 -0500 In-reply-to: <87r3gzy0fb.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 30 Jan 2016 08:46:32 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:199031 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sat, 30 Jan 2016 08:46:32 +0100 > > Eli Zaretskii writes: > > > Please also be sure to update the documentation for the new features. > > I don't think there's anything to document. Is the below still correct and accurate, including the values of the argument with which the sentinel will be called? :nowait BOOL If BOOL is non-`nil' for a stream connection, return without waiting for the connection to complete. When the connection succeeds or fails, Emacs will call the sentinel function, with a second argument matching `"open"' (if successful) or `"failed"'. The default is to block, so that `make-network-process' does not return until the connection has succeeded or failed. What happens if the async DNS fails? Also, do we want to allow for testing this separately in the likes of (featurep 'make-network-process '(:nowait t)) > A mention in NEWS may be appropriate, though, but even there I'm not > sure. I am sure it's appropriate. Please do, and thanks.