1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
emacs/lisp/net
Michael Albinus 7004545244 Further optimization in Tramp's file name decomposition
* lisp/net/tramp.el (tramp-syntax): Recompute all file name
components.  Call `custom-set-variables' after loading.
(tramp-build-prefix-format, tramp-build-prefix-regexp)
(tramp-build-method-regexp)
(tramp-build-postfix-method-format)
(tramp-build-postfix-method-regexp)
(tramp-build-prefix-ipv6-format)
(tramp-build-prefix-ipv6-regexp)
(tramp-build-postfix-ipv6-format)
(tramp-build-postfix-ipv6-regexp)
(tramp-build-postfix-host-format)
(tramp-build-postfix-host-regexp)
(tramp-build-file-name-regexp)
(tramp-build-completion-file-name-regexp): New defuns.
(tramp-prefix-format, tramp-prefix-regexp)
(tramp-method-regexp, tramp-postfix-method-format)
(tramp-postfix-method-regexp, tramp-prefix-ipv6-format)
(tramp-prefix-ipv6-regexp, tramp-postfix-ipv6-format)
(tramp-postfix-ipv6-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp)
(tramp-remote-file-name-spec-regexp)
(tramp-file-name-structure, tramp-file-name-regexp)
(tramp-completion-file-name-regexp): Convert defuns into defvars.
(tramp-prefix-regexp-alist)
(tramp-postfix-method-regexp-alist)
(tramp-prefix-ipv6-regexp-alist)
(tramp-postfix-ipv6-regexp-alist)
(tramp-postfix-host-regexp-alist)
(tramp-remote-file-name-spec-regexp-alist): Remove.
(tramp-build-remote-file-name-spec-regexp)
(tramp-build-file-name-structure): Simplify.
(tramp-completion-file-name-regexp-alist): New defconst.
(tramp-tramp-file-p, tramp-dissect-file-name)
(tramp-make-tramp-file-name)
(tramp-completion-make-tramp-file-name)
(tramp-rfn-eshadow-update-overlay-regexp)
(tramp-register-file-name-handlers)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-dissect-file-name, tramp-clear-passwd):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler):
* lisp/net/tramp-sh.el (tramp-sh-handle-vc-registered)
(tramp-compute-multi-hops): Use variables but functions for
file name components.

* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
Use variables but functions for file name components.
2017-09-11 17:12:32 +02:00
..
ange-ftp.el * lisp/net/ange-ftp.el (ange-ftp-skip-msgs): Further support ftp-ssl. 2017-08-16 11:52:12 +02:00
browse-url.el Simplify checks for xdg-open and xdg-email 2017-03-09 19:02:35 -08:00
dbus.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
dig.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
dns.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-bob.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-export.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-hotlist.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
eudc-vars.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
eudcb-bbdb.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudcb-ldap.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudcb-mab.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eww.el Hexify strings in EWW search queries 2017-09-03 20:42:01 -04:00
gnutls.el Merge from origin/emacs-25 2017-06-11 16:20:40 -07:00
goto-addr.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
hmac-def.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
hmac-md5.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
imap.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
ldap.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
mailcap.el Refactor some loops in mailcap.el 2017-09-05 16:45:13 -04:00
mairix.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
net-utils.el Improve doc strings in net-utils.el 2017-05-12 11:38:04 +03:00
netrc.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
network-stream.el Document :shell-command in `make-network-process' 2017-01-26 19:46:27 +01:00
newst-backend.el Remove feeds with dead uris from newsticker--raw-url-list-defaults 2017-08-13 16:55:03 +02:00
newst-plainview.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-reader.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-ticker.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-treeview.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newsticker.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
nsm.el Avoid unnecessary loading of subr-x at run-time 2017-04-18 19:07:28 -04:00
ntlm.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
pinentry.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
pop3.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
puny.el Small puny.el fix 2017-03-01 20:35:41 -05:00
quickurl.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rcirc.el ; Add a comment for make-text-button in rcirc-markup-urls 2017-09-09 23:28:08 +09:00
rfc2104.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rlogin.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-cram.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-digest.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-ntlm.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-scram-rfc.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
secrets.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
shr-color.el Fix color component calculations in color.el 2017-03-03 16:05:02 +02:00
shr.el Ensure that we parse images right in shr.el 2017-07-24 17:29:28 +02:00
sieve-manage.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sieve-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sieve.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
snmp-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
soap-client.el lisp/net/soap-client.el: Bump version to 3.1.3 2017-06-13 21:21:24 -04:00
soap-inspect.el Fix soap-inspect.el doc strings 2017-05-25 08:49:58 -04:00
socks.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
starttls.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
telnet.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tls.el ; * lisp/net/tls.el (tls-program): Tweak :version. 2017-05-22 19:08:10 -04:00
tramp-adb.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-cache.el Stylistic changes in tramp-cache.el 2017-07-20 20:27:55 +02:00
tramp-cmds.el Introduce a defstruct `tramp-file-name' as central data structure. 2017-05-24 16:16:53 +02:00
tramp-compat.el Test `file-expand-wildcards' for Tramp 2017-08-22 16:22:33 +02:00
tramp-ftp.el Further optimization in Tramp's file name decomposition 2017-09-11 17:12:32 +02:00
tramp-gvfs.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-sh.el Further optimization in Tramp's file name decomposition 2017-09-11 17:12:32 +02:00
tramp-smb.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-uu.el Use lexical-bind in Tramp 2017-03-23 14:58:04 +01:00
tramp.el Further optimization in Tramp's file name decomposition 2017-09-11 17:12:32 +02:00
trampver.el Add Quick Start Guide to Tramp manual 2017-07-10 15:36:23 +02:00
webjump.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
zeroconf.el lisp/*.el: Fix some warnings 2017-01-29 19:34:35 +01:00