help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs 23.2 (Windows) hangs on vc-next-action


From: Stefan Vollmar
Subject: Re: Emacs 23.2 (Windows) hangs on vc-next-action
Date: Sat, 22 May 2010 23:18:03 +0200

Hallo,

I have found a solution to this problem: put

(setenv "SVN_SSH" "plink -ssh -l stefan -P 12345")

into your .emacs file if the username on the subversion server is "stefan" and 
if that server runs a non-standard port "12345" (highly recommended for 
security reasons).

Although on the windows box my login also is "stefan", Emacs hangs if I use 

(setenv "SVN_SSH" "plink -ssh -P 12345")

as plink then uses (I assume) a faulty user name.

Here is a workaround for this particular problem:

(setenv "SVN_SSH" (concat "plink -ssh -l " 
                           (getenv "USERNAME") 
                           " -P 13422"))

Note, that for the above to work you need to install the PuTTY suite and 
subversion. You need to adjust your PATH so that plink.exe and svn.exe can be 
found. You can also do that from within Emacs:

(add-to-list 'load-path ...)

HTH,
 Stefan

On 22.05.2010, at 12:33, Stefan Vollmar wrote:

> I suspect, the problem is the ssh-connection to our subversion server.
> 
> We manage a multi-platform project with subversion. On Unix platforms,  
> OpenSSH with a ~/.ssh/config file works well for us. For the MS Windows 
> version we currently use TortoiseSVN and we configured it to use the plink 
> version that comes with it, a PuTTY .ppk-file, PAgent and a custom port on 
> the server - this also works fine.
> 
> I believe, tramp can also use plink and even has an option to use a 
> preconfigured PuTTY-session on Windows (which could include our non-standard 
> port, and would also make use of PAgent).
> 
> Is it possible to also use plink in that way when using Emacs' 23.2 version 
> control on Windows?
> 
> Many thanks in advance.
> Warm regards,
> Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Head of IT group
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
> 
> 
> 
> 
> 
> 

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de






Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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