diff options
| author | Michael Albinus | 2016-07-04 15:36:30 +0200 |
|---|---|---|
| committer | Michael Albinus | 2016-07-04 15:36:30 +0200 |
| commit | f24fe30cb8118f8e15688eaf61a6fefde87f597e (patch) | |
| tree | 2f08f491a69ad05bbbffc745c89815b61a8faf24 /doc | |
| parent | 05d76dba6604f78e4b2b7b9f8b30c916cad7d32a (diff) | |
| download | emacs-f24fe30cb8118f8e15688eaf61a6fefde87f597e.tar.gz emacs-f24fe30cb8118f8e15688eaf61a6fefde87f597e.zip | |
Add Google Drive support to Tramp
* doc/misc/tramp.texi: Add `gdrive' method.
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.3.1-pre".
* etc/NEWS: Add Tramp connection method "gdrive".
* lisp/net/tramp-gvfs.el (tramp-gvfs-methods) <gdrive>: Add.
(tramp-default-user-alist, tramp-default-host-alist): Add rule
for "gdrive".
(tramp-gvfs-file-attributes): Add "name", remove "standard::icon".
(tramp-gvfs-file-attributes-with-gvfs-ls-regexp): Simplify regexp.
(tramp-gvfs-get-directory-attributes): Improve loop. Use
"standard::display-name" as file name, if available.
(tramp-gvfs-handle-file-name-all-completions): Simplify.
(tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
Map between "gdrive" and "google-drive".
* lisp/net/tramp.el (tramp-call-process): Do not signal error.
* test/lisp/net/tramp-tests.el (tramp--instrument-test-case):
Do not enable `tramp-message-show-message'.
(tramp-test13-make-directory, tramp-test14-delete-directory):
Do not specify error type.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/tramp.texi | 20 | ||||
| -rw-r--r-- | doc/misc/trampver.texi | 2 |
2 files changed, 19 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 894ccbe9c9c..dc3ef23c455 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -957,6 +957,22 @@ syntax requires a leading volume (share) name, for example: | |||
| 957 | based on standard protocols, such as HTTP@. @option{davs} does the same | 957 | based on standard protocols, such as HTTP@. @option{davs} does the same |
| 958 | but with SSL encryption. Both methods support the port numbers. | 958 | but with SSL encryption. Both methods support the port numbers. |
| 959 | 959 | ||
| 960 | @item @option{gdrive} | ||
| 961 | @cindex method gdrive | ||
| 962 | @cindex gdrive method | ||
| 963 | @cindex Google Drive | ||
| 964 | |||
| 965 | Via the @option{gdrive} method it is possible to access your Google | ||
| 966 | Drive online storage. User and host name of the remote file name are | ||
| 967 | your email address of the Google Drive credentials, like | ||
| 968 | @file{@trampfn{gdrive,john.doe@@gmail.com,/}}. These credentials must | ||
| 969 | be populated in your @command{Online Accounts} application outside Emacs. | ||
| 970 | |||
| 971 | Since Google Drive uses cryptic blob file names internally, | ||
| 972 | @value{tramp} works with the @code{display-name} of the files. This | ||
| 973 | could produce unexpected behaviour in case two files in the same | ||
| 974 | directory have the same @code{display-name}, such a situation must be avoided. | ||
| 975 | |||
| 960 | @item @option{obex} | 976 | @item @option{obex} |
| 961 | @cindex method obex | 977 | @cindex method obex |
| 962 | @cindex obex method | 978 | @cindex obex method |
| @@ -986,8 +1002,8 @@ requires the SYNCE-GVFS plugin. | |||
| 986 | @vindex tramp-gvfs-methods | 1002 | @vindex tramp-gvfs-methods |
| 987 | This custom option is a list of external methods for GVFS@. By | 1003 | This custom option is a list of external methods for GVFS@. By |
| 988 | default, this list includes @option{afp}, @option{dav}, @option{davs}, | 1004 | default, this list includes @option{afp}, @option{dav}, @option{davs}, |
| 989 | @option{obex}, @option{sftp} and @option{synce}. Other methods to | 1005 | @option{gdrive}, @option{obex}, @option{sftp} and @option{synce}. |
| 990 | include are: @option{ftp} and @option{smb}. | 1006 | Other methods to include are: @option{ftp} and @option{smb}. |
| 991 | @end defopt | 1007 | @end defopt |
| 992 | 1008 | ||
| 993 | 1009 | ||
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi index 6f67f35902a..3101dc0de82 100644 --- a/doc/misc/trampver.texi +++ b/doc/misc/trampver.texi | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | @c In the Tramp GIT, the version number is auto-frobbed from | 8 | @c In the Tramp GIT, the version number is auto-frobbed from |
| 9 | @c configure.ac, so you should edit that file and run | 9 | @c configure.ac, so you should edit that file and run |
| 10 | @c "autoconf && ./configure" to change the version number. | 10 | @c "autoconf && ./configure" to change the version number. |
| 11 | @set trampver 2.3.0 | 11 | @set trampver 2.3.1-pre |
| 12 | 12 | ||
| 13 | @c Other flags from configuration | 13 | @c Other flags from configuration |
| 14 | @set instprefix /usr/local | 14 | @set instprefix /usr/local |