From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: Re: Problems with the url package on w32? Date: Sun, 03 Dec 2006 19:25:34 +0100 Message-ID: <87wt5825wh.fsf@freemail.hu> References: <871wnnclkz.fsf@freemail.hu> <87lkltztzy.fsf@freemail.hu> <871wniv89d.fsf@freemail.hu> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165170383 31941 80.91.229.10 (3 Dec 2006 18:26:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2006 18:26:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 03 19:26:22 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gqw2a-0001Et-Uo for ged-emacs-devel@m.gmane.org; Sun, 03 Dec 2006 19:26:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gqw2a-0002JJ-IN for ged-emacs-devel@m.gmane.org; Sun, 03 Dec 2006 13:26:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gqw2D-00023Z-19 for emacs-devel@gnu.org; Sun, 03 Dec 2006 13:25:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gqw2B-00021J-FP for emacs-devel@gnu.org; Sun, 03 Dec 2006 13:25:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gqw2B-000215-AR for emacs-devel@gnu.org; Sun, 03 Dec 2006 13:25:51 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gqw2B-00069m-53 for emacs-devel@gnu.org; Sun, 03 Dec 2006 13:25:51 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gqw20-0004gG-20 for emacs-devel@gnu.org; Sun, 03 Dec 2006 19:25:40 +0100 Original-Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Dec 2006 19:25:40 +0100 Original-Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Dec 2006 19:25:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (berkeley-unix) Cancel-Lock: sha1:xKoz3fnLnzI+Xd748FdQuQ65WtY= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63249 Archived-At: Richard Stallman writes: > > 1. Make non-blocking connections work on Windows. > > 2. Make (featurep 'make-network-process '(:nowait t)) return nil on > > Windows. > > 3. Document that make-network-process returns nil if it fails to > > create a non-blocking socket. > > 4. Make make-network-socket do a blocking connect if a non-blocking > > connect fails, and document that. > > Why not make it signal an error if it can't do what was requested? Hm... that might work. IMO it should be easy for a program to find out what happened (non-blocking connect doesn't work in this case), so it can perform a certain remedy (doing a blocking connect instead). A specific error "nowait-not-supported" could be the solution. Magnus