Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-05 Thread Skip Montanaro
Edward It returns non-nil if it is a tramp file. It's not exactly Edward intuitive, but zero is non-nil, so `tramp-tramp-file-p' is Edward working as documented. Ah, thanks. That's my Python background (and years of no Lisp) showing through. -- Skip Montanaro ([EMAIL PROTECTED])

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-05 Thread Skip Montanaro
Kai Maybe it would be better to call find-file-name-handler ... I don't know. With Edward's reminder that 0 != nil, I was able to generate a version of ediff-file-remote-p that works for tramp: (defun ediff-file-remote-p (file-name) (car (cond ((featurep 'efs-auto) (efs-ftp-path

tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-04 Thread Skip Montanaro
I'm still generally unable to use ediff with tramp file specs (I asked back in July about it) I believe because ediff doesn't realize filenames like "/r:dolphin.mojam.com:.emacs") are remote files and attempts to pass them directly to diff without first copying the file to local temp storage. I

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-04 Thread Stefan Monnier
"Skip" == Skip Montanaro [EMAIL PROTECTED] writes: I'm still generally unable to use ediff with tramp file specs (I asked back Does `ediff-buffers' work ? Stefan

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-04 Thread Skip Montanaro
I'm still generally unable to use ediff with tramp file specs (I asked back Stefan Does `ediff-buffers' work ? Yes, but it's obviously not as transparent as using ediff-files. Skip