Support port numbers in tramp-adb
commitb9d09d80d2bf98e5df65316c4e85b448380f7ca7
authorZhongwei Yao <ashi08104@gmail.com>
Wed, 4 Mar 2015 10:13:19 +0000 (4 11:13 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 4 Mar 2015 10:13:19 +0000 (4 11:13 +0100)
tree7e9ee77c9230557f4c46a33c1efc1362cefcef42
parent8ac08792a71e07bce0e62d93bed80553fbe95a40
Support port numbers in tramp-adb

* net/tramp-adb.el (tramp-adb-connect-if-not-connected):
New user option.
(tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
names starting with a space.
(tramp-methods): Add `tramp-default-port' for "adb".
(tramp-adb-parse-device-names): Add traces.  Return device names
with port, if present.
(tramp-adb-handle-directory-files-and-attributes): Quote all
remote file names.
(tramp-adb-get-device): New defun.
(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
Use it.
(tramp-adb-maybe-open-connection): Set `tramp-current-*'
variables.  Remove checks for listed devices.
lisp/ChangeLog
lisp/net/tramp-adb.el