emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: TRAMP password caching


From: Eli Zaretskii
Subject: Re: TRAMP password caching
Date: Sat, 16 Dec 2006 16:42:46 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Wed, 13 Dec 2006 20:30:30 +0100
> 
> In the w32 case, plink doesn't seem to offer this feature. So it was
> proposed to revert the initial change (i.e. plink becomes the default
> again). An optimization could be to set the default depending wether
> pageant is running or not - in case it is running, one could keep pscp
> as default, otherwise one takes plink.
> 
> But I have no ida how to check whether pageant is running.

I have now added a primitive, called w32-window-exists-p, that you can
use to check whether the agent is running on Windows.  To that end,
test whether w32-window-exists-p is fboundp, and if it is, see if the
expression `(w32-window-exists-p "Pageant" "Pageant")' evaluates to a
non-nil value.  If it does, the agent is running.

I hope this resolves the issue in a way that the Windows port can now
work the same as the Unix one.




reply via email to

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