aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2018-01-05 21:04:39 +0100
committerMichael Albinus2018-01-05 21:04:39 +0100
commitb74fdf4408c883d02dd5c78af2ec622d632c3b1d (patch)
tree95c17ec74d312ca14260259a37f1f28bb849664f /doc
parent933d8fc0b70452f8a266e761231e58a759a7c80a (diff)
downloademacs-b74fdf4408c883d02dd5c78af2ec622d632c3b1d.tar.gz
emacs-b74fdf4408c883d02dd5c78af2ec622d632c3b1d.zip
Add new Tramp connection method "owncloud"
* doc/misc/tramp.texi (all): Use @acronym{GNOME} thoroughly. (Using GNOME Online Accounts based methods): Rename from "Using Google Drive". Add `owncloud'. (GVFS based methods): Add `owncloud'. * etc/NEWS: Add Tramp connection method "owncloud". * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "owncloud". Remove goa methods if not supported. (tramp-goa-methods, tramp-goa-service, tramp-goa-path) (tramp-goa-path-accounts, tramp-goa-interface-documents) (tramp-goa-interface-printers, tramp-goa-interface-files) (tramp-goa-interface-contacts, tramp-goa-interface-calendar) (tramp-goa-interface-oauth2based) (tramp-goa-interface-account, tramp-goa-identity-regexp) (tramp-goa-interface-mail, tramp-goa-interface-chat) (tramp-goa-interface-photos, tramp-goa-path-manager) (tramp-goa-interface-documents) (tramp-gvfs-owncloud-default-prefix) (tramp-gvfs-owncloud-default-prefix-regexp): New defconst. (tramp-goa-name): New defstruct. (tramp-gvfs-stringify-dbus-message): Handle all consp messages. (tramp-dbus-function, tramp-gvfs-get-remote-prefix) (tramp-get-goa-accounts): New defun. (with-tramp-dbus-call-method): Use it. (with-tramp-dbus-get-all-properties): New defmacro. (tramp-gvfs-url-file-name) (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec): Map between "owncloud" and "davs". (tramp-gvfs-maybe-open-connection): Set "vector" connection property. * test/lisp/net/tramp-tests.el (tramp-gvfs-handler-askquestion): Suppress run in tests. (tramp--test-owncloud-p): New defun. (tramp-test11-copy-file, tramp-test12-rename-file): Use it.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi55
1 files changed, 38 insertions, 17 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 4bfebc00af4..deaafb3d257 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -531,24 +531,33 @@ of the local file name is the share exported by the remote host,
531@cindex dav method 531@cindex dav method
532@cindex davs method 532@cindex davs method
533 533
534On systems, which have installed the virtual file system for the Gnome 534On systems, which have installed the virtual file system for the
535Desktop (GVFS), its offered methods could be used by @value{tramp}. 535@acronym{GNOME} Desktop (GVFS), its offered methods could be used by
536Examples are @file{@trampfn{sftp,user@@host,/path/to/file}}, 536@value{tramp}. Examples are
537@file{@trampfn{sftp,user@@host,/path/to/file}},
537@file{@trampfn{afp,user@@host,/path/to/file}} (accessing Apple's AFP 538@file{@trampfn{afp,user@@host,/path/to/file}} (accessing Apple's AFP
538file system), @file{@trampfn{dav,user@@host,/path/to/file}} and 539file system), @file{@trampfn{dav,user@@host,/path/to/file}} and
539@file{@trampfn{davs,user@@host,/path/to/file}} (for WebDAV shares). 540@file{@trampfn{davs,user@@host,/path/to/file}} (for WebDAV shares).
540 541
541 542
542@anchor{Quick Start Guide: Google Drive} 543@anchor{Quick Start Guide: GNOME Online Accounts based methods}
543@section Using Google Drive 544@section Using @acronym{GNOME} Online Accounts based methods
545@cindex @acronym{GNOME} Online Accounts
544@cindex method gdrive 546@cindex method gdrive
545@cindex gdrive method 547@cindex gdrive method
546@cindex google drive 548@cindex google drive
549@cindex method owncloud
550@cindex owncloud method
551@cindex nextcloud
547 552
548Another GVFS-based method allows to access a Google Drive file system. 553GVFS-based methods include also @acronym{GNOME} Online Accounts, which
549The file name syntax is here always 554support the @option{Files} service. These are the Google Drive file
550@file{@trampfn{gdrive,john.doe@@gmail.com,/path/to/file}}. 555system, and the OwnCloud/NextCloud file system. The file name syntax
551@samp{john.doe@@gmail.com} stands here for your Google Drive account. 556is here always
557@file{@trampfn{gdrive,john.doe@@gmail.com,/path/to/file}}
558(@samp{john.doe@@gmail.com} stands here for your Google Drive
559account), or @file{@trampfn{owncloud,user@@host#8081,/path/to/file}}
560(@samp{8081} stands for the port number) for OwnCloud/NextCloud files.
552 561
553 562
554@anchor{Quick Start Guide: Android} 563@anchor{Quick Start Guide: Android}
@@ -1061,7 +1070,7 @@ numbers are not applicable to Android devices connected through USB@.
1061@cindex gvfs based methods 1070@cindex gvfs based methods
1062@cindex dbus 1071@cindex dbus
1063 1072
1064GVFS is the virtual file system for the Gnome Desktop, 1073GVFS is the virtual file system for the @acronym{GNOME} Desktop,
1065@uref{https://en.wikipedia.org/wiki/GVFS}. Remote files on GVFS are 1074@uref{https://en.wikipedia.org/wiki/GVFS}. Remote files on GVFS are
1066mounted locally through FUSE and @value{tramp} uses this locally 1075mounted locally through FUSE and @value{tramp} uses this locally
1067mounted directory internally. 1076mounted directory internally.
@@ -1114,6 +1123,18 @@ directory have the same @code{display-name}, such a situation must be avoided.
1114OBEX is an FTP-like access protocol for cell phones and similar simple 1123OBEX is an FTP-like access protocol for cell phones and similar simple
1115devices. @value{tramp} supports OBEX over Bluetooth. 1124devices. @value{tramp} supports OBEX over Bluetooth.
1116 1125
1126@item @option{owncloud}
1127@cindex @acronym{GNOME} Online Accounts
1128@cindex method owncloud
1129@cindex owncloud method
1130@cindex nextcloud
1131
1132As the name indicates, the method @option{owncloud} allows you to
1133access OwnCloud or NextCloud hosted files and directories. Like the
1134@option{gdrive} method, your credentials must be populated in your
1135@command{Online Accounts} application outside Emacs. The method
1136supports port numbers.
1137
1117@item @option{sftp} 1138@item @option{sftp}
1118@cindex method sftp 1139@cindex method sftp
1119@cindex sftp method 1140@cindex sftp method
@@ -1135,11 +1156,11 @@ requires the SYNCE-GVFS plugin.
1135@defopt tramp-gvfs-methods 1156@defopt tramp-gvfs-methods
1136This user option is a list of external methods for GVFS@. By default, 1157This user option is a list of external methods for GVFS@. By default,
1137this list includes @option{afp}, @option{dav}, @option{davs}, 1158this list includes @option{afp}, @option{dav}, @option{davs},
1138@option{gdrive}, @option{obex}, @option{sftp} and @option{synce}. 1159@option{gdrive}, @option{obex}, @option{owncloud}, @option{sftp} and
1139Other methods to include are @option{ftp}, @option{http}, 1160@option{synce}. Other methods to include are @option{ftp},
1140@option{https} and @option{smb}. These methods are not intended to be 1161@option{http}, @option{https} and @option{smb}. These methods are not
1141used directly as GVFS based method. Instead, they are added here for 1162intended to be used directly as GVFS based method. Instead, they are
1142the benefit of @ref{Archive file names}. 1163added here for the benefit of @ref{Archive file names}.
1143@end defopt 1164@end defopt
1144 1165
1145 1166
@@ -2928,8 +2949,8 @@ that remote connection.
2928 2949
2929@value{tramp} offers also transparent access to files inside file 2950@value{tramp} offers also transparent access to files inside file
2930archives. This is possible only on machines which have installed the 2951archives. This is possible only on machines which have installed the
2931virtual file system for the Gnome Desktop (GVFS), @ref{GVFS based 2952virtual file system for the @acronym{GNOME} Desktop (GVFS), @ref{GVFS
2932methods}. Internally, file archives are mounted via the GVFS 2953based methods}. Internally, file archives are mounted via the GVFS
2933@option{archive} method. 2954@option{archive} method.
2934 2955
2935A file archive is a regular file of kind @file{/path/to/dir/file.EXT}. 2956A file archive is a regular file of kind @file{/path/to/dir/file.EXT}.