|Subject:||Invalid caching of connection properties?|
|Date:||Wed, 30 Aug 2006 10:56:35 +0200|
Maybe I'm overlooking something, but I seem to be seeing the following
problem with tramp 2.1.6.
Tramp caches connection properties in ~/.tramp.eld. Among them, e.g.,
However, after restart of emacs and re-establishing the connection,
tramp doesn't send the scripts for these coding methods to the remote
shell. AS a result, retrieving and sending of remote files fails.
When the cache is deleted, the problem goes away (once).
Suspicion: the coding scripts are initially sent during
tramp-find-inline-encoding when the connection properties have not yet
(defun tramp-get-remote-encoding (vec)
(tramp-get-connection-property vec "remote-encoding" nil)
(tramp-get-connection-property vec "remote-encoding" nil))))
When the property is set from the cache, tramp-find-inline-encoding is
never called and the coding scripts are never sent to the remote
Workaround: set tramp-persistency-file-name to nil.
|[Prev in Thread]||Current Thread||[Next in Thread]|