tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.57); file-coding-system-alist not respected


From: Kyle VanderBeek
Subject: Re: tramp (2.0.57); file-coding-system-alist not respected
Date: Tue, 8 Apr 2008 09:53:59 -0700
User-agent: Mutt/1.4.1i

On Tue, Apr 08, 2008 at 10:14:51AM +0200, Andreas Schwab wrote:
> William Xu <address@hidden> writes:
> 
> > Michael Albinus <address@hidden> 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?

-- 
address@hidden
  Some people have a way with words, while others... erm... thingy.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]