]> git.eshelyaron.com Git - emacs.git/commit
Improve error handling in tramp-gvfs
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Jun 2019 16:58:11 +0000 (18:58 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 23 Jun 2019 16:58:11 +0000 (18:58 +0200)
commit383a557b537562ceed38da3c9a07790c2f6b67f6
treec894ce3d18f8112edd321da80e4fd180c4311aa8
parenta1deb6cac305a73e799c63e2fbfe7221790e1e61
Improve error handling in tramp-gvfs

* lisp/net/tramp-gvfs.el (tramp-gvfs-get-directory-attributes)
(tramp-gvfs-get-root-attributes)
(tramp-gvfs-handle-file-attributes): Don't ignore errors.
(tramp-make-goa-name): New defun.
(tramp-gvfs-get-remote-prefix): Use it.
(tramp-gvfs-maybe-open-connection): Raise user errors in case of.
Check also, that GOA accounts are proper.
(tramp-get-goa-accounts): Cache connection property.

* lisp/net/tramp.el (tramp-handle-file-equal-p)
(tramp-handle-file-in-directory-p): Use `tramp-equal-remote'.
lisp/net/tramp-gvfs.el
lisp/net/tramp.el