tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp and NT-Emacs with plink


From: Kai Großjohann
Subject: Re: Tramp and NT-Emacs with plink
Date: Tue, 22 Oct 2002 12:46:39 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Douglas Gray Stephens <address@hidden> writes:

> I responded "y" to the cache question, 
>  Store key in cache? (y/n) 
> and then had to enter the password at the prompt
>  Store key in cache? (y/n) address@hidden's password: 
>
> I've attached the debug buffer if that helps.

Please try this patch:

cvs server: Diffing .
cvs server: Diffing contrib
cvs server: Diffing lisp
Index: lisp/ChangeLog
===================================================================
RCS file: /cvsroot/tramp/tramp/lisp/ChangeLog,v
retrieving revision 2.239
diff -u -r2.239 ChangeLog
--- lisp/ChangeLog      20 Oct 2002 20:32:58 -0000      2.239
+++ lisp/ChangeLog      22 Oct 2002 10:46:15 -0000
@@ -1,3 +1,8 @@
+2002-10-22  Kai Großjohann  <address@hidden>
+
+       * tramp.el (tramp-action-yn): Erase the buffer when the user has
+       said yes, don't erase it when they said no.
+
 2002-10-20  Michael Albinus  <address@hidden>
 
        * tramp.el (tramp-file-name-for-operation): Complete file
Index: lisp/tramp.el
===================================================================
RCS file: /cvsroot/tramp/tramp/lisp/tramp.el,v
retrieving revision 2.247
diff -u -r2.247 tramp.el
--- lisp/tramp.el       20 Oct 2002 20:32:58 -0000      2.247
+++ lisp/tramp.el       22 Oct 2002 10:46:16 -0000
@@ -4278,8 +4278,8 @@
     (pop-to-buffer (tramp-get-buffer multi-method method user host))
     (unless (y-or-n-p (match-string 0))
       (kill-process p)
-      (erase-buffer)
       (throw 'tramp-action 'permission-denied))
+    (erase-buffer)
     (process-send-string p (concat "y" tramp-rsh-end-of-line))))
 
 (defun tramp-action-terminal (p multi-method method user host)
cvs server: Diffing test
cvs server: Diffing texi
cvs server: Diffing tramp2


kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)




reply via email to

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