tramp-devel
[Top][All Lists]
Advanced

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

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


From: Thomas Haselberger
Subject: RE: filename completion ntemacs cygwin latest tramp - problem with eieio ?
Date: Wed, 29 Jan 2003 14:23:36 +0100

> Hmm. Ange-FTP hooks shouldn't be there. This reminds me a thread in
> this mailing list from last autumn:
> 
> | From: address@hidden (Kai Großjohann)
> | Subject: Re: problems with tramp 2.0.12 and 2.0.24 on xemacs
> | 
> | I'm now guessing that the problem comes from jde-root-dir-p 
> which has
> | a special case for Ange-FTP but not for Tramp.
> 
> || From: Bruce Lowekamp <address@hidden>
> || 
> ||    Thanks for tracking this down to the JDE code.  I know you
> || posted another fix to the jde-users list, but my favorite 
> fix (since
> || all I really want to do is edit JDE files) is:
> || 
> || (require 'jde)
> || (defun jde-find-project-file (dir) nil)
> || 
> || in init.el
> 
> Would this throw away your problem?

michael,

I defer loading jde - so it is not loaded before editing a java file.

I tried the following : 
- start up emacs
- eval in scratch: (message "end %s" file-name-handler-alist)

results in: 
end ((^/[^/]*$ . tramp-completion-file-name-handler) (\`/[^/:]+: . 
tramp-file-name-handler) (\`/: . file-name-non-special))

- M-x eval- TAB -> to activate completion

results in:

end ((^[a-zA-Z]:/[^/:]*\' . ange-ftp-completion-hook-function) (^/[^/:]*\' . 
ange-ftp-completion-hook-function) (^/[^/:]*[^/:.]: . ange-ftp-hook-function) 
(^/[^/]*$ . tramp-completion-file-name-handler) (\`/[^/:]+: . 
tramp-file-name-handler) (\`/: . file-name-non-special))



the messages buffer:
------------------------------
(d:\gnu\emacs-21.2\bin\emacs.exe)
Loading gnuserv...done
Loading d:/gnu/emacs-21.2/bin/fns-21.2.1.el (source)...done
Loading regexp-opt...done
Loading mule-util...done
Loading cl-macs...done
ECB 1.70 uses semantic 1.4.2 and eieio 0.17
Loading edmacro...done
Loading semantic-el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading image...done
Mark set [2 times]
end ((^/[^/]*$ . tramp-completion-file-name-handler) (\`/[^/:]+: . 
tramp-file-name-handler) (\`/: . file-name-non-special))
Making completion list...
Loading view...done
Loading eieio-opt (source)...done
end ((^[a-zA-Z]:/[^/:]*\' . ange-ftp-completion-hook-function) (^/[^/:]*\' . 
ange-ftp-completion-hook-function) (^/[^/:]*[^/:.]: . ange-ftp-hook-function) 
(^/[^/]*$ . tramp-completion-file-name-handler) (\`/[^/:]+: . 
tramp-file-name-handler) (\`/: . file-name-non-special))
keyboard-quit: Quit
------------------------------


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 ...

thanks for your hints,

        tom















reply via email to

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