Hi,

On my machine (GNU Emacs 24.0.95.1 (x86_64-unknown-linux-gnu, GTK+
Version 2.24.10), tramp 2.2.3-24.1) the tramp persistency cache is
abbreviated as soon as the cache gets big .  This is an except of my
.emacs.d/.gen./tramp:

#+BEGIN_SRC emacs-lisp
((["ssh" nil
   #("ristopher.com" 9 10
     (rear-nonsticky t))
   nil]
  ("uname" "Linux")
  ("test" "test")
  ("remote-path"
   ("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"))
  ("remote-shell" "/bin/sh")
  ("busybox" nil)
  ("~" "/home/optimus-prime")
  ("readlink" "\\readlink")
  ("file-exists" "test -e")
  ("ls" "/bin/ls --color=never")
  ...)
 (["sudo" "root"
   #("ristopher.com" 9 10
     (rear-nonsticky t))
   nil]
  ("uname" "Linux")
  ("test" "test")
  ("remote-path"
   ("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"))
  ("remote-shell" "/bin/sh")
  ("busybox" nil)
  ("readlink" "\\readlink")
  ("file-exists" "test -e")
  ("ls" "/bin/ls --color=never")
  ("ls-dired" t)
  ...)
  ;; etc.
#+END_SRC

When loading the tramp cache file, Emacs error's with 'Tramp persistency
file '/home/optimus-prime/.emacs.d/.gen/tramp' is corrupted: Wrong type
argument: listp, \.\.\.'

An obvious fix is to let-bind print-length and print-level to nil in
tramp-dump-connection-properties.

        Christopher

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

Reply via email to