Michael Albinus
294b2c2bb7
Refactor some Tramp functions
* lisp/net/tramp-compat.el (tramp-compat-file-local-name): New defsubst.
(tramp-compat-file-name-quoted-p, tramp-compat-file-name-quote)
(tramp-compat-file-name-unquote):
* lisp/net/tramp.el (tramp-handle-file-name-case-insensitive-p)
(tramp-handle-file-truename, tramp-get-remote-tmpdir):
* lisp/net/tramp-adb.el (tramp-adb-handle-copy-file)
(tramp-adb-handle-rename-file, tramp-adb-handle-exec-path):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
(tramp-sh-handle-exec-path, tramp-find-inline-encoding)
(tramp-get-remote-touch): Use it.
* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
Use `tramp-handle-expand-file-name'.
(tramp-adb-handle-expand-file-name): Move to tramp.el.
(tramp-adb-handle-file-writable-p): Adapt docstring.
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
Use `tramp-handle-file-local-copy', `tramp-handle-file-writable-p'
and `tramp-handle-write-region'.
(tramp-gvfs-handle-file-local-copy)
(tramp-gvfs-handle-file-writable-p)
(tramp-gvfs-handle-write-region): Move to tramp.el.
* lisp/net/tramp-rclone.el: Dont't require `tramp-adb' and
`tramp-gvfs' anymore.
(tramp-rclone-file-name-handler-alist):
Use `tramp-handle-expand-file-name', `tramp-handle-file-local-copy',
`tramp-handle-file-writable-p' and `tramp-handle-write-region'.
(tramp-rclone-handle-directory-files): Simplify.
* lisp/net/tramp.el (tramp-methods): Extend docstring.
(tramp-parse-netrc): Require `netrc'.
(tramp-handle-expand-file-name, tramp-handle-file-local-copy)
(tramp-handle-file-writable-p, tramp-handle-write-region): New defuns.
2018-12-07 17:21:03 +01:00
..
2018-11-25 21:08:08 +01:00
2018-05-07 07:50:49 -07:00
2018-09-28 07:54:24 -07:00
2018-08-21 13:44:32 -07:00
2018-08-15 21:43:00 -04:00
2018-08-15 21:43:00 -04:00
2018-08-15 21:43:00 -04:00
2018-08-15 21:43:03 -04:00
2018-11-13 14:47:35 -05:00
2018-09-23 18:32:59 -07:00
2018-07-09 20:03:30 -04:00
2018-07-01 23:34:53 -04:00
2018-11-25 21:08:08 +01:00
2018-08-22 20:46:08 -07:00
2018-11-29 17:00:09 +03:00
2018-04-14 14:50:14 +02:00
2018-09-23 18:32:59 -07:00
2018-06-18 20:01:44 -04:00
2018-11-25 21:08:08 +01:00
2018-09-20 07:50:34 -07:00
2018-10-08 20:59:59 -04:00
2018-11-25 21:08:08 +01:00
2018-11-04 09:37:03 -08:00
2018-07-18 10:23:20 -04:00
2018-08-21 13:44:32 -07:00
2018-06-16 16:05:07 +02:00
2018-09-28 07:54:24 -07:00
2018-06-18 20:01:44 -04:00
2018-10-13 12:14:52 +03:00
2018-10-13 11:51:06 +03:00
2018-10-16 19:44:16 +02:00
2018-06-11 21:39:06 -04:00
2018-08-21 13:44:32 -07:00
2018-12-07 17:21:03 +01:00
2018-12-06 16:00:05 +01:00
2018-12-06 16:00:05 +01:00
2018-12-06 16:00:05 +01:00
2018-12-07 17:21:03 +01:00
2018-11-22 16:29:25 +01:00
2018-12-07 17:21:03 +01:00
2018-12-07 17:21:03 +01:00
2018-12-07 17:21:03 +01:00
2018-12-06 16:00:05 +01:00
2018-12-07 17:21:03 +01:00
2018-12-02 10:32:23 -08:00
2018-12-07 17:21:03 +01:00