comparison lisp/net/tramp.el @ 110702:4e901a2d3669

* files.el (remote-file-name-inhibit-cache): New defcustom. * time.el (display-time-file-nonempty-p): Use `remote-file-name-inhibit-cache'. * net/tramp.el (tramp-completion-reread-directory-timeout): Fix docstring. * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove. (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by `remote-file-name-inhibit-cache'. Check also for an integer value. Add/increase counter when `tramp-verbose' >= 10. (tramp-set-file-property): Add/increase counter when `tramp-verbose' >= 10. * net/tramp-cmds.el (tramp-cleanup-all-connections) (tramp-cleanup-all-buffers): Set tramp-autoload cookie. (tramp-bug): Set tramp-autoload cookie. Report all interned tramp-* variables. Report also `remote-file-name-inhibit-cache'. (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit characters only in strings. * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due to backward compatibility. * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime) (tramp-handle-file-name-all-completions) (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'. (tramp-open-connection-setup-interactive-shell): Call `tramp-cleanup-connection' directly.
author Michael Albinus <michael.albinus@gmx.de>
date Sat, 02 Oct 2010 15:21:43 +0200
parents 932697ced7aa
children d6e88106c5b8
comparison
equal deleted inserted replaced
110701:af844b79b99f 110702:4e901a2d3669
972 "Defines seconds since last remote command before rereading a directory. 972 "Defines seconds since last remote command before rereading a directory.
973 A remote directory might have changed its contents. In order to 973 A remote directory might have changed its contents. In order to
974 make it visible during file name completion in the minibuffer, 974 make it visible during file name completion in the minibuffer,
975 Tramp flushes its cache and rereads the directory contents when 975 Tramp flushes its cache and rereads the directory contents when
976 more than `tramp-completion-reread-directory-timeout' seconds 976 more than `tramp-completion-reread-directory-timeout' seconds
977 have been gone since last remote command execution. A value of 0 977 have been gone since last remote command execution. A value of `t'
978 would require an immediate reread during filename completion, nil 978 would require an immediate reread during filename completion, `nil'
979 means to use always cached values for the directory contents." 979 means to use always cached values for the directory contents."
980 :group 'tramp 980 :group 'tramp
981 :type '(choice (const nil) integer)) 981 :type '(choice (const nil) integer))
982 982
983 ;;; Internal Variables: 983 ;;; Internal Variables: