emacs/lisp/net
Michael Albinus 6602ec3abc Remove Emacs 26 compatibility from Tramp
* doc/misc/tramp.texi (Remote processes): Don't mention Emacs version.
(Frequently Asked Questions): Adapt supported Emacs versions.

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.7.0-pre".

* lisp/net/tramp-compat.el (tramp-compat-file-name-quoted-p)
(tramp-compat-file-name-quote, tramp-compat-file-name-unquote)
(tramp-compat-tramp-syntax, tramp-compat-exec-path)
(tramp-compat-time-equal-p, tramp-compat-flatten-tree)
(tramp-compat-progress-reporter-update)
(tramp-compat-ignore-error, tramp-compat-rx--transform-item)
(tramp-compat-rx--transform, tramp-compat-rx): Remove.

* lisp/net/tramp-adb.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-cache.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-fuse.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-integration.el:
* lisp/net/tramp-rclone.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sshfs.el:
* lisp/net/tramp-sudoedit.el:
* lisp/net/tramp.el:
* lisp/net/trampver.el: Replace the removed `tramp-compat-*' items
by their real definition.  Don't use `tramp-compat-funcall' when
not needed.  Remove `with-no-warnings' and `ignore-errors' where
appropriate.

* lisp/net/tramp.el (tramp-file-name-for-operation): Rearrange list.
(tramp-handle-file-newer-than-file-p): Simplify.
(tramp-get-process-attributes): Don't check for existence of
`connection-local-criteria-for-default-directory'.
(tramp-handle-shell-command): Don't check for existence of
`shell-command-save-pos-or-erase', `async-shell-command-width' and
`shell-command-set-point-after-cmd'.
(tramp-handle-start-file-process): Call `make-process' directly.
(tramp-defined-time): New defsubst.
(tramp-get-local-gid): Don't check for existence of `group-name'.

* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
Use `tramp-defined-time'.
(tramp-adb-get-signal-strings): Don't bind `shell-file-name' and
`shell-command-switch'.

* lisp/net/tramp-archive.el (top, tramp-archive-file-name-handler):
Don't bind `max-specpdl-size' any longer.
(tramp-archive-autoload-file-name-regexp): Remove Emacs 26
specific code.
(top): Don't call `tramp-register-archive-autoload-file-name-handler'.

* lisp/net/tramp-gvfs.el (top): Don't bind `max-specpdl-size' any longer.
(tramp-gvfs-handle-set-file-times): Use `tramp-defined-time'.

* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
Use `tramp-defined-time'.

* test/lisp/net/tramp-archive-tests.el (tramp-archive--test-emacs27-p):
Remove.
(all):
* test/lisp/net/tramp-tests.el (all): Don't skip for Emacs 26.
Replace the removed `tramp-compat-*' items by their real
definition.  Don't use `tramp-compat-funcall' when not needed.
Remove `with-no-warnings' and `ignore-errors' where appropriate.
(with-connection-local-variables)
(shell-command-dont-erase-buffer): Don't declare.
(tramp-test10-write-region): Don't check for `make-empty-file'.
(tramp-test32-shell-command): Simplify.
(tramp-test34-explicit-shell-file-name): Don't protect
`explicit-shell-file-name' any longer.
(tramp--test-emacs27-p): Remove.
2023-01-06 13:34:33 +01:00
..
ange-ftp.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
browse-url.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dbus.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dictionary-connection.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dictionary.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dig.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dns.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-bob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-capf.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-export.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-hotlist.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc-vars.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-bbdb.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-ecomplete.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-ldap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-mab.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-macos-contacts.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-mailabbrev.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eww.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
gnutls.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
goto-addr.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
hmac-def.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
hmac-md5.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
imap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ldap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mailcap.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mairix.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
net-utils.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
network-stream.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-backend.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
newst-plainview.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-reader.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-ticker.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newst-treeview.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
newsticker.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
nsm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ntlm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pop3.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
puny.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcirc.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
rfc2104.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-cram.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-digest.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-ntlm.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-scram-rfc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl-scram-sha256.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
secrets.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
shr-color.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
shr.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve-manage.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
snmp-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
soap-client.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
soap-inspect.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
socks.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
telnet.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-adb.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-archive.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-cache.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-cmds.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-compat.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-container.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-crypt.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-ftp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp-fuse.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-gvfs.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-integration.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-rclone.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-sh.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-smb.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-sshfs.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-sudoedit.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
tramp-uu.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
trampver.el Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
webjump.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
zeroconf.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00