"Thomas Haselberger" <[EMAIL PROTECTED]> writes:

> ah, I see: I (require 'ecb), which in turn uses eieio.
> without that it works ok. anyway, I'll try to look what happens in eieio ...

A silly workaround is to require Ange-FTP before Tramp in your
.emacs. Tramp will cleanup file-name-handler-alist. (Hmm. Maybe I
shall put it into the doc).

If you want to find the cause of your problem, you can apply the
following patch to Ange-FTP temporarily. You need to close Emacs, and
start it again. There will be a backtrace showing who's loading
Ange-FTP:

diff -c "c:/Programme/gnu/emacs-21.2/lisp/net/ange-ftp.el.~1~" 
"c:/Programme/gnu/emacs-21.2/lisp/net/ange-ftp.el"
*** c:/Programme/gnu/emacs-21.2/lisp/net/ange-ftp.el.~1~        Fri Feb 22 10:51:40 
2002
--- c:/Programme/gnu/emacs-21.2/lisp/net/ange-ftp.el    Wed Jan 29 20:53:40 2003
***************
*** 4162,4168 ****
--- 4162,4170 ----
  ;;; and colon).
  ;;; Don't allow the host name to end in a period--some systems use /.:
  ;;;###autoload
+ (setq debug-on-error t)
  (or (assoc "^/[^/:]*[^/:.]:" file-name-handler-alist)
+     (error "Ange-FTP started")
      (setq file-name-handler-alist
          (cons '("^/[^/:]*[^/:.]:" . ange-ftp-hook-function)
                file-name-handler-alist)))
***************
*** 4181,4186 ****
--- 4183,4189 ----
  ;;; do completions in the root directory of drives on Windows.
  (and (memq system-type '(ms-dos windows-nt))
       (or (assoc "^[a-zA-Z]:/[^/:]*\\'" file-name-handler-alist)
+        (error "Ange-FTP started")
         (setq file-name-handler-alist
               (cons '("^[a-zA-Z]:/[^/:]*\\'" .
                       ange-ftp-completion-hook-function)

> thanks for your hints,
> 
>       tom

Best regards, Michael.



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

Reply via email to