Support gio tool in Tramp
commitbc80da5bd34ac4047e0b91c0fe3ff96020d9bb25
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 7 Oct 2017 18:17:32 +0000 (7 20:17 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 7 Oct 2017 18:17:32 +0000 (7 20:17 +0200)
treefb38d10ab405c97c64298bb825322b099056ca69
parent349e0eb5ff8554947aecfed9ca43fee686712ba0
Support gio tool in Tramp

"gvfs-<command>" utilities have been deprecated in GVFS 1.31.1.  We
must use "gio <command>" tool instead.

* lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping): New defconst.
(tramp-gvfs-handle-file-notify-add-watch): Support also "gio monitor"
(tramp-gvfs-gio-tool-p): New defun.
(tramp-gvfs-send-command): Use it.  Call gio tool if available.
lisp/net/tramp-gvfs.el