emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the most useful potential feature which Emacs lacks?


From: Robert Pluim
Subject: Re: What is the most useful potential feature which Emacs lacks?
Date: Fri, 15 May 2020 13:07:08 +0200

>>>>> On Fri, 15 May 2020 13:21:06 +0300, Eli Zaretskii <address@hidden> said:

    >> From: Robert Pluim <address@hidden>
    >> Date: Fri, 15 May 2020 11:10:22 +0200
    >> Cc: address@hidden, address@hidden,
    >> Stefan Kangas <address@hidden>, address@hidden
    >> 
    Richard> The built-in Emacs renderer gives ok results when the links don't 
matter.
    Richard> For links, the way it tries to follow them is useless since it 
doesn't
    Richard> go through Tor.
    >> 
    >> The url library used by eww/shr supports SOCKS, and Tor can be run as
    >> a SOCKS proxy.

    Eli> It's a matter of some coding, I guess.  Richard added a defcustom to
    Eli> use Tor in VC (it's already in Emacs 27), and I guess something
    Eli> similar can be done for URL.

I donʼt think any coding is required:

You can point the url library at localhost:9050 (or whatever the Tor
default SOCKS port is) using:
    
    socks-server is a variable defined in `socks.el'.
    Its value is ("Default server" "socks" 1080 5)

and tell url to use SOCKS with:

    url-gateway-method is a variable defined in `url-vars.el'.
    Its value is `native'

      You can customize this variable.

    Documentation:
    The type of gateway support to use.
    Should be a symbol specifying how to get a connection from the local 
machine.

    Currently supported methods:
    `telnet': Run telnet in a subprocess to connect;
    `rlogin': Rlogin to another machine to connect;
    `socks': Connect through a socks server;
    `tls': Connect with TLS;
    `ssl': Connect with SSL (deprecated, use `tls' instead);
    `native': Connect directly.

unless youʼre talking about getting url to use 'torsocks' as a gateway
method, which would require some coding.

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]