tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.11); ange-ftp doesn't work


From: Kai Großjohann
Subject: Re: tramp (2.0.11); ange-ftp doesn't work
Date: Tue, 06 Aug 2002 14:15:18 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Michael Albinus <address@hidden> writes:

> Everything looks fine to me. Nevertheless; I've switch to tramp
> 2.0.11., and there's still the error message 'Variable binding depth
> exceeds max-specpdl-size'.

I've made (yet another) change to tramp.el in the CVS.  Could you try
that?

Here's a patch in case you don't want the latest CVS:

Index: tramp.el
===================================================================
RCS file: /cvsroot/tramp/tramp/lisp/tramp.el,v
retrieving revision 2.174
retrieving revision 2.175
diff -u -u -r2.174 -r2.175
--- tramp.el    5 Aug 2002 14:53:47 -0000       2.174
+++ tramp.el    6 Aug 2002 10:32:27 -0000       2.175
@@ -3127,11 +3127,14 @@
   "Invoke normal file name handler for OPERATION.
 First arg specifies the OPERATION, second arg is a list of arguments to
 pass to the OPERATION."
-  (let ((inhibit-file-name-handlers
-         (list 'tramp-file-name-handler
-               (and (eq inhibit-file-name-operation operation)
-                    inhibit-file-name-handlers)))
-        (inhibit-file-name-operation operation))
+  (let* ((op (if (eq operation 'ange-ftp-hook-function)
+                (car args)
+              operation))
+        (inhibit-file-name-handlers
+         (list 'tramp-file-name-handler
+               (and (eq inhibit-file-name-operation op)
+                    inhibit-file-name-handlers)))
+        (inhibit-file-name-operation op))
     (apply operation args)))
 
 ;; Main function.
@@ -5662,6 +5665,7 @@
        tramp-coding-commands
        tramp-actions-before-shell
        tramp-multi-actions
+       tramp-terminal-type
 
        ;; Non-tramp variables of interest
        shell-prompt-pattern


kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



reply via email to

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