> From: Michael Albinus <[EMAIL PROTECTED]>
> Cc: [email protected],  [EMAIL PROTECTED],  [EMAIL PROTECTED]
> 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.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to