• Michael Albinus's avatar
    Sync with Tramp repository. · 062757dc
    Michael Albinus authored
    * lisp/net/tramp-adb.el (tramp-adb-handle-start-file-process):
    * lisp/net/tramp-sh.el (tramp-sh-handle-start-file-process)
    * lisp/net/tramp-smb.el (tramp-smb-handle-start-file-process):
    Create BUFFER if it doesn't exist.  Reported by Nikolay
    Kudryavtsev <nikolay.kudryavtsev@gmail.com>.
    
    * lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes)
    (tramp-gvfs-file-attributes-with-gvfs-ls-regexp)
    (tramp-gvfs-file-attributes-with-gvfs-info-regexp): New defconst.
    (tramp-gvfs-get-directory-attributes)
    (tramp-gvfs-get-root-attributes)
    (tramp-gvfs-get-file-attributes): New defun.
    (tramp-gvfs-handle-file-attributes)
    (tramp-gvfs-handle-file-name-all-completions): Use them.
    (tramp-gvfs-handle-file-directory-p): Use `file-truename'.
    (tramp-gvfs-maybe-open-connection): Set :noquery flag for process.
    (tramp-gvfs-send-command): Add locale settings to `process-environment'.
    (top): Suppress D-Bus error messages during zeroconf initialization.
    
    * lisp/net/tramp.el (tramp-unknown-id-string)
    (tramp-unknown-id-integer): New defconst.
    (tramp-check-cached-permissions)
    * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes)
    * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
    (tramp-convert-file-attributes, tramp-get-remote-uid)
    (tramp-get-remote-gid): Use them.
    
    * lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp):
    Rename from `tramp-color-escape-sequence-regexp'.
    (tramp-sh-handle-insert-directory)
    (tramp-convert-file-attributes): Adapt callees.
    (tramp-device-escape-sequence-regexp): New defconst.
    (tramp-wait-for-output): Use it.  Reported by Matthías Páll
    Gissurarson <icetritlo@gmail.com>.
    
    * lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
    Simplify.
    
    * test/lisp/net/tramp-tests.el (tramp-test26-process-file)
    (tramp-test28-shell-command):
    Use `tramp-display-escape-sequence-regexp'.
    062757dc
tramp-smb.el 73 KB