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. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
