From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 08 Feb 2016 13:05:19 +1100 Message-ID: <87wpqg3qjk.fsf@gnus.org> References: <87si1gx6wz.fsf@gnus.org> <86y4b5zvzt.fsf@gmail.com> <8760y9kwrk.fsf@gnus.org> <8760y7nag7.fsf@gnus.org> <83oabzzsjq.fsf@gnu.org> <87fuxazkfe.fsf@gnus.org> <83io25yeqk.fsf@gnu.org> <87h9hpnreg.fsf@gnus.org> <83y4b0wi7m.fsf@gnu.org> <87si17evk6.fsf@gnus.org> <83twlnvcz2.fsf@gnu.org> <87vb63obm3.fsf@gnus.org> <87r3gqmg6g.fsf@gnus.org> <83egcqtfnm.fsf@gnu.org> <87bn7tjo9x.fsf@gnus.org> <83egcosdvr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454897167 19993 80.91.229.3 (8 Feb 2016 02:06:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 02:06:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 08 03:05:57 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 1aSbD5-00073E-Re for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 03:05:51 +0100 Original-Received: from localhost ([::1]:40134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbD5-0001gk-2H for ged-emacs-devel@m.gmane.org; Sun, 07 Feb 2016 21:05:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbD1-0001gV-3c for emacs-devel@gnu.org; Sun, 07 Feb 2016 21:05:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSbD0-0004y3-3x for emacs-devel@gnu.org; Sun, 07 Feb 2016 21:05:47 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:48723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbCz-0004xw-T4; Sun, 07 Feb 2016 21:05:46 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSbCe-0001GW-7y; Mon, 08 Feb 2016 03:05:24 +0100 In-Reply-To: <83egcosdvr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Feb 2016 18:07:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-MailScanner-ID: 1aSbCe-0001GW-7y MailScanner-NULL-Check: 1455501924.96875@aZtJvQXakvaMh+ViW9ic6A X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:199477 Archived-At: Eli Zaretskii writes: >> Again, it is not demonstrated by ERC. ERC works fine with the new >> refactoring. > > I would like us to avoid the need for refactoring. With my > suggestion, the refactoring would only be needed if the application > wants to take full advantage of the async DNS resolution, but it will > still work correctly (albeit with some delays) if no refactoring was > done. By "refactoring" I just mean "the rewrite of make_network_process that turned it from one 700-line soup of interconnected code into two 350 line functions of less interconnected code". There are no functional differences. (Well, there shouldn't be.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no