1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-06 23:51:24 -08:00
emacs/lisp/net
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
..
ange-ftp.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
browse-url.el
dbus.el Merge from origin/emacs-26 2018-09-28 07:54:24 -07:00
dig.el
dns.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
eudc-bob.el EUDC: Remove XEmacs support 2018-08-15 21:43:00 -04:00
eudc-export.el
eudc-hotlist.el EUDC: Remove XEmacs support 2018-08-15 21:43:00 -04:00
eudc-vars.el
eudc.el EUDC: Remove XEmacs support 2018-08-15 21:43:00 -04:00
eudcb-bbdb.el EUDC: Add more BBDB >= 3 support 2018-08-15 21:43:03 -04:00
eudcb-ldap.el
eudcb-mab.el No need to pass absolute program name to call-process 2018-11-13 14:47:35 -05:00
eww.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
gnutls.el Merge from emacs-26 2018-07-09 20:03:30 -04:00
goto-addr.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
hmac-def.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
hmac-md5.el
imap.el Prune most-positive-fixnum from Lisp source 2018-08-22 20:46:08 -07:00
ldap.el LDAP: Set process-connection-type to t 2018-11-29 17:00:09 +03:00
mailcap.el
mairix.el
net-utils.el
netrc.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
network-stream.el Move tls.el and starttls.el to lisp/obsolete/ (Bug#31457) 2018-06-18 20:01:44 -04:00
newst-backend.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
newst-plainview.el
newst-reader.el
newst-ticker.el
newst-treeview.el
newsticker.el
nsm.el Merge from origin/emacs-26 2018-09-20 07:50:34 -07:00
ntlm.el * lisp/net/ntlm.el: Use lexical-binding 2018-10-08 20:59:59 -04:00
pop3.el
puny.el
quickurl.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
rcirc.el Merge from origin/emacs-26 2018-11-04 09:37:03 -08:00
rfc2104.el
rlogin.el * lisp/comint.el: Clean up namespace 2018-07-18 10:23:20 -04:00
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
secrets.el Fix Bug#31846. Do not merge with master 2018-06-16 16:05:07 +02:00
shr-color.el
shr.el Merge from origin/emacs-26 2018-09-28 07:54:24 -07:00
sieve-manage.el Move tls.el and starttls.el to lisp/obsolete/ (Bug#31457) 2018-06-18 20:01:44 -04:00
sieve-mode.el Fix sieve-mode font lock 2018-10-13 12:14:52 +03:00
sieve.el Fix sieve-upload when sieve-buffer is nil 2018-10-13 11:51:06 +03:00
snmp-mode.el
soap-client.el Fix Bug#32983 2018-10-16 19:44:16 +02:00
soap-inspect.el soap-client: Add byte-code compatibility function (Bug#31742) 2018-06-11 21:39:06 -04:00
socks.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
telnet.el
tramp-adb.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
tramp-archive.el Rework Tramp wrt string-match-p, looking-at-p, save-match-data 2018-12-06 16:00:05 +01:00
tramp-cache.el Rework Tramp wrt string-match-p, looking-at-p, save-match-data 2018-12-06 16:00:05 +01:00
tramp-cmds.el Rework Tramp wrt string-match-p, looking-at-p, save-match-data 2018-12-06 16:00:05 +01:00
tramp-compat.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
tramp-ftp.el Some minor Tramp cleanups 2018-11-22 16:29:25 +01:00
tramp-gvfs.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
tramp-rclone.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
tramp-sh.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
tramp-smb.el Rework Tramp wrt string-match-p, looking-at-p, save-match-data 2018-12-06 16:00:05 +01:00
tramp-uu.el
tramp.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00
trampver.el Merge from origin/emacs-26 2018-12-02 10:32:23 -08:00
webjump.el
zeroconf.el Refactor some Tramp functions 2018-12-07 17:21:03 +01:00