* How to make emacs-w3m use proxy to browse webpages?
@ 2008-10-01 1:54 Andy Stewart
2008-10-01 13:46 ` Bastien
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Andy Stewart @ 2008-10-01 1:54 UTC (permalink / raw)
To: help-gnu-emacs
Hi, everyone!
Use emacs-w3m browse webpages in emacs is so cool!
But sometimes, webpages need to browse use proxy, otherwise those
webpages will dead in emacs-w3m.
So have a possible to make emacs-w3m browse webpages use proxy,
and how to configuration?
Thanks for your help!
Andy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make emacs-w3m use proxy to browse webpages?
2008-10-01 1:54 How to make emacs-w3m use proxy to browse webpages? Andy Stewart
@ 2008-10-01 13:46 ` Bastien
[not found] ` <mailman.20317.1222868823.18990.help-gnu-emacs@gnu.org>
2008-10-02 13:01 ` Chris McMahan
2 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2008-10-01 13:46 UTC (permalink / raw)
To: help-gnu-emacs
Andy Stewart <lazycat.manatee@gmail.com> writes:
> So have a possible to make emacs-w3m browse webpages use proxy,
> and how to configuration?
Launch w3m in a terminal (outside emacs) and press 'o'. This will open
the configuration page, where you can define a proxy. This information
is stored in ~/.w3m/config and will be used when running emacs-w3m.
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.20317.1222868823.18990.help-gnu-emacs@gnu.org>]
* Re: How to make emacs-w3m use proxy to browse webpages?
[not found] ` <mailman.20317.1222868823.18990.help-gnu-emacs@gnu.org>
@ 2008-10-01 18:22 ` Andy Stewart
0 siblings, 0 replies; 4+ messages in thread
From: Andy Stewart @ 2008-10-01 18:22 UTC (permalink / raw)
To: help-gnu-emacs
Bastien <bastienguerry@googlemail.com> writes:
> Andy Stewart <lazycat.manatee@gmail.com> writes:
>
>> So have a possible to make emacs-w3m browse webpages use proxy,
>> and how to configuration?
>
> Launch w3m in a terminal (outside emacs) and press 'o'. This will open
> the configuration page, where you can define a proxy. This information
> is stored in ~/.w3m/config and will be used when running emacs-w3m.
>
> HTH,
Thanks, I will try it!
Regards.
-- Andy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make emacs-w3m use proxy to browse webpages?
2008-10-01 1:54 How to make emacs-w3m use proxy to browse webpages? Andy Stewart
2008-10-01 13:46 ` Bastien
[not found] ` <mailman.20317.1222868823.18990.help-gnu-emacs@gnu.org>
@ 2008-10-02 13:01 ` Chris McMahan
2 siblings, 0 replies; 4+ messages in thread
From: Chris McMahan @ 2008-10-02 13:01 UTC (permalink / raw)
To: help-gnu-emacs
Andy Stewart <lazycat.manatee@gmail.com> writes:
> Hi, everyone!
>
> Use emacs-w3m browse webpages in emacs is so cool!
>
> But sometimes, webpages need to browse use proxy, otherwise those
> webpages will dead in emacs-w3m.
>
> So have a possible to make emacs-w3m browse webpages use proxy,
> and how to configuration?
>
> Thanks for your help!
>
> Andy.
This might help you... it's from the info page for emacs-w3m:
`Proxy Gateway'
If you are behind a firewall and access the Internet through a
proxy gateway, you need to instruct w3m to use it.
There are several ways to do this, one is to set the `http_proxy'
environment variable globally in the shell something like:
setenv http_proxy http://proxy.hogege.com:8000/
Another way is to customize the `w3m-command-arguments' variable to
add the options `-o' and
`http_proxy=http://PROXY_SERVER_NAME:PORT/'.
This can also be done in your `~/.emacs-w3m' file as shown below:
(setq w3m-command-arguments
(nconc w3m-command-arguments
'("-o" "http_proxy=http://proxy.hogege.com:8000/")))
To specify hosts for which the proxy shouldn't be used (Intranet
sites and the like), set the `no_proxy' (note that it is not
`no-proxy') environment variable to a comma-separated list of
hostnames. Alternatively, you can set the `w3m-no-proxy-domains'
variable to a list of domain names (not host names) as follows:
(setq w3m-no-proxy-domains '("local.com" "neighbor.com"))
See also the documentation of the `w3m-command-arguments-alist'
variable for instructions on how to use regexps to specify
`no_proxy' hosts.
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-02 13:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 1:54 How to make emacs-w3m use proxy to browse webpages? Andy Stewart
2008-10-01 13:46 ` Bastien
[not found] ` <mailman.20317.1222868823.18990.help-gnu-emacs@gnu.org>
2008-10-01 18:22 ` Andy Stewart
2008-10-02 13:01 ` Chris McMahan
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).