Michael Albinus
ce0da8a427
Rework time-* functions in Tramp
* doc/misc/emacs-mime.texi (time-date): Add time-equal-p.
* lisp/net/tramp-compat.el (tramp-compat-time-equal-p): New defsubst.
* lisp/net/tramp.el (tramp-file-name-handler): Remove `debug'
error handler.
(tramp-half-a-year): Remove.
(tramp-time-dont-know, tramp-time-doesnt-exist): New defconst.
(tramp-time-diff): Remove compat code.
(tramp-handle-set-visited-file-modtime)
(tramp-handle-verify-visited-file-modtime):
* lisp/net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls)
(tramp-adb-handle-set-file-times):
* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-sh-handle-set-visited-file-modtime)
(tramp-sh-handle-verify-visited-file-modtime)
(tramp-sh-handle-set-file-times)
(tramp-sh-handle-file-newer-than-file-p):
Use `tramp-time-dont-know', `tramp-time-doesnt-exist' and
`tramp-compat-time-equal-p'.
(tramp-sh-handle-verify-visited-file-modtime): Simplify check.
* lisp/net/tramp-smb.el (tramp-smb-handle-file-attributes)
(tramp-smb-read-file-entry): Use `tramp-time-dont-know'.
(tramp-smb-handle-insert-directory): Adapt half-a-year check.
* src/editfns.c (Ftime_equal_p): Adapt docstring.
* test/lisp/net/tramp-tests.el
(tramp-test19-directory-files-and-attributes)
(tramp-test22-file-times): Use `tramp-compat-time-equal-p' and
`tramp-time-dont-know'.
(tramp-test23-visited-file-modtime): Extend test.
2018-09-29 15:33:48 +02:00
..
2018-08-29 22:47:00 -04:00
2018-09-24 19:15:23 -07:00
2018-09-28 10:37:53 -07:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-05-15 19:32:49 -04:00
2018-05-20 11:02:50 -07:00
2018-08-18 15:22:35 -07:00
2018-01-01 00:57:59 -08:00
2018-09-29 15:33:48 +02:00
2018-02-02 21:09:09 -05:00
2018-07-13 09:28:15 -07:00
2018-05-29 21:24:26 +02:00
2018-05-01 14:26:38 +02:00
2018-03-09 16:36:50 -05:00
2018-02-17 08:47:20 -05:00
2018-01-01 00:57:59 -08:00
2018-06-05 15:53:33 +02:00
2018-08-10 08:36:24 -04:00
2018-09-14 10:03:27 +02:00
2018-01-01 00:57:59 -08:00
2018-01-01 01:13:04 -08:00
2018-01-01 00:57:59 -08:00
2018-08-23 22:50:15 -04:00
2018-07-13 11:28:16 -04:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-04-05 12:15:54 +09:00
2018-08-04 11:37:39 -04:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-06-19 02:53:10 +01:00
2018-07-16 07:12:07 -04:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-08-03 15:33:33 -04:00
2018-06-05 09:43:34 +02:00
2018-07-09 16:03:49 +02:00
2018-01-01 01:13:04 -08:00
2018-03-09 15:04:59 -05:00
2018-01-01 01:13:04 -08:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-03-19 17:08:46 -04:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-06-14 11:01:49 +02:00
2018-07-03 08:21:56 +01:00
2018-01-01 00:57:59 -08:00
2018-03-09 15:04:59 -05:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-01-30 17:37:20 -05:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-06-03 23:28:30 +09:00
2018-01-01 00:57:59 -08:00
2018-03-15 12:32:50 -04:00
2018-08-12 18:15:24 +02:00
2018-01-01 00:57:59 -08:00
2018-06-17 10:22:28 -07:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00
2018-09-29 09:56:46 +03:00
2018-01-01 00:57:59 -08:00
2018-06-10 18:47:27 -04:00
2018-09-15 09:20:32 -07:00
2018-09-09 07:41:50 -07:00
2018-08-08 19:58:29 -04:00
2018-01-01 00:57:59 -08:00
2018-01-01 01:13:04 -08:00
2018-01-01 00:57:59 -08:00
2018-01-01 00:57:59 -08:00