[Top][All Lists]

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


From: John M. Adams
Subject: file-exists-p
Date: Thu, 18 Dec 2003 15:01:04 -0500
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, cygwin32)

Dear Friends,

I am trying to get tramp to work with a cygwin non-X XEmacs.  The
problem I see is that when I and try to visit /<host>:foo I get
directory containing /<host>:foo does not exist.

After doing a bit of research, it seems like somehow
tramp-handle-file-exists-p might need to get in the loop?

I followed the faq advice to cleanup file-name-handler-alist this way:

(require 'efs)
(require 'tramp)

This gives:

  (("^/\\([[][^]]*\\)?$" . tramp-completion-file-name-handler)
   ("^/[^/:]+:" . efs-file-handler-function)
   ("^/$" . efs-root-handler-function)
   ("\\`/\\[.*\\]" . tramp-file-name-handler)
   ("\\(^\\|[^$]\\)\\(\\$\\$\\)*\\$[{a-zA-Z0-9]" . efs-sifn-handler-function))

Which doesn't seem right.

So I set it by hand:

(setq file-name-handler-alist
'(("^/\\([[][^]]*\\)?$" . tramp-completion-file-name-handler)
("\\`/\\[.*\\]" . tramp-file-name-handler)))

The docstring for this variable indicates that these handlers won't
get called unless file-exists-p returns true.  By tracing
tramp-handle-file-exists-p, I can see that it is never called.

Is this this problem?  Any advice?

I am using tramp-version 2.0.36 and XEmacs 21.4-13.

Thanks a lot,

John M. Adams

P.S. Apologies if this is a duplicate.  My first seems to have
disappeared, maybe an authorization glitch since I sent two before
responding to the authorization email?  The second message I sent
showed up, but not the first.

reply via email to

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