Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs behind HTTP proxy

Tags:

emacs

proxy

elpa

Emacs is able to access the Internet with packages such as url.el or the W3 web browser.

Also, the Emacs Lisp Package Archive is heavily dependent on package url.el.

Now, how do I configure Emacs to use my HTTP proxy to connect to the Internet in general?

Bonus points for any help with ELPA behind a proxy.

Yes, I've had problems with HTTP proxies before.

like image 415
Leonel Avatar asked Oct 20 '09 15:10

Leonel


People also ask

What is HTTP proxy setting?

An HTTP proxy acts as a high-performance content filter on traffic received by an HTTP client and HTTP server. The HTTP proxy protocol routes client requests from web browsers to the internet and supports rapid data caching.

What is HTTP proxy Linux?

Linux and UNIX-like systems has environment variable called http_proxy. It allows you to connect text based session and/or applications via the proxy server. All you need is proxy server IP address (URL) and port values. This variable is almost used by all utilities such as elinks, lynx, wget, curl and others commands.


1 Answers

For w3m, this setting has worked for me:

(setq url-proxy-services '(("no_proxy" . "work\\.com")                            ("http" . "proxy.work.com:911"))) 
like image 131
Trey Jackson Avatar answered Sep 28 '22 07:09

Trey Jackson