]> git.eshelyaron.com Git - emacs.git/commit
Add new Tramp method "media"
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 22 Jan 2020 15:54:55 +0000 (16:54 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 22 Jan 2020 15:54:55 +0000 (16:54 +0100)
commit2d9d62bb24c662890c943f16750f4a852aa6dc8b
tree46b0b60bed2bf49444f24ad5b04da55b133cf165
parent1a2a5a17a75d77961b94d88989353bd07cfd3ef5
Add new Tramp method "media"

* doc/misc/tramp.texi (Quick Start Guide, GVFS-based methods):
Add media devices.

* etc/NEWS: Mention new Tramp method "media".

* lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "media" method.
(tramp-goa-methods): Add tramp-autoload cookie.
(tramp-media-methods): New defvar.
(tramp-gvfs-service-volumemonitor): New defsubst.
(top): Remove media methods if not supported.  Add defaults for
`tramp-default-host-alist'.
(tramp-goa-account): Rename from `tramp-goa-name'.  Adapt all callees.
(tramp-gvfs-service-afc-volumemonitor)
(tramp-gvfs-service-goa-volumemonitor)
(tramp-gvfs-service-gphoto2-volumemonitor)
(tramp-gvfs-service-mtp-volumemonitor)
(tramp-gvfs-path-remotevolumemonitor)
(tramp-gvfs-interface-remotevolumemonitor): New defconsts.
(tramp-media-device): New defstruct.
(tramp-gvfs-activation-uri): New defun.
(tramp-gvfs-url-file-name): Use it.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
Handle "media" method.
(tramp-get-goa-account): Rename from `tramp-make-goa-name'.  Adapt
all callees.
(tramp-get-goa-accounts): Adapt docstring.  Cache with nil key.
(tramp-parse-goa-accounts, tramp-get-media-device)
(tramp-get-media-devices)
(tramp-parse-media-names): New defuns.
(top): Rework completion function registration.

* lisp/net/tramp.el (tramp-dns-sd-service-regexp): New defconst.
(tramp-set-completion-function): Use it.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-gvfs.el
lisp/net/tramp.el