[Top][All Lists]

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

Re: filename completion ntemacs cygwin latest tramp - problem with eieio

From: Michael Albinus
Subject: Re: filename completion ntemacs cygwin latest tramp - problem with eieio ?
Date: 29 Jan 2003 21:12:46 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Thomas Haselberger" <address@hidden> 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

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.~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 /.:
+ (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)
*** 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]:/[^/:]*\\'" .

> thanks for your hints,
>       tom

Best regards, Michael.

reply via email to

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