unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: Emacs and proxy on w32
Date: Sun, 24 Jul 2005 00:39:23 +0200	[thread overview]
Message-ID: <42E2C71B.5@student.lu.se> (raw)
In-Reply-To: <m3y87xiphj.fsf@seneca.benny.turtle-trading.net>

Benjamin Riefenstahl wrote:

>Hi Lennart,
>
>
>Lennart Borgman writes:
>  
>
>>But how do you get the name of the proxy server to use for a specif
>>URL then?
>>    
>>
>
>You don't.  That is unless you write your own script in ELisp.
>
>  
>
>>Don't you have to find the ECMAscript and execute it?
>>    
>>
>
>Javascript/ECMAscript is a feature of some browsers.  It is *not* a
>feature of all those other programs that can otherwise do HTTP fine,
>and even a fair number of browsers don't have it.  If you want to
>seriously support more than IE and Mozilla, Javascript proxy scripts
>are useless.
>  
>
Thanks Benny,

I did not believe it was such a mess. I did expect it to be something 
that the OS provided. I just thought that I could not find it.

While looking more at this I found that MS actually are providing an API 
(WinHttpGetProxyForUrl) for this now on XP and W2k. This should perhaps 
be rather simple to call on w32 to give Emacs the possibility to handle 
HTTP proxies.

However of course we want Emacs to have this power on GNU/Linux too! I 
believe that GNU/Linux should benefit from having an API like 
WinHttpGetProxyForUrl. Maybe it does have it already? Otherwise are not 
the capabilities for this in the Mozilla code? Are there code that code 
be copied to GNU/Linux perhaps? (Where should a suggestion like this go?)

  reply	other threads:[~2005-07-23 22:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22 18:47 Emacs and proxy on w32 Lennart Borgman
2005-07-22 21:55 ` Jason Rumney
2005-07-22 22:07   ` Lennart Borgman
2005-07-22 22:29     ` Jason Rumney
2005-07-22 22:39       ` Lennart Borgman
2005-07-22 22:45         ` Jason Rumney
2005-07-22 22:50           ` Lennart Borgman
2005-07-23 14:08             ` Benjamin Riefenstahl
2005-07-23 22:39               ` Lennart Borgman [this message]
2005-07-23 23:01                 ` Jason Rumney
2005-07-23 23:22                   ` Lennart Borgman
2005-07-24 16:35                     ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42E2C71B.5@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).