* tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
local copy of FILENAME, when it is remote.  (Bug#18751)
* tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
a local copy; setting `inhibit-file-name-handlers' proper might be
more performant.  (Bug#18751)
* tramp-adb.el (tramp-adb-handle-file-attributes):
* tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
* tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
case of errors.

* tramp.el (tramp-error-with-buffer): Show connection buffer only
when message appeared in minibuffer.  (Bug#18891)