Tramp adb fixes, found during test campaign.
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 27 Feb 2014 11:59:04 +0000 (12:59 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 27 Feb 2014 11:59:04 +0000 (12:59 +0100)
commitc22c16140eaa4cf391060360d36ab498fa57fdcb
treecf061ac030cffb55a7b68ec18b9f5c9228e54937
parent915f4bce4038c3aeb9caf4602890e18f6236dc3f
Tramp adb fixes, found during test campaign.
* net/tramp.el (tramp-call-process): Improve trace message.
(tramp-handle-insert-file-contents): Trace error case.

* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
<insert-directory>: Use `tramp-handle-insert-directory'.
(tramp-adb-handle-insert-directory): Remove function.
(tramp-adb-send-command-and-check): New defun, replacing
`tramp-adb-command-exit-status'.  Change all callees.
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-directory-files-and-attributes): Use it.
(tramp-adb-ls-output-name-less-p): Use
`directory-listing-before-filename-regexp'.
(tramp-adb-handle-delete-directory): Flush also file properties of
the truename of directory.
(tramp-adb-handle-file-name-all-completions): Add "./" and "../".
(tramp-adb-handle-file-local-copy): Make the local copy readable.
(tramp-adb-handle-write-region): Implement APPEND.
(tramp-adb-handle-rename-file): Make it more robust.  Flush file
properties correctly.
(tramp-adb-maybe-open-connection): Set `tramp-current-*'
variables.  Check for connected devices only when needed.
lisp/ChangeLog
lisp/net/tramp-adb.el
lisp/net/tramp.el