From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Async DNS redux Date: Tue, 07 Feb 2012 12:39:55 -0500 Message-ID: References: <87ty3494yb.fsf@gnus.org> <877gzzd5ud.fsf@gnus.org> <87wr7zz5p0.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328636416 17121 80.91.229.3 (7 Feb 2012 17:40:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2012 17:40:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 07 18:40:15 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rup1a-0006y9-Pq for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2012 18:40:14 +0100 Original-Received: from localhost ([::1]:48494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rup1a-0001u9-Aj for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2012 12:40:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rup1Q-0001pi-8X for emacs-devel@gnu.org; Tue, 07 Feb 2012 12:40:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rup1J-0006Lj-Bl for emacs-devel@gnu.org; Tue, 07 Feb 2012 12:40:03 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rup1J-0006Le-5Z for emacs-devel@gnu.org; Tue, 07 Feb 2012 12:39:57 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q17Hducb008524; Tue, 7 Feb 2012 12:39:56 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id ECEB713037A; Tue, 7 Feb 2012 12:39:55 -0500 (EST) In-Reply-To: <87wr7zz5p0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Feb 2012 04:24:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4125=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4125> : streams <726555> : uri <1061625> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:148308 Archived-At: >> Providing a proof-of-concept async Elisp-level resolution isn't hard if >> you use something like (start-process "dns-resolve" nil "host" >> "the.name"), but I think that fixing it at the C code level in >> make-network-process makes a lot more sense. > If :nowait would result in `make-network-process' returning > immediately -- even before doing the DNS resolving -- then that would be > ideal, I think. Exactly, Stefan