[EMAIL PROTECTED] (Kai Gro�johann) writes:

> Before Michael's fix, I also got that.  But now I get something weird
> instead.

Finally, I've found 2 additional bugs 2b corrected:

- in tramp-ftp.el there are more ange-ftp functions needing protection
  for recursive call. Fixed in Tramp CVS.

- in ange-ftp.el, there's an error in ange-ftp-insert-directory. The
  first parameter of ange-ftp-expand-symlink must be the local file
  name but the whole file name. The following patch would fix that,
  based on ange-ftp.el HEAD in Emacs CVS:

home/albinus> diff -u ange-ftp.el.orig ange-ftp.el
--- ange-ftp.el.orig    Fri Apr  4 23:32:20 2003
+++ ange-ftp.el Fri Apr  4 23:17:19 2003
@@ -4432,7 +4432,8 @@
                 (setq tem (file-symlink-p (directory-file-name file))))
            (ange-ftp-insert-directory
             (ange-ftp-expand-symlink
-             tem (file-name-directory (directory-file-name file)))
+             (nth 2 (ange-ftp-ftp-name tem))
+             (file-name-directory (directory-file-name file)))
             switches wildcard full)
          (insert
           (if wildcard

For me, everything is fine now except the case of a symlink to a
symlink to a directory on a remote host, which should be a rare case.

Kai: could you, please, verify this, and commit the ange-ftp patch to
CVS if you agree?

Best regards, Michael.



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to