On Tue, Apr 08, 2008 at 10:14:51AM +0200, Andreas Schwab wrote:
> William Xu <[EMAIL PROTECTED]> writes:
> 
> > Michael Albinus <[EMAIL PROTECTED]> writes:
> >
> >> I fear this cannot work in Tramp. Tramp uses temporary files on the
> >> local host. They are not located at ".*source.*", rather they are
> >> somewhere at "/tmp/*". So I have no clue how to support your settings.
> >
> > How about adding file path as part(prefix, suffix, or something like
> > that) of the filename under /tmp/* ? For example,
> > "/tmp/path_to_source_foo.cpp", replacing `/' with `_'.
> 
> One problem with this is that it gives predictable file names, a bad
> thing to have in a world writable directory.
> 
> Probably a better way to solve that is to create a way to tell
> insert-file-contents the original file name to be used for deciding the
> coding system.

Is there any way you can make system calls to the mkstemp() family of 
functions, or /bin/mktemp if it is available on the system?

-- 
[EMAIL PROTECTED]
  Some people have a way with words, while others... erm... thingy.



_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to