error first time visiting a file from dired with rsync method

2000-05-20 Thread Matt Swift
Using rsync method and dired, I'm getting an error when I visit a file with RET: Signaling: (wrong-type-argument stringp nil) file-symlink-p(nil) vc-find-file-hook() run-hooks(find-file-hooks) after-find-file(nil t) find-file-noselect-1(#buffer

cvs ci 'rcp/lisp rcp.el,1.339,1.340'

2000-05-20 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory lucy:/export/home/grossjoh/work/emacs-rcp/rcp/lisp Modified Files: rcp.el Log Message: Todo item for rcp-handle-file-directory-p.

Re: error first time visiting a file from dired with rsync method

2000-05-20 Thread Kai Großjohann
Matt Swift [EMAIL PROTECTED] writes: Using rsync method and dired, I'm getting an error when I visit a file with RET: Signaling: (wrong-type-argument stringp nil) file-symlink-p(nil) Strange. Hm. I can't explain where that might come from. Hm. vc-find-file-hook uses

cvs ci 'rcp/lisp rcp.el,1.341,1.342'

2000-05-20 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory lucy:/export/home/grossjoh/work/emacs-rcp/rcp/lisp Modified Files: rcp.el Log Message: Don't use `when' rather than `if' when checking for EFS, as this would require CL.

Re: caching of file information?

2000-05-20 Thread Stefan Monnier
"Kai" == Kai Großjohann [EMAIL PROTECTED] writes: Is the complicated mechanism really necessary, or can we make do with a fairly simple mechanism which caches information for a short time only? I think that the sample you showed earlier indicates that we can already win big-time with a

Re: cvs ci 'rcp/lisp rcp.el,1.341,1.342'

2000-05-20 Thread Stefan Monnier
"Kai" == Kai Grossjohann [EMAIL PROTECTED] writes: Don't use `when' rather than `if' when checking for EFS, as this would require CL. I don't know about XEmacs, but in Emacs, `when' has been standard at least since Emacs-20. And since I believe that CL is dumped into XEmacs (or at least, it

(let ((file (symbol-value 'file))) ???

2000-05-20 Thread Stefan Monnier
I see the above form in various places in rcp.el. What is it for ? It seems not to do anything at all, except maybe for silencing the byte-compiler. If so, I think a (defvar file) would be preferable (i.e. more explicit). Stefan "Not convinced that silencing the byte-compiler is

Re: error first time visiting a file from dired with rsync method

2000-05-20 Thread Matt Swift
"K" == Kai wrote: K Matt Swift [EMAIL PROTECTED] writes: Using rsync method and dired, I'm getting an error when I visit a file with RET: K I have now been able to reproduce the error, and I think I have fixed K it now. It was a missing `save-excursion' in the new

Re: error first time visiting a file from dired with rsync method

2000-05-20 Thread Kai Großjohann
Matt Swift [EMAIL PROTECTED] writes: Using rsync method and dired, I'm getting an error when I visit a file with RET: I have now been able to reproduce the error, and I think I have fixed it now. It was a missing `save-excursion' in the new implementation of `rcp-handle-file-directory-p' --

Re: cvs ci 'rcp/lisp rcp.el,1.322,1.323'

2000-05-20 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: Maybe. rcp.el has stopped working as of 1.339. 1.329 does work. The debug buffers are very similar, apart from the different ways of setting up the remote PATH. Signaling: (wrong-type-argument stringp nil) signal(wrong-type-argument (stringp

Re: cvs ci 'rcp/lisp rcp.el,1.322,1.323'

2000-05-20 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: Also, for the mimencode stuff to work there ought to be a (require 'base64) with a suitable wrapper to ignore failure. Hm. Hmmm... I think it might be good not to require base64 always, since people might wish to use rcp.el without base64 encoding. But