[Top][All Lists]

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

Re: tramp with socksify

From: Fabian Braennstroem
Subject: Re: tramp with socksify
Date: Thu, 23 Aug 2007 21:47:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070728 Thunderbird/ Mnenhy/

Hallo Michael,
Michael Albinus schrieb am 08/23/2007 06:57 AM:
> Fabian Braennstroem <address@hidden> writes:
>> Hi Michael,
> Hi Fabian,
>>>>> You need to declare the socksv5 server as proxy:
>>>>> (add-to-list 'tramp-default-proxies-alist
>>>>>              (list "" nil
>>>>>              "/"))
>> I checked the socks.conf of my office machine, I have
>> something like:
>> route {
>>         from:   to: via: IPsocks
>> port = 180
> Is this a typo?
IPsocks was some kind of IP-number.

>>         protocol: tcp
>>         proxyprotocol: socks_v4 socks_v5
>>         method: none
>> So I would do
>>      (add-to-list 'tramp-default-proxies-alist
>>              '(list "MyMachineName" nil "/socks:IPsocks#1080:"))
>> but, first I do not know, if the syntax is correct and
>> second my Emacs version 22.1 gives me:
>>      Symbol's value as variable is void: tramp-default-proxies-alist
> First, you must load Tramp in order to declare its variables:
> (require 'tramp)
> Usually, it is done by the autoloader when you access a remote host,
> but you want to customize Tramp before.
> Then, you have quoted the list, which is wrong. You must write
> (add-to-list 'tramp-default-proxies-alist
>              (list "MyMachineName" nil "/socks:IPsocks#1080:"))

I tried it without and with tramp 'required' and without the
quoted list... but  I get:

Debugger entered--Lisp error: (void-variable
("" nil "/socks:"))
  eval-buffer(#<buffer  *load*> nil "/home/fab/.emacs" nil
t)  ; Reading at buffer position 193
"/home/fab/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "…¾

(require 'tramp)
(add-to-list 'tramp-default-proxies-alist
             (list "" nil


Thanks, Fabian

reply via email to

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