]> git.eshelyaron.com Git - emacs.git/commit
Implement "/media::" default host name in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 23 Jan 2020 13:09:35 +0000 (14:09 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 23 Jan 2020 13:09:35 +0000 (14:09 +0100)
commit8fbc2fd492b714c612a96add0b9572d87eb4e785
tree2477bd8d187b62dff11a351c5afd5c249477c4db
parent72011f23c3135690f65262f01ea92a53ff84b4e1
Implement "/media::" default host name in Tramp

* doc/misc/tramp.texi (GVFS-based methods): Describe default
/media:: file name.

* lisp/net/tramp-cache.el (tramp-get-file-property)
(tramp-set-file-property): Check, whether
`tramp-cache-{g,s}et-count-*' objects are numbers.

* lisp/net/tramp-gvfs.el (top): Don't set global default for
"media" in `tramp-default-host-alist'.
(tramp-gvfs-handler-volumeadded-volumeremoved): New defun.
(top): Register "org.gtk.Private.RemoteVolumeMonitor.VolumeAdded"
and "org.gtk.Private.RemoteVolumeMonitor.VolumeRemoved" signals.
(tramp-get-media-devices): Set defaults for "media" in
`tramp-default-host-alist'.
doc/misc/tramp.texi
lisp/net/tramp-cache.el
lisp/net/tramp-gvfs.el