1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/test/lisp
Michael Albinus 2c5be6ddca Remove Emacs 25 compatibility from Tramp
* doc/misc/tramp.texi (Remote programs, Remote processes)
(Frequently Asked Questions): Adapt Emacs versions.

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

* lisp/net/tramp-adb.el (top): Don't use `tramp-compat-funcall' for
connection-local functions.

* lisp/net/tramp-compat.el (tramp-unload-file-name-handlers)
(tramp-handle-temporary-file-directory)
(tramp-compat-temporary-file-directory-function)
(tramp-compat-file-attribute-type)
(tramp-compat-file-attribute-link-number)
(tramp-compat-file-attribute-user-id)
(tramp-compat-file-attribute-group-id)
(tramp-compat-file-attribute-access-time)
(tramp-compat-file-attribute-modification-time)
(tramp-compat-file-attribute-status-change-time)
(tramp-compat-file-attribute-size)
(tramp-compat-file-attribute-modes, tramp-file-missing)
(tramp-compat-file-missing, tramp-compat-file-local-name): Remove.
(tramp-compat-file-name-quoted-p, tramp-compat-file-name-quote)
(tramp-compat-file-name-unquote)
(tramp-compat-progress-reporter-update)
(tramp-compat-file-modes, tramp-compat-set-file-modes)
(tramp-compat-set-file-times, tramp-compat-directory-files)
(tramp-compat-directory-files-and-attributes): Adapt implementation.

* lisp/net/tramp.el:
* lisp/net/tramp-adb.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-fuse.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-rclone.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sudoedit.el: Adapt callees.

* lisp/net/tramp-crypt.el (tramp-crypt-config-file-name):
Expand file name.

* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-readable-p): Remove.

* lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Don't check Emacs version.
(tramp-gvfs-handler-mounted-unmounted): Use `make-tramp-file-name'.

* lisp/net/tramp-integration.el (rfn-eshadow-overlay):
Remove declaration.
(top): Don't use `tramp-compat-funcall' for connection-local functions.

* lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
Use `tramp-rclone-handle-file-readable-p'.
(tramp-rclone-handle-file-readable-p): New defun.

* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-handle-file-readable-p'.

* lisp/net/tramp.el (tramp-temp-name-prefix, tramp-lookup-syntax):
Adapt docstring.
(tramp-set-connection-local-variables)
(tramp-set-connection-local-variables-for-buffer): Don't use
`tramp-compat-funcall' for connection-local functions.
(tramp-file-name-for-operation): Reorder list.
(tramp-handle-make-symbolic-link): Don't handle TARGET and
OK-IF-ALREADY-EXISTS.
(tramp-read-passwd): Don't use `read-passwd' any longer.
(top): Don't check for `interrupt-process-functions'.

* test/lisp/net/tramp-archive-tests.el (tramp-archive--test-emacs26-p):
Remove.
(tramp-archive-test02-file-name-dissect): Use `make-tramp-file-name'.
(all): Replace Emacs 26 compatibility functions with their
original name.
(tramp-archive-test46-auto-load)
(tramp-archive-test46-delay-load): Rename.

* test/lisp/net/tramp-tests.el (dired-aux, seq): Require them.
(dired-compress, connection-local-criteria-alist)
(connection-local-profile-alist, async-shell-command-width):
Don't declare.
(all): Replace Emacs 26 compatibility functions with their
original name.
(tramp-test04-substitute-in-file-name)
(tramp-test10-write-region, tramp-test11-copy-file)
(tramp-test12-rename-file, tramp-test15-copy-directory)
(tramp-test17-insert-directory)
(tramp-test17-dired-with-wildcards, tramp-test21-file-links)
(tramp-test31-interrupt-process)
(tramp-test34-connection-local-variables)
(tramp-test34-explicit-shell-file-name)
(tramp-test40-make-nearby-temp-file)
(tramp-test41-special-characters, tramp-test42-utf8)
(tramp-test46-delay-load, tramp-test46-remote-load-path)
(tramp-test47-unload): Don't check for Emacs 26 special features.
(tramp--test-emacs26-p): Remove.
(tramp--test-emacs29-p): New defun.
(tramp-test45-dired-compress-file)
(tramp-test45-dired-compress-dir): Use it.
(tramp-test44-asynchronous-requests): Use `seq-random-elt'.
2021-11-12 18:17:32 +01:00
..
align-resources
bookmark-resources
calc Calc: mend math-nth-root-float (bug#51209) 2021-10-15 12:14:05 +02:00
calendar Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
cedet Fix a semantic test on some macOS machines 2021-10-17 03:05:08 +02:00
custom-resources Avoid saving session customizations in the custom-file 2021-05-10 13:33:32 +02:00
emacs-lisp Fix package-tests failure on native-comp 2021-11-10 05:19:56 +01:00
emulation Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
epg-resources
erc Don't send empty lines for unknown commands in ERC 2021-11-06 19:13:35 +01:00
eshell Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
faces-resources ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
files-resources Add tests for 'insert-directory' 2021-11-11 04:37:46 +01:00
gnus Add some gnus-short-group-name tests 2021-10-29 15:30:21 +02:00
hfy-cmap-resources
image Add new function exif-field 2021-10-23 08:13:43 +02:00
international * test/lisp/dabbrev-tests.el: Use 'kbd' for readable keys. 2021-10-21 20:22:15 +03:00
mail Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
mh-e ; * test/lisp/mh-e/mh-utils-tests.el: Update macro declarations. 2021-10-22 08:48:07 -07:00
minibuffer-resources
net Remove Emacs 25 compatibility from Tramp 2021-11-12 18:17:32 +01:00
nxml
obsolete Make rfc2368 obsolete and add rfc6068 2021-08-30 01:56:10 +02:00
org ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
pcmpl-linux-resources
play ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
progmodes lisp/emacs-lisp/lisp-mode.el: Fix parser state corruption. 2021-11-08 07:38:41 +01:00
saveplace-resources
so-long-tests Use "grep -E" instead of deprecated "egrep" 2021-11-10 16:30:50 +01:00
term ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
textmodes Make paragraph/filling functions in texinfo-mode work better 2021-11-07 23:47:47 +01:00
time-resources
url Move two incorrectly named test files 2021-09-26 20:45:07 +02:00
vc Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
xdg-resources
abbrev-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
align-tests.el
allout-tests.el
allout-widgets-tests.el
ansi-color-tests.el Add tests for incomplete escape sequences in ansi-color-tests 2021-10-06 10:50:39 +02:00
apropos-tests.el
arc-mode-tests.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
auth-source-pass-tests.el ; Adjust overly long docstrings to fit 80 characters 2021-09-26 13:23:57 +02:00
auth-source-tests.el Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
autoinsert-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
autorevert-tests.el Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
battery-tests.el
bookmark-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
buff-menu-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
button-tests.el Don't rely on lexical-binding being nil in tests 2021-09-22 15:42:41 +02:00
calculator-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
char-fold-tests.el
color-tests.el
comint-tests.el Match password prompts from new OpenSSH 2021-11-07 21:34:41 +01:00
completion-tests.el
cus-edit-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
custom-tests.el Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
dabbrev-tests.el * test/lisp/dabbrev-tests.el: Use 'kbd' for readable keys. 2021-10-21 20:22:15 +03:00
delim-col-tests.el
descr-text-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
dired-aux-tests.el Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
dired-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
dired-x-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
dom-tests.el Add a new test for dom-search 2021-08-09 14:14:37 +02:00
edmacro-tests.el New tests for kbd and edmacro-parse-keys 2021-10-13 23:40:50 +02:00
electric-tests.el Fix intermittent electric test failures 2021-11-07 21:20:15 +01:00
elide-head-tests.el
epg-config-tests.el
epg-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
faces-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
ffap-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
filenotify-tests.el Merge from origin/emacs-28 2021-10-16 09:18:37 -07:00
files-tests.el Fix problem with non-absolute names 2021-11-11 13:20:38 +01:00
files-x-tests.el
find-cmd-tests.el
font-lock-tests.el
format-spec-tests.el
help-fns-tests.el Fix failing help-fns tests after layout changes in `C-h b' 2021-11-01 03:29:07 +01:00
help-mode-tests.el
help-tests.el Make substitute-command-keys regexp tests more strict 2021-11-06 19:39:46 +01:00
hfy-cmap-tests.el
hi-lock-tests.el Fix hi-lock AOT test failures (bug#51308) 2021-10-21 06:24:35 +02:00
htmlfontify-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
ibuffer-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
ido-tests.el
image-dired-tests.el Check for image library in image-dired-tests.el 2021-10-23 17:47:27 +02:00
image-file-tests.el
image-tests.el Expand tests for image-type-from-file-header 2021-10-24 12:14:32 +02:00
imenu-tests.el
info-tests.el Add a command to go the gnu.org version of the info page 2021-11-11 13:20:38 +01:00
info-xref-tests.el Prefer ert-with-temp-(directory|file) in most remaining tests 2021-11-08 01:33:16 +01:00
isearch-tests.el
jit-lock-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
json-tests.el
jsonrpc-tests.el
kmacro-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
loadhist-tests.el
lpr-tests.el
ls-lisp-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
makesum-tests.el
man-tests.el
md4-tests.el
minibuffer-tests.el Add more completion tests 2021-05-16 15:50:41 +02:00
misc-tests.el
mouse-tests.el
mwheel-tests.el
newcomment-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
obarray-tests.el
paren-tests.el New option show-paren-context-when-offscreen 2021-10-18 09:26:44 +02:00
password-cache-tests.el
pcmpl-linux-tests.el
ps-print-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
register-tests.el
repeat-tests.el * test/lisp/repeat-tests.el: New file. 2021-10-24 22:22:16 +03:00
replace-tests.el Keep track of match extents in occur-mode (bug#39121) 2021-07-25 10:29:09 +02:00
rot13-tests.el
saveplace-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
scroll-lock-tests.el
ses-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
shadowfile-tests.el Improve robustness of shadowfile.el 2021-08-26 13:14:19 +02:00
shell-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
simple-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
sort-tests.el
soundex-tests.el
startup-tests.el
subr-tests.el Do kbd-valid-p prefix comparisons case-sensitively 2021-10-18 07:37:08 +02:00
tabify-tests.el
tar-mode-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
tempo-tests.el
term-tests.el In term-mode, handle ANSI codes, specifying italic and other modes 2021-10-05 08:54:25 +02:00
thingatpt-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
thread-tests.el
thumbs-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
time-stamp-tests.el time-stamp: %F is "file name" not "pathname" + other doc 2021-11-09 20:11:07 -08:00
time-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
timezone-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
version-tests.el
wdired-tests.el Prefer ert-with-temp-(directory|file) 2021-11-07 01:54:31 +01:00
whitespace-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
wid-edit-tests.el
xdg-tests.el
xml-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
xt-mouse-tests.el