emacs/lisp/net
Michael Albinus 21afc26d4d Reorganize Tramp
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region): Handle special
case that START is "".
(tramp-adb-handle-set-file-modes)
(tramp-adb-handle-set-file-times):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.
(tramp-adb-handle-make-process):
Use `with-tramp-saved-connection-properties'.

* lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
Use `tramp-archive-handle-file-exists-p'.
(tramp-archive-handle-file-exists-p): New defun.
(tramp-archive-file-name-handler): Add ;;;###tramp-autoload cookie.

* lisp/net/tramp-cache.el (tramp-compat, tramp-loaddefs)
(time-stamp): Require.
(tramp-get-file-property, tramp-set-file-property)
(tramp-flush-file-property, tramp-flush-file-upper-properties)
(tramp-flush-file-properties): Use `tramp-file-name-unify'.  Adapt
message.
(tramp-flush-directory-properties): Simplify.
(tramp-flush-file-function): Add ;;;###tramp-autoload cookie.
Don't use `with-parsed-tramp-file-name', it isn't exposed.
(with-tramp-file-property, with-tramp-connection-property)
(with-tramp-saved-connection-property): Macros moved from tramp.el.
(with-tramp-saved-file-property)
(with-tramp-saved-file-properties)
(with-tramp-saved-connection-properties): New defmacros.

* lisp/net/tramp-cmds.el (tramp-cleanup-connection): Flush "/".

* lisp/net/tramp-crypt.el (tramp-crypt-handle-set-file-modes)
(tramp-crypt-handle-set-file-times)
(tramp-crypt-handle-set-file-uid-gid):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.

* lisp/net/tramp-ftp.el (tramp-archive-file-name-handler):
Don't declare.

* lisp/net/tramp-gvfs.el (tramp-gvfs-info): New defun.
(tramp-gvfs-do-copy-or-rename-file)
(tramp-gvfs-handle-delete-directory)
(tramp-gvfs-handle-delete-file, tramp-gvfs-get-root-attributes)
(tramp-gvfs-handle-make-directory): Use it.
(tramp-gvfs-handle-set-file-modes)
(tramp-gvfs-handle-set-file-times)
(tramp-gvfs-handle-set-file-uid-gid):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.

* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link):
Expand TARGET when flushing file properties.
(tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
(tramp-sh-handle-set-file-uid-gid):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.
(tramp-sh-handle-file-name-all-completions): Protect, when
connection is not established yet.
(tramp-do-copy-or-rename-file-directly): Flush file properties of
NEWNAME when constructing a new remote file name.
(tramp-do-copy-or-rename-file-out-of-band, tramp-sh-handle-make-process):
Use `with-tramp-saved-connection-properties'.
(tramp-sh-handle-delete-file): Flush file properties only after
deleting, otherwise we get a false alarm.
(tramp-sh-handle-process-file): Flush "/".
(tramp-sh-handle-write-region): Handle special case that START is "".

* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
(tramp-smb-handle-set-file-acl)
(tramp-smb-handle-start-file-process):
Use `with-tramp-saved-connection-properties'.
(tramp-smb-remote-acl-p): New defun.
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl): Use it.
(tramp-smb-handle-set-file-modes):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.
(tramp-smb-handle-process-file, tramp-smb-maybe-open-connection):
Flush "/".

* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): Flush "/".
(tramp-sshfs-handle-set-file-modes)
(tramp-sshfs-handle-set-file-times):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.

* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-modes)
(tramp-sudoedit-handle-set-file-times)
(tramp-sudoedit-handle-set-file-uid-gid):
Use `tramp-skeleton-set-file-modes-times-uid-gid'.

* lisp/net/tramp.el (tramp-archive-file-name-handler): Don't declare.
(tramp-verbose, tramp-file-name-unify, tramp-tramp-file-p)
(tramp-file-local-name, tramp-dissect-file-name)
(tramp-make-tramp-file-name, tramp-get-connection-buffer)
(tramp-get-buffer-string, tramp-debug-message)
(tramp-inhibit-progress-reporter, tramp-message):
Add ;;;###tramp-autoload cookie.
(tramp-file-name): Expose defstruct to tramp-loaddefs.el
(tramp-file-name-unify): New optional arg FILE.
(tramp-get-default-directory, tramp-get-buffer-string)
(tramp-message, tramp-backtrace, tramp-error-with-buffer)
(tramp-with-demoted-errors, tramp-barf-if-file-missing)
(tramp-skeleton-copy-directory, tramp-skeleton-delete-directory)
(tramp-skeleton-directory-files)
(tramp-skeleton-directory-files-and-attributes)
(tramp-skeleton-file-local-copy, tramp-skeleton-write-region):
Remove `tramp-suppress-trace' property, it isn't needed for
defmacros and defsubsts.
(with-tramp-file-property, with-tramp-connection-property)
(with-tramp-saved-connection-property): Move macros to tramp-cache.el.
(tramp-skeleton-directory-files-and-attributes): Fix implementation.
(tramp-skeleton-file-local-copy): Fix docstring.
(tramp-skeleton-set-file-modes-times-uid-gid): New defmacro.
(tramp-skeleton-write-region): Set "file-exists-p" cache property.
(tramp-handle-file-exists-p): Use cached value.
(tramp-process-sentinel): Flush "/".
(tramp-make-tramp-temp-file): Suppress also `tramp-smb-remote-acl-p'.
(tramp-get-connection-buffer):

* test/lisp/net/tramp-tests.el (tramp-test10-write-region)
(tramp-test20-file-modes, tramp-test22-file-times): Extend tests.
2022-08-03 17:30:09 +02:00
..
ange-ftp.el ; Normalize some "Author" headers 2022-07-20 22:38:01 +02:00
browse-url.el Drop support for XEmacs package EFS 2022-07-28 00:11:12 +02:00
dbus.el Use take where clearly safe to do so (bug#56521) 2022-07-18 12:49:29 +02:00
dictionary-connection.el
dictionary.el Make dictionary-help obsolete in favor of describe-mode 2022-07-21 09:23:20 +02:00
dig.el * lisp/net/dig.el: Improve Commentary. 2022-08-01 13:32:34 +02:00
dns.el
eudc-bob.el Remove some XEmacs compat code from eudc-bob.el 2022-05-13 23:17:16 +02:00
eudc-capf.el ; Fix typos: prefer American spelling 2022-07-14 12:13:31 +02:00
eudc-export.el
eudc-hotlist.el Doc fix in eudc-hotlist.el 2022-08-01 13:32:34 +02:00
eudc-vars.el ; Fix punctuation in recently changed EUDC documentation 2022-07-19 16:42:43 +03:00
eudc.el ; Fix typos: prefer American spelling 2022-07-14 12:13:31 +02:00
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el ; Fix punctuation in recently changed EUDC documentation 2022-07-19 16:42:43 +03:00
eww.el * lisp/net/eww.el (eww): Improve docstring. 2022-07-09 17:46:59 +02:00
gnutls.el
goto-addr.el
hmac-def.el
hmac-md5.el
imap.el Drop obsolete rsh/rlogin from two user options 2022-07-12 16:56:36 +02:00
ldap.el Make some defcustom types more restrictive 2022-07-05 18:33:29 +02:00
mailcap.el Fix mailcap-user-mime-data doc string 2022-07-15 11:50:36 +02:00
mairix.el Prefer defvar-keymap in net/*.el 2022-07-09 15:34:04 +02:00
net-utils.el ; * lisp/net/net-utils.el: Delete code commented out since 2000. 2022-08-01 11:52:32 +02:00
netrc.el Prefer ‘time-equal-p’ to ‘equal’ on timestamps 2022-08-01 01:17:17 -07:00
network-stream.el
newst-backend.el Use string-trim in newsticker--remove-whitespace 2022-08-03 11:48:45 +02:00
newst-plainview.el Drop support for the dead third-party w3 package 2022-07-09 17:27:49 +02:00
newst-reader.el Drop support for the dead third-party w3 package 2022-07-09 17:27:49 +02:00
newst-ticker.el
newst-treeview.el Drop support for the dead third-party w3 package 2022-07-09 17:27:49 +02:00
newsticker.el
nsm.el
ntlm.el
pop3.el Make some defcustom types more restrictive 2022-07-05 18:33:29 +02:00
puny.el
rcirc.el Fix electric paring in rcirc buffers 2022-07-31 12:47:11 +02:00
rfc2104.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el
secrets.el Prefer defvar-keymap in net/*.el 2022-07-09 15:34:04 +02:00
shr-color.el
shr.el Don't bug out in src when there's no srcset 2022-07-23 07:46:52 +02:00
sieve-manage.el Make some defcustom types more restrictive 2022-07-05 18:33:29 +02:00
sieve-mode.el Prefer defvar-keymap in net/*.el 2022-07-09 15:34:04 +02:00
sieve.el Prefer defvar-keymap in net/*.el 2022-07-09 15:34:04 +02:00
snmp-mode.el Prefer defvar-keymap in net/*.el 2022-07-09 15:34:04 +02:00
soap-client.el
soap-inspect.el
socks.el Remove some useless eval-when-compile 2022-07-04 14:56:11 +02:00
telnet.el Make the rsh command obsolete 2022-07-13 12:48:20 +02:00
tramp-adb.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-archive.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-cache.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-cmds.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-compat.el Fix compilation warnings in tramp-loaddefs.el 2022-07-31 12:01:10 +02:00
tramp-crypt.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-ftp.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-fuse.el Refactor Tramp 2022-07-24 16:02:10 +02:00
tramp-gvfs.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-integration.el Tramp code cleanup 2022-07-03 18:23:55 +02:00
tramp-rclone.el Refactor Tramp 2022-07-24 16:02:10 +02:00
tramp-sh.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-smb.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-sshfs.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-sudoedit.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
tramp-uu.el
tramp.el Reorganize Tramp 2022-08-03 17:30:09 +02:00
trampver.el Adapt Tramp version integrated in Emacs 28.2 2022-07-13 13:38:11 +02:00
webjump.el New user option 'webjump-use-internal-browser' 2022-07-13 12:36:08 +08:00
zeroconf.el