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: Tue, 09 Feb 2016 11:47:01 +1100 Message-ID: <87pow6iube.fsf@gnus.org> References: <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> <86mvrdmk8p.fsf@realize.ch> <877fihjo4m.fsf@gnus.org> <86io20n3xn.fsf@realize.ch> <8760y055l1.fsf@gnus.org> <8660xzmyyr.fsf@realize.ch> <87pow7ocyw.fsf@gnus.org> <83zivboyx5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454978871 29868 80.91.229.3 (9 Feb 2016 00:47:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 00:47:51 +0000 (UTC) Cc: a.s@realize.ch, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 01:47:40 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 1aSwSx-0001y1-V3 for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 01:47:40 +0100 Original-Received: from localhost ([::1]:50369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwSx-0006pW-29 for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 19:47:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwSt-0006pC-9x for emacs-devel@gnu.org; Mon, 08 Feb 2016 19:47:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSwSo-0008Fn-BS for emacs-devel@gnu.org; Mon, 08 Feb 2016 19:47:35 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwSo-0008FP-5M; Mon, 08 Feb 2016 19:47:30 -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 1aSwSR-0005D2-CN; Tue, 09 Feb 2016 01:47:08 +0100 In-Reply-To: <83zivboyx5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Feb 2016 20:11:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aSwSR-0005D2-CN MailScanner-NULL-Check: 1455583628.10681@rXi8Nu2UyCEs1IKqBe8Rjg 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:199571 Archived-At: Eli Zaretskii writes: > I don't think we should punish users of those packages and their > developers by breaking their code. If they didn't get their act > together, their code will not enjoy the advantages of asynchronicity, > but it should still work, IMO. Teaching by punishment rarely works, > IME, certainly not in a community such as this one. I don't think it's punishment to signal an error if you're doing something that's almost certainly erroneous. As an example where people are bitten by overly permissive functions, see the long discussion on whether assoc should signal errors just like member does (or was it the other way around?). Quite the reverse: Pretending that there's not a problem here often sends the developer down a rabbit hole trying to figure out why this thing doesn't quite work as it should. Do you think that (process-send-string (make-network-process ... :nowait t) "foo") shouldn't signal an error? It currently does. I'm not sure that's the right decision, but I think I'm leaning towards thinking that that's more helpful than blocking and pretending nothing's wrong... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no