Hi,
OK, rcp.el is now working for me as advertised. I cannot recreate
the problem listed below. The only change I made was to exit and
enter emacs and load rcp into a fresh emacs. The problems I had seem
to have been related to loading rcp.el into an emacs that had been running
for days. So whether rcp.el works when loaded into an existing emacs
session may depend on the history of the session. Again, I have tried
but can't reproduce the problems I was having but things are working
fine for me.
Thanks,
Charlie
> Charlie Zender <[EMAIL PROTECTED]> writes:
>
> > [...] Here are two file specifications which "almost" worked
> > for find-file within emacs:
> >
> > /r@scp:[EMAIL PROTECTED]:/home/ess/zender/zender/.plan
> > /r@scp:krein.math.uci.edu:/home/ess/zender/zender/.plan
> >
> > Both these commands opened the file on the remote machine, but the
> > contents were empty, even when the file had pre-existing
> > contents. [...]
>
> Hm. That's strange. I think I saw this before but never really tried
> to find out what was wrong. Hm. Could you do the following, please?
> Look at the functions rcp-handle-file-local-copy and
> rcp-handle-write-region. In them, a tmp file is created and later
> deleted. Could you comment-out the delete-file statements and have a
> look at the tmp files, please? The first function is called when you
> do find-file, the second is called when you save a buffer.
>
> A possible workaround for your problem is to use a different method.
> I use `sm' and I'm happy with it, but this method requires mimencode
> to be installed on the remote machine. But even if you use the
> workaround, a little investigation into the problems you have with the
> scp method would be most appreciated.
--
Charlie Zender [EMAIL PROTECTED] (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100