From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Emacs and proxy on w32 Date: Sun, 24 Jul 2005 01:22:27 +0200 Message-ID: <42E2D133.6030700@student.lu.se> References: <42E13F59.5090101@student.lu.se> <42E16E0C.80507@student.lu.se> <42E17593.6040600@student.lu.se> <42E17836.8080405@student.lu.se> <42E2C71B.5@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122161432 21669 80.91.229.2 (23 Jul 2005 23:30:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2005 23:30:32 +0000 (UTC) Cc: Benjamin Riefenstahl , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 24 01:30:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DwTRk-0006VX-5Q for ged-emacs-devel@m.gmane.org; Sun, 24 Jul 2005 01:30:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DwTR8-0001Oz-VF for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2005 19:29:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DwTQh-0001K0-K8 for emacs-devel@gnu.org; Sat, 23 Jul 2005 19:29:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DwTQY-0001GZ-PT for emacs-devel@gnu.org; Sat, 23 Jul 2005 19:29:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DwTQY-0001FF-JB for emacs-devel@gnu.org; Sat, 23 Jul 2005 19:29:06 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwTUN-0004C5-Ct; Sat, 23 Jul 2005 19:33:03 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B000538F22; Sun, 24 Jul 2005 01:22:30 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Jason Rumney In-Reply-To: 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:41171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41171 Jason Rumney wrote: >Lennart Borgman writes: > > > >>I did not believe it was such a mess. >> >> > >It's not a mess. Although it is theoretically possible to write >complicated autoproxy scripts that use a different proxy for different >hosts, in practice all anyone ever uses is a single proxy and a list >of no-proxy hosts. > > How does one find out this single proxy and the list of no-proxy hosts then? Is not that complicated procedure with perhaps an ECMAscript to call required? > > >>While looking more at this I found that MS actually are providing an >>API (WinHttpGetProxyForUrl) for this now on XP and W2k. >> >> > >It is not an OS API, it is an Internet Explorer API, and the first >parameter is a handle to an open "INTERNET_SESSION", created by >another function in the same API, so if you start down that road >you'll end up having to continue, and that would restrict the >networking capabilities of Emacs to what is supported by IE. Not to >mention that IE is not Free, and thus unsuitable to build Free >software on top of. > > I do not understand the difference between an OS and and IE API. Could you explain? There is a page about WinHTTP that does not seem to make such difference between WinINet and WinHTTP: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winhttp/http/about_winhttp.asp