"Tom Roche" <[EMAIL PROTECTED]> writes:
> * When byte-compiling, I got a message about temp-directory. I looked
> at the code and saw
>
> > For Emacs, this is the variable `temporary-file-directory', for
> XEmacs
> > this is the function `temp-directory'."
>
> This seems like something I should set :-) Is there a preferred
> means to do this? Just
>
> > (setq temporary-file-directory "c:/temp")
> > (setq temp-directory "c:/temp") ; for XEmacs, but couldn't hurt
>
> or should this be done with custom, or what?
Normally, the temporary directory should be set up correctly by
default. Emacs uses some environment variables: TEMP or TMPDIR or TMP
on M$ systems. These are checked in this order, and if one of these
is set, that value is chosen. If none of them are set, the value
c:/temp is chosen.
Of course, you can override the Lisp variable from your ~/.emacs file,
if you so wish. The above is just the default. It does not matter
whether you use setq as shown above or whether you use custom; use
whatever you like better or whatever you use for the other variables.
I don't know about XEmacs, but I suspect that a similar method is used
there. Since there is no Lisp variable in XEmacs, you cannot change
it from ~/.emacs.
> * I'm gonna be using this, at least initially, only on NT and only to
> enable use of scp. I just wanna be able to edit files a bit more
> securely. (Indeed I'd be thrilled if there was a version of ange-ftp
> that would scp, 'cause I've got some convenience functions that
> simply mask file locations and syntax.) What, and how much of
> rcp-methods, should I customize?
Probably, you do not need to change rcp-methods at all. As a
convenience measure, you could change the default method, in the
variable rcp-default-method. Have a look at rcp-methods and try
several of them until you find one which works. Trying a method is as
easy as typing a file name `/r@foo:user@host:/path/to/file' where foo
is the name of the method.
> * I saw mention of EFS, which I then tracked down. How well does
> rcp.el work with EFS?
As far as I know, rcp.el and EFS interoperate under Unix. All file
names starting with `/r:' or `/r@' are handled by rcp.el, the others
are handled by EFS.
There has been some talk about problems in using rcp.el on M$ systems,
though. Apparently, `/r:' is confused with a drive letter or
something. I'll send you a message from a person using M$ which
explains what he needed to do.
kai
--
A preposition is not a good thing to end a sentence with.