• Michael Albinus's avatar
    Improve Tramp robustness · 1a5293e7
    Michael Albinus authored
    * lisp/net/tramp.el (tramp-message, tramp-process-actions)
    (tramp-read-passwd, tramp-interrupt-process):
    * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
    (tramp-gvfs-maybe-open-connection):
    * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
    (tramp-process-sentinel)
    (tramp-sh-handle-file-notify-add-watch)
    (tramp-barf-if-no-shell-prompt, tramp-maybe-open-connection)
    * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
    (tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
    (tramp-smb-maybe-open-connection): Use process property rather
    than connection property "vector".
    
    * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
    Fix scoping error.  Let error traces use process buffer.
    
    * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
    Move "inotifywait" up.  GVFS based monitoring is not stable.
    Let error traces use process buffer.
    (tramp-sh-gvfs-monitor-dir-process-filter): Check more error
    messages.
    (tramp-get-remote-gvfs-monitor-dir): Search also for "gio".
    
    * lisp/net/tramp.el (tramp-get-debug-buffer):
    Use `special-mode-map' as parent map in debug buffer.
    (tramp-message): Ensure, that proper process buffer is dumped
    in error case.
    1a5293e7
tramp.el 176 KB