emacs/lisp/net
Michael Albinus 143bc75c41 Rework connection local variables
For connection local variables interface, `class' is renamed
to `profile'.  All arguments `criteria' are a plist now.

* doc/lispref/variables.texi (Connection Local Variables):
Rewrite.

* lisp/files-x.el (connection-local-profile-alist): Rename
from `connection-local-class-alist'.  Adapt docstring.
(connection-local-criteria-alist): Adapt docstring.
(connection-local-normalize-criteria): New defun.
(connection-local-get-profiles): Rename from
`connection-local-get-classes'.  Rewrite.
(connection-local-set-profiles): Rename from
`connection-local-set-classes'.  Rewrite.
(connection-local-get-profile-variables): Rename from
`connection-local-get-class-variables'.  Rewrite.
(connection-local-set-profile-variables): Rename from
`connection-local-set-class-variables'.  Rewrite.
(hack-connection-local-variables)
(hack-connection-local-variables-apply)): Rewrite.
(with-connection-local-profiles): Rename from
`ith-connection-local-classes'.  Rewrite.

* lisp/net/tramp.el (tramp-set-connection-local-variables):
Compute criteria.

* lisp/net/tramp-cmds.el (tramp-bug):
Use `connection-local-profile-alist'.

* test/lisp/files-x-tests.el (files-x-test--variables1)
(files-x-test--variables2, files-x-test--variables3)
(files-x-test--variables4, files-x-test--criteria1)
(files-x-test--criteria2): Make them a defconst.
(files-x-test--application)
(files-x-test--another-application, files-x-test--protocol)
(files-x-test--user, files-x-test--machine): New defconst.
(files-x-test--criteria): New defvar.
(files-x-test--criteria3): Remove.
(files-x-test-connection-local-set-profile-variables):
Rename from `files-x-test-connection-local-set-class-variables'.
Rewrite.
(files-x-test-connection-local-set-profiles): Rename from
`files-x-test-connection-local-set-classes'.  Rewrite.
(files-x-test-hack-connection-local-variables-apply)  Rewrite.
(files-x-test-with-connection-local-profiles): Rename from
`files-x-test-with-connection-local-classes'.  Rewrite.
2017-02-19 17:14:35 +01:00
..
ange-ftp.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
browse-url.el Merge from origin/emacs-25 2017-01-01 01:10:47 -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 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-vars.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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 Lists used as plists now have to be an even length 2017-02-18 16:46:06 +01:00
gnutls.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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
html2text.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
imap.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ldap.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
mailcap.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
mairix.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
net-utils.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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 Avoid add-to-list on local variables 2017-01-04 00:40:45 -05: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 Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
puny.el Update copyright year to 2017 in master 2017-01-01 01:48:59 -08:00
quickurl.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rcirc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08: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 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
shr-color.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
shr.el Fix rendering of some complex SVG images 2017-01-24 22:21:45 +01: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 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
soap-inspect.el Update copyright year to 2017 2016-12-31 19:42:26 -08: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 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tramp-adb.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-cache.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-cmds.el Rework connection local variables 2017-02-19 17:14:35 +01:00
tramp-compat.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-ftp.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-gvfs.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-sh.el Unset `non-essential' in Tramp when not needed anymore 2017-02-18 14:29:19 +01:00
tramp-smb.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tramp-uu.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tramp.el Rework connection local variables 2017-02-19 17:14:35 +01:00
trampver.el Unset `non-essential' in Tramp when not needed anymore 2017-02-18 14:29:19 +01: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