tramp (2.3.3.26.1); tramp does not do a direct copy when it should

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tramp (2.3.3.26.1); tramp does not do a direct copy when it should

Nicholas Gianniotis
Steps to reproduce

1. visit a remote directory, (eg C-x C-f /scp:host:/some/folder)

2. You are now in `Dired by name' mode

3. Position the cursor on a test directory containing many subfiles (eg "test-A")

4. Type `R' (dired-do-rename)

5. Enter the new directory name (eg "test-B")

6. Tramp starts the rename, but does so by copying all files to local machine under new name, then copying back to remote host.

7. On a remote host over a slow connection the rename took 16 minutes.

Zip file containing all tramp buffers are attached.

Thank you.






Emacs  : GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511))
 of 2018-05-31
Package: tramp (2.3.3.26.1)

current state:
==============
(setq
 backup-by-copying t
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch t
 backup-by-copying-when-privileged-mismatch 200
 backup-directory-alist nil
 file-name-handler-alist '(("\\(?:\\.tzst\\|\\.zst\\|\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'" . jka-compr-handler)
                           ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler)
                           ("\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'" .
                            tramp-completion-file-name-handler)
                           ("^/\\(\\(?:\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?|\\)+\\)?\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?:\\(.*$\\)" . tramp-file-name-handler)
                           ("\\`/:" . file-name-non-special))
 password-cache t
 password-cache-expiry 16
 remote-file-name-inhibit-cache 10
 shell-prompt-pattern "^[^:#$%>\n]*[:#$%>] *"
 tramp-adb-connect-if-not-connected nil
 tramp-adb-file-name-handler-alist '((access-file . ignore)
                                     (add-name-to-file . tramp-handle-add-name-to-file)
                                     (copy-file . tramp-adb-handle-copy-file)
                                     (delete-directory . tramp-adb-handle-delete-directory)
                                     (delete-file . tramp-adb-handle-delete-file)
                                     (directory-file-name . tramp-handle-directory-file-name)
                                     (directory-files . tramp-handle-directory-files)
                                     (directory-files-and-attributes .
                                      tramp-adb-handle-directory-files-and-attributes)
                                     (dired-compress-file . ignore)
                                     (dired-uncache . tramp-handle-dired-uncache)
                                     (expand-file-name . tramp-adb-handle-expand-file-name)
                                     (file-accessible-directory-p .
                                      tramp-handle-file-accessible-directory-p)
                                     (file-acl . ignore)
                                     (file-attributes . tramp-adb-handle-file-attributes)
                                     (file-directory-p . tramp-adb-handle-file-directory-p)
                                     (file-equal-p . tramp-handle-file-equal-p)
                                     (file-executable-p . tramp-handle-file-exists-p)
                                     (file-exists-p . tramp-handle-file-exists-p)
                                     (file-in-directory-p . tramp-handle-file-in-directory-p)
                                     (file-local-copy . tramp-adb-handle-file-local-copy)
                                     (file-modes . tramp-handle-file-modes)
                                     (file-name-all-completions .
                                      tramp-adb-handle-file-name-all-completions)
                                     (file-name-as-directory . tramp-handle-file-name-as-directory)
                                     (file-name-case-insensitive-p .
                                      tramp-handle-file-name-case-insensitive-p)
                                     (file-name-completion . tramp-handle-file-name-completion)
                                     (file-name-directory . tramp-handle-file-name-directory)
                                     (file-name-nondirectory . tramp-handle-file-name-nondirectory)
                                     (file-newer-than-file-p . tramp-handle-file-newer-than-file-p)
                                     (file-notify-add-watch . tramp-handle-file-notify-add-watch)
                                     (file-notify-rm-watch . tramp-handle-file-notify-rm-watch)
                                     (file-notify-valid-p . tramp-handle-file-notify-valid-p)
                                     (file-ownership-preserved-p . ignore)
                                     (file-readable-p . tramp-handle-file-exists-p)
                                     (file-regular-p . tramp-handle-file-regular-p)
                                     (file-remote-p . tramp-handle-file-remote-p)
                                     (file-selinux-context . tramp-handle-file-selinux-context)
                                     (file-symlink-p . tramp-handle-file-symlink-p)
                                     (file-system-info . tramp-adb-handle-file-system-info)
                                     (file-truename . tramp-adb-handle-file-truename)
                                     (file-writable-p . tramp-adb-handle-file-writable-p)
                                     (find-backup-file-name . tramp-handle-find-backup-file-name)
                                     (insert-directory . tramp-handle-insert-directory)
                                     (insert-file-contents . tramp-handle-insert-file-contents)
                                     (load . tramp-handle-load)
                                     (make-auto-save-file-name .
                                      tramp-handle-make-auto-save-file-name)
                                     (make-directory . tramp-adb-handle-make-directory)
                                     (make-directory-internal . ignore)
                                     (make-nearby-temp-file . tramp-handle-make-nearby-temp-file)
                                     (make-symbolic-link . tramp-handle-make-symbolic-link)
                                     (process-file . tramp-adb-handle-process-file)
                                     (rename-file . tramp-adb-handle-rename-file)
                                     (set-file-acl . ignore)
                                     (set-file-modes . tramp-adb-handle-set-file-modes)
                                     (set-file-selinux-context . ignore)
                                     (set-file-times . tramp-adb-handle-set-file-times)
                                     (set-visited-file-modtime .
                                      tramp-handle-set-visited-file-modtime)
                                     (shell-command . tramp-adb-handle-shell-command)
                                     (start-file-process . tramp-adb-handle-start-file-process)
                                     (substitute-in-file-name .
                                      tramp-handle-substitute-in-file-name)
                                     (temporary-file-directory .
                                      tramp-handle-temporary-file-directory)
                                     (unhandled-file-name-directory . ignore)
                                     (vc-registered . ignore)
                                     (verify-visited-file-modtime .
                                      tramp-handle-verify-visited-file-modtime)
                                     (write-region . tramp-adb-handle-write-region))
 tramp-adb-method "adb"
 tramp-adb-program "adb"
 tramp-adb-prompt "(decode-coding-string (base64-decode-string \"XlwoPzpbWzpkaWdpdDpdXSp8P1wpP1woPzpbWzphbG51bTpdGztbXSpAP1tbOmFsbnVtOl1dKlte\nI1wkXSpcKT9bI1wkXVtbOnNwYWNlOl1d\") 'raw-text)"
 tramp-auto-save-directory nil
 tramp-autoload-file-name-regexp "\\`/[^/|:]+:"
 tramp-backup-directory-alist nil
 tramp-bluez-discover-devices-timeout 60
 tramp-bug-report-address "[hidden email]"
 tramp-cache-data '(((tramp-file-name "ssh" "magento" nil "jlp_stg" nil nil nil)
                     ("locale" "LC_ALL=C") ("uname" "Linux 4.4.0-116-generic") ("test" "test")
                     ("remote-path"
                      ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin"))
                     ("remote-shell" "/bin/sh") ("env-u-option" t) ("file-exists" "test -e")
                     ("case-insensitive" nil) ("stat" nil) ("perl-file-spec" t)
                     ("perl-cwd-realpath" t) ("perl" "\\perl") ("id" "/usr/bin/id")
                     ("gid-integer" 33) ("readlink" "\\readlink") ("gid-string" "www-data")
                     ("~" "/home/magento") ("ls" "/bin/ls --color=never") ("ls-quoting-style" t)
                     ("ls-dired" t) ("bzr" nil) ("git" "\\git"))
                    ((tramp-file-name "ssh" "magento" nil "jlp_prod" nil nil nil)
                     ("locale" "LC_ALL=C") ("uname" "Linux 4.4.0-116-generic") ("test" "test")
                     ("remote-path"
                      ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin"))
                     ("remote-shell" "/bin/sh") ("file-exists" "test -e") ("stat" nil)
                     ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl")
                     ("id" "/usr/bin/id") ("gid-integer" 33) ("uid-integer" 1001)
                     ("readlink" "\\readlink") ("gid-string" "www-data")
                     ("tmpdir" "/ssh:magento@jlp_prod:/tmp") ("touch-t" t) ("touch" "\\touch")
                     ("case-insensitive" nil) ("ls" "/bin/ls --color=never")
                     ("ls-quoting-style" t) ("ls-dired" t) ("~" "/home/magento") ("bzr" nil)
                     ("git" "\\git") ("env-u-option" t))
                    ((tramp-file-name "ssh" "magento" nil "jlp_pro" nil nil nil)
                     ("locale" "LC_ALL=C"))
                    ((tramp-file-name "ssh" "magento" nil "jlp_pr" nil nil nil)
                     ("locale" "LC_ALL=C"))
                    ((tramp-file-name "ssh" "magento" nil "jlp_p" nil nil nil)
                     ("locale" "LC_ALL=C"))
                    ((tramp-file-name "ssh" "magento" nil "jlp_" nil nil nil)
                     ("locale" "LC_ALL=C"))
                    ((tramp-file-name "ssh" "magento" nil "jlp_dev" nil nil nil)
                     ("locale" "LC_ALL=C"))
                    )
 tramp-cache-read-persistent-data ""
 tramp-chunksize nil
 tramp-completion-file-name-handler-alist '((file-name-all-completions .
                                             tramp-completion-handle-file-name-all-completions)
                                            (file-name-completion .
                                             tramp-completion-handle-file-name-completion)
                                            )
 tramp-completion-file-name-regexp "\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'"
 tramp-completion-file-name-regexp-alist '((default .
                                            "\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'")
                                           (simplified . "\\`/\\(\\([^/|:]*|\\)*[^/|:]+\\)?\\'")
                                           (separate . "\\`/\\(\\[[^]]*\\)?\\'"))
 tramp-completion-file-name-regexp-default "\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'"
 tramp-completion-file-name-regexp-separate "\\`/\\(\\[[^]]*\\)?\\'"
 tramp-completion-file-name-regexp-simplified "\\`/\\(\\([^/|:]*|\\)*[^/|:]+\\)?\\'"
 tramp-completion-function-alist '(("fcp" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("psftp" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("pscp" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("plink" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("krlogin" (tramp-parse-rhosts "/etc/hosts.equiv"))
                                   ("sg" (tramp-parse-etc-group "/etc/group"))
                                   ("ksu" (tramp-parse-passwd "/etc/passwd"))
                                   ("doas" (tramp-parse-passwd "/etc/passwd"))
                                   ("sudo" (tramp-parse-passwd "/etc/passwd"))
                                   ("su" (tramp-parse-passwd "/etc/passwd"))
                                   ("nc" (tramp-parse-hosts "/etc/hosts"))
                                   ("telnet" (tramp-parse-hosts "/etc/hosts"))
                                   ("sshx" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("ssh" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("remsh" (tramp-parse-rhosts "/etc/hosts.equiv"))
                                   ("rsh" (tramp-parse-rhosts "/etc/hosts.equiv"))
                                   ("rsync" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("scpx" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("scp" (tramp-parse-rhosts "/etc/hosts.equiv")
                                    (tramp-parse-shosts "~/.ssh/known_hosts")
                                    (tramp-parse-sconfig "~/.ssh/config"))
                                   ("remcp" (tramp-parse-rhosts "/etc/hosts.equiv"))
                                   ("rcp" (tramp-parse-rhosts "/etc/hosts.equiv"))
                                   ("adb" (tramp-adb-parse-device-names "")))
 tramp-completion-function-alist-putty '((tramp-parse-putty "~/.putty/sessions"))
 tramp-completion-function-alist-rsh '((tramp-parse-rhosts "/etc/hosts.equiv"))
 tramp-completion-function-alist-sg '((tramp-parse-etc-group "/etc/group"))
 tramp-completion-function-alist-ssh '((tramp-parse-rhosts "/etc/hosts.equiv")
                                       (tramp-parse-shosts "~/.ssh/known_hosts")
                                       (tramp-parse-sconfig "~/.ssh/config"))
 tramp-completion-function-alist-su '((tramp-parse-passwd "/etc/passwd"))
 tramp-completion-function-alist-telnet '((tramp-parse-hosts "/etc/hosts"))
 tramp-completion-mode nil
 tramp-completion-reread-directory-timeout 10
 tramp-connection-min-time-diff 5
 tramp-connection-properties '(("/.*:.*hyper-m.wan:" "remote-shell" "/usr/bin/bash")
                               ("/.*:.*hyper-m:" "remote-shell" "/usr/bin/bash")
                               (nil "locale" "LC_ALL=C"))
 tramp-connection-timeout 60
 tramp-copy-failed-regexp "\\(.+: \\(No such file or directory\\|Permission denied\\|is a directory\\|not a regular file\\)\\)\\s-*"
 tramp-copy-size-limit 102400
 tramp-current-connection nil
 tramp-current-domain nil
 tramp-current-host nil
 tramp-current-method nil
 tramp-current-port nil
 tramp-current-user nil
 tramp-debug-buffer t
 tramp-debug-on-error nil
 tramp-debug-outline-regexp "[0-9]+:[0-9]+:[0-9]+\\.[0-9]+ [a-z0-9-]+ (\\([0-9]+\\)) #"
 tramp-default-host "rmbp"
 tramp-default-host-alist '(("adb" nil ""))
 tramp-default-method "scp"
 tramp-default-method-alist '(("\\`\\(127\\.0\\.0\\.1\\|::1\\|localhost6?\\|rmbp\\)\\'"
                               "\\`root\\'" "su")
                              (nil "\\`\\(anonymous\\|ftp\\)\\'" "ftp") ("\\`ftp\\." nil "ftp"))
 tramp-default-method-marker "-"
 tramp-default-proxies-alist nil
 tramp-default-user nil
 tramp-default-user-alist '(("\\`smb\\'" nil nil)
                            ("\\`\\(?:fcp\\|krlogin\\|nc\\|r\\(?:cp\\|emcp\\|sh\\)\\|telnet\\)\\'"
                             nil "Nico")
                            ("\\`\\(?:doas\\|ksu\\|su\\(?:do\\)?\\)\\'" nil "root")
                            ("\\`synce\\'" nil nil))
 tramp-device-escape-sequence-regexp "(decode-coding-string (base64-decode-string \"G1tbMC05XStu\") 'raw-text)"
 tramp-devices 0
 tramp-display-escape-sequence-regexp "(decode-coding-string (base64-decode-string \"G1tbOzAtOV0rbQ==\") 'raw-text)"
 tramp-domain-regexp "[a-zA-Z0-9_.-]+"
 tramp-echo-mark "_echo"
 tramp-echo-mark-marker "_echo"
 tramp-echo-mark-marker-length 5
 tramp-echoed-echo-mark-regexp "_echo\\(\\( \\)?\\)\\{5\\}"
 tramp-encoding-command-interactive "-i"
 tramp-encoding-command-switch "-c"
 tramp-encoding-shell "/bin/sh"
 tramp-file-missing 'file-missing
 tramp-file-mode-type-map '((0 . "-") (1 . "p") (2 . "c") (3 . "m") (4 . "d") (5 . "?") (6 . "b")
                            (7 . "?") (8 . "-") (9 . "n") (10 . "l") (11 . "?") (12 . "s")
                            (13 . "D") (14 . "w"))
 tramp-file-name-regexp "^/\\(\\(?:\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?|\\)+\\)?\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?:\\(.*$\\)"
 tramp-file-name-structure '("^/\\(\\(?:\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?|\\)+\\)?\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?:\\(.*$\\)" 5 6 7 8 1)
 tramp-foreign-file-name-handler-alist '((tramp-smb-file-name-p . tramp-smb-file-name-handler)
                                         (tramp-ftp-file-name-p . tramp-ftp-file-name-handler)
                                         (tramp-adb-file-name-p . tramp-adb-file-name-handler)
                                         (identity . tramp-sh-file-name-handler))
 tramp-ftp-method "ftp"
 tramp-gvfs-file-name-handler-alist '((access-file . ignore)
                                      (add-name-to-file . tramp-handle-add-name-to-file)
                                      (copy-file . tramp-gvfs-handle-copy-file)
                                      (delete-directory . tramp-gvfs-handle-delete-directory)
                                      (delete-file . tramp-gvfs-handle-delete-file)
                                      (directory-file-name . tramp-handle-directory-file-name)
                                      (directory-files . tramp-handle-directory-files)
                                      (directory-files-and-attributes .
                                       tramp-handle-directory-files-and-attributes)
                                      (dired-compress-file . ignore)
                                      (dired-uncache . tramp-handle-dired-uncache)
                                      (expand-file-name . tramp-gvfs-handle-expand-file-name)
                                      (file-accessible-directory-p .
                                       tramp-handle-file-accessible-directory-p)
                                      (file-acl . ignore)
                                      (file-attributes . tramp-gvfs-handle-file-attributes)
                                      (file-directory-p . tramp-gvfs-handle-file-directory-p)
                                      (file-equal-p . tramp-handle-file-equal-p)
                                      (file-executable-p . tramp-gvfs-handle-file-executable-p)
                                      (file-exists-p . tramp-handle-file-exists-p)
                                      (file-in-directory-p . tramp-handle-file-in-directory-p)
                                      (file-local-copy . tramp-gvfs-handle-file-local-copy)
                                      (file-modes . tramp-handle-file-modes)
                                      (file-name-all-completions .
                                       tramp-gvfs-handle-file-name-all-completions)
                                      (file-name-as-directory .
                                       tramp-handle-file-name-as-directory)
                                      (file-name-case-insensitive-p .
                                       tramp-handle-file-name-case-insensitive-p)
                                      (file-name-completion . tramp-handle-file-name-completion)
                                      (file-name-directory . tramp-handle-file-name-directory)
                                      (file-name-nondirectory .
                                       tramp-handle-file-name-nondirectory)
                                      (file-newer-than-file-p .
                                       tramp-handle-file-newer-than-file-p)
                                      (file-notify-add-watch .
                                       tramp-gvfs-handle-file-notify-add-watch)
                                      (file-notify-rm-watch . tramp-handle-file-notify-rm-watch)
                                      (file-notify-valid-p . tramp-handle-file-notify-valid-p)
                                      (file-ownership-preserved-p . ignore)
                                      (file-readable-p . tramp-gvfs-handle-file-readable-p)
                                      (file-regular-p . tramp-handle-file-regular-p)
                                      (file-remote-p . tramp-handle-file-remote-p)
                                      (file-selinux-context . tramp-handle-file-selinux-context)
                                      (file-symlink-p . tramp-handle-file-symlink-p)
                                      (file-system-info . tramp-gvfs-handle-file-system-info)
                                      (file-truename . tramp-handle-file-truename)
                                      (file-writable-p . tramp-gvfs-handle-file-writable-p)
                                      (find-backup-file-name . tramp-handle-find-backup-file-name)
                                      (insert-directory . tramp-handle-insert-directory)
                                      (insert-file-contents . tramp-handle-insert-file-contents)
                                      (load . tramp-handle-load)
                                      (make-auto-save-file-name .
                                       tramp-handle-make-auto-save-file-name)
                                      (make-directory . tramp-gvfs-handle-make-directory)
                                      (make-directory-internal . ignore)
                                      (make-nearby-temp-file . tramp-handle-make-nearby-temp-file)
                                      (make-symbolic-link . tramp-handle-make-symbolic-link)
                                      (process-file . ignore)
                                      (rename-file . tramp-gvfs-handle-rename-file)
                                      (set-file-acl . ignore) (set-file-modes . ignore)
                                      (set-file-selinux-context . ignore)
                                      (set-file-times . ignore)
                                      (set-visited-file-modtime .
                                       tramp-handle-set-visited-file-modtime)
                                      (shell-command . ignore) (start-file-process . ignore)
                                      (substitute-in-file-name .
                                       tramp-handle-substitute-in-file-name)
                                      (temporary-file-directory .
                                       tramp-handle-temporary-file-directory)
                                      (unhandled-file-name-directory . ignore)
                                      (vc-registered . ignore)
                                      (verify-visited-file-modtime .
                                       tramp-handle-verify-visited-file-modtime)
                                      (write-region . tramp-gvfs-handle-write-region))
 tramp-gvfs-methods '("afp" "dav" "davs" "gdrive" "obex" "sftp" "synce")
 tramp-gvfs-zeroconf-domain "local"
 tramp-half-a-year '(241 17024)
 tramp-handle-file-local-copy-hook nil
 tramp-handle-write-region-hook nil
 tramp-histfile-override "/dev/null"
 tramp-host-regexp "[a-zA-Z0-9_.%-]+"
 tramp-host-with-port-regexp "\\([a-zA-Z0-9_.%-]+\\)#\\([0-9]+\\)"
 tramp-initial-end-of-output "#$ "
 tramp-initial-file-name-regexp "\\`/.+:.*:"
 tramp-inline-compress-start-size 4096
 tramp-inodes 0
 tramp-ipv6-regexp "\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+"
 tramp-local-end-of-line "\n"
 tramp-local-host-regexp "\\`\\(127\\.0\\.0\\.1\\|::1\\|localhost6?\\|rmbp\\)\\'"
 tramp-localname-regexp ".*$"
 tramp-locked nil
 tramp-locker nil
 tramp-login-prompt-regexp ".*\\(user\\|login\\)\\( .*\\)?: *"
 tramp-message-show-message t
 tramp-method-regexp "[a-zA-Z0-9-]+"
 tramp-method-regexp-alist '((default . "[a-zA-Z0-9-]+") (simplified . "")
                             (separate . "[a-zA-Z0-9-]*"))
 tramp-methods '(("smb" (tramp-remote-shell "") (tramp-tmpdir "/C$/Temp")
                  (tramp-case-insensitive t))
                 ("fcp" (tramp-login-program "fsh")
                  (tramp-login-args (("%h") ("-l" "%u") ("sh" "-i")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-i") ("-c")) (tramp-copy-program "fcp")
                  (tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t))
                 ("psftp" (tramp-login-program "plink")
                  (tramp-login-args
                   (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
                    ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
                   )
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-copy-program "pscp")
                  (tramp-copy-args (("-l" "%u") ("-P" "%p") ("-sftp") ("-p" "%k") ("-q")))
                  (tramp-copy-keep-date t))
                 ("pscp" (tramp-login-program "plink")
                  (tramp-login-args
                   (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
                    ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
                   )
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-copy-program "pscp")
                  (tramp-copy-args (("-l" "%u") ("-P" "%p") ("-scp") ("-p" "%k") ("-q") ("-r")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t))
                 ("plinkx" (tramp-login-program "plink")
                  (tramp-login-args
                   (("-load") ("%h") ("-t") ("\"") ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '")
                    ("/bin/sh") ("\""))
                   )
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")))
                 ("plink" (tramp-login-program "plink")
                  (tramp-login-args
                   (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
                    ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '") ("/bin/sh") ("\""))
                   )
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")))
                 ("krlogin" (tramp-login-program "krlogin")
                  (tramp-login-args (("%h") ("-l" "%u") ("-x"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))
                 ("ksu" (tramp-login-program "ksu") (tramp-login-args (("%u") ("-q")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-connection-timeout 10))
                 ("doas" (tramp-login-program "doas") (tramp-login-args (("-u" "%u") ("-s")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))
                  (tramp-connection-timeout 10))
                 ("sudo" (tramp-login-program "sudo")
                  (tramp-login-args
                   (("-u" "%u") ("-s") ("-H") ("-p" "P\"\"a\"\"s\"\"s\"\"w\"\"o\"\"r\"\"d\"\":")))
                  (tramp-login-env (("SHELL") ("/bin/sh"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
                  (tramp-connection-timeout 10))
                 ("sg" (tramp-login-program "sg") (tramp-login-args (("-") ("%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-args ("-c"))
                  (tramp-connection-timeout 10))
                 ("su" (tramp-login-program "su") (tramp-login-args (("-") ("%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-connection-timeout 10))
                 ("nc" (tramp-login-program "telnet")
                  (tramp-login-args (("%h") ("%p") ("2>/dev/null")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-copy-program "nc")
                  (tramp-copy-args (("-w" "1") ("-v") ("%h") ("%r")))
                  (tramp-remote-copy-program "nc")
                  (tramp-remote-copy-args (("-l") ("-p" "%r") ("2>/dev/null"))))
                 ("telnet" (tramp-login-program "telnet")
                  (tramp-login-args (("%h") ("%p") ("2>/dev/null")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")))
                 ("sshx" (tramp-login-program "ssh")
                  (tramp-login-args
                   (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h") ("/bin/sh")))
                  (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))
                 ("ssh" (tramp-login-program "ssh")
                  (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("%h")))
                  (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))
                 ("remsh" (tramp-login-program "remsh") (tramp-login-args (("%h") ("-l" "%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")))
                 ("rsh" (tramp-login-program "rsh") (tramp-login-args (("%h") ("-l" "%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")))
                 ("rsync" (tramp-login-program "ssh")
                  (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("%h")))
                  (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
                  (tramp-copy-program "rsync")
                  (tramp-copy-args (("-t" "%k") ("-p") ("-r") ("-s") ("-c")))
                  (tramp-copy-env (("RSYNC_RSH") ("ssh" "%c"))) (tramp-copy-keep-date t)
                  (tramp-copy-keep-tmpfile t) (tramp-copy-recursive t))
                 ("scpx" (tramp-login-program "ssh")
                  (tramp-login-args
                   (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h") ("/bin/sh")))
                  (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
                  (tramp-copy-program "scp")
                  (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t))
                 ("scp" (tramp-login-program "ssh")
                  (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("%h")))
                  (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh")
                  (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c"))
                  (tramp-copy-program "scp")
                  (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t))
                 ("remcp" (tramp-login-program "remsh") (tramp-login-args (("%h") ("-l" "%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-copy-program "rcp")
                  (tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t))
                 ("rcp" (tramp-login-program "rsh") (tramp-login-args (("%h") ("-l" "%u")))
                  (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l"))
                  (tramp-remote-shell-args ("-c")) (tramp-copy-program "rcp")
                  (tramp-copy-args (("-p" "%k") ("-r"))) (tramp-copy-keep-date t)
                  (tramp-copy-recursive t))
                 ("ftp") ("adb" (tramp-tmpdir "/data/local/tmp") (tramp-default-port 5555)))
 tramp-mode t
 tramp-operation-not-permitted-regexp "\\(preserving times.*\\|set mode\\):\\s-*\\(Operation not permitted\\)"
 tramp-password-prompt-regexp "(decode-coding-string (base64-decode-string \"Xi4qXChcKD86YWRnYW5nc2tvZGVcfGNvbnRyYXNlXCg/OlwoPzpueVx8w7FcKWFcKVx8Z2VzbG9c\nfGhcKD86XCg/OmFzxYJcfGVzbFwpb1wpXHxpcGhhc2l3ZWRpXHxqZWxzesOzXHxsXCg/Om96aW5r\nYVx8w7ZzZW5vcmRcKVx8bVwoPzpvdCBkZSBwYXNzZVx84bqtdCBraOG6qXVcKVx8cGFcKD86cm9s\nYVx8c1woPzphaGl0emFcfHNcKD86IHBocmFzZVx8Y29kZVx8b3JkXHxwaHJhc2VcfHdvcltkdF1c\nKVx8dm9ydG9cKVwpXHxzXCg/OmFsYXNhbmFcfGVuaGFcfGxhcHRhxb5vZGlzXClcfHdhY2h0d29v\ncmRcfNC70L7Qt9C40L3QutCwXHzQv9Cw0YDQvtC70YxcfNeh16HXnteUXHzZg9mE2YXYqSDYp9mE\n2LPYsVx84KSX4KWB4KSq4KWN4KSk4KS24KSs4KWN4KSmXHzgpLbgpKzgpY3gpKbgpJXgpYLgpJ9c\nfOCml+CngeCmquCnjeCmpOCmtuCmrOCnjeCmplx84Kaq4Ka+4Ka44KaT4Kef4Ka+4Kaw4KeN4Kah\nXHzgqKrgqL7gqLjgqLXgqLDgqKFcfOCqquCqvuCquOCqteCqsOCrjeCqoVx84Kyq4K2N4Kyw4Kys\n4K2H4Ky2IOCsuOCsmeCtjeCsleCth+CspFx84K6V4K6f4K614K+B4K6a4K+N4K6a4K+K4K6y4K+N\nXHzgsLjgsILgsJXgsYfgsKTgsKrgsKbgsK7gsYFcfOCyl+CzgeCyquCzjeCypOCyquCyplx84LSF\n4LSf4LSv4LS+4LSz4LS14LS+4LSV4LWN4LSV4LWNXHzgtrvgt4Tgt4Pgt4rgtrTgtq/gtrpcfOGe\nluGetuGegOGfkuGemeGen+GemOGfkuGehOGetuGej+Gfi1x844OR44K544Ov44O844OJXHzlr4Zb\n56CB56K8XVx87JWU7Zi4XClcKS4qOgA/ICo=\") 'raw-text)"
 tramp-persistency-file-name "/Users/Nico/.emacs.d/tramp"
 tramp-port-regexp "[0-9]+"
 tramp-postfix-hop-format "|"
 tramp-postfix-hop-regexp "|"
 tramp-postfix-host-format ":"
 tramp-postfix-host-format-alist '((default . ":") (simplified . ":") (separate . "]"))
 tramp-postfix-host-regexp ":"
 tramp-postfix-ipv6-format "]"
 tramp-postfix-ipv6-format-alist '((default . "]") (simplified . "]") (separate . ""))
 tramp-postfix-ipv6-regexp "]"
 tramp-postfix-method-format ":"
 tramp-postfix-method-format-alist '((default . ":") (simplified . "") (separate . "/"))
 tramp-postfix-method-regexp ":"
 tramp-postfix-user-format "@"
 tramp-postfix-user-regexp "@"
 tramp-prefix-domain-format "%"
 tramp-prefix-domain-regexp "%"
 tramp-prefix-format "/"
 tramp-prefix-format-alist '((default . "/") (simplified . "/") (separate . "/["))
 tramp-prefix-ipv6-format "["
 tramp-prefix-ipv6-format-alist '((default . "[") (simplified . "[") (separate . ""))
 tramp-prefix-ipv6-regexp "\\["
 tramp-prefix-port-format "#"
 tramp-prefix-port-regexp "#"
 tramp-prefix-regexp "^/"
 tramp-process-alive-regexp ""
 tramp-process-connection-type t
 tramp-remote-file-name-spec-regexp "\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|: ]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?"
 tramp-remote-path '(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin"
                     "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin"
                     "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin"
                     "/opt/bin" "/opt/sbin" "/opt/local/bin")
 tramp-remote-process-environment '("ENV=''" "TMOUT=0" "LC_CTYPE=''" "CDPATH=" "HISTORY=" "MAIL="
                                    "MAILCHECK=" "MAILPATH=" "PAGER=cat" "autocorrect=" "correct=")
 tramp-restricted-shell-hosts-alist nil
 tramp-rfn-eshadow-overlay nil
 tramp-rsh-end-of-line "\n"
 tramp-save-ad-hoc-proxies nil
 tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile"))
 tramp-sh-file-name-handler-alist '((add-name-to-file . tramp-sh-handle-add-name-to-file)
                                    (copy-directory . tramp-sh-handle-copy-directory)
                                    (copy-file . tramp-sh-handle-copy-file)
                                    (delete-directory . tramp-sh-handle-delete-directory)
                                    (delete-file . tramp-sh-handle-delete-file)
                                    (directory-file-name . tramp-handle-directory-file-name)
                                    (directory-files . tramp-handle-directory-files)
                                    (directory-files-and-attributes .
                                     tramp-sh-handle-directory-files-and-attributes)
                                    (dired-compress-file . tramp-sh-handle-dired-compress-file)
                                    (dired-uncache . tramp-handle-dired-uncache)
                                    (expand-file-name . tramp-sh-handle-expand-file-name)
                                    (file-accessible-directory-p .
                                     tramp-handle-file-accessible-directory-p)
                                    (file-acl . tramp-sh-handle-file-acl)
                                    (file-attributes . tramp-sh-handle-file-attributes)
                                    (file-directory-p . tramp-sh-handle-file-directory-p)
                                    (file-equal-p . tramp-handle-file-equal-p)
                                    (file-executable-p . tramp-sh-handle-file-executable-p)
                                    (file-exists-p . tramp-sh-handle-file-exists-p)
                                    (file-in-directory-p . tramp-handle-file-in-directory-p)
                                    (file-local-copy . tramp-sh-handle-file-local-copy)
                                    (file-modes . tramp-handle-file-modes)
                                    (file-name-all-completions .
                                     tramp-sh-handle-file-name-all-completions)
                                    (file-name-as-directory . tramp-handle-file-name-as-directory)
                                    (file-name-case-insensitive-p .
                                     tramp-handle-file-name-case-insensitive-p)
                                    (file-name-completion . tramp-handle-file-name-completion)
                                    (file-name-directory . tramp-handle-file-name-directory)
                                    (file-name-nondirectory . tramp-handle-file-name-nondirectory)
                                    (file-newer-than-file-p .
                                     tramp-sh-handle-file-newer-than-file-p)
                                    (file-notify-add-watch . tramp-sh-handle-file-notify-add-watch)
                                    (file-notify-rm-watch . tramp-handle-file-notify-rm-watch)
                                    (file-notify-valid-p . tramp-handle-file-notify-valid-p)
                                    (file-ownership-preserved-p .
                                     tramp-sh-handle-file-ownership-preserved-p)
                                    (file-readable-p . tramp-sh-handle-file-readable-p)
                                    (file-regular-p . tramp-handle-file-regular-p)
                                    (file-remote-p . tramp-handle-file-remote-p)
                                    (file-selinux-context . tramp-sh-handle-file-selinux-context)
                                    (file-symlink-p . tramp-handle-file-symlink-p)
                                    (file-system-info . tramp-sh-handle-file-system-info)
                                    (file-truename . tramp-sh-handle-file-truename)
                                    (file-writable-p . tramp-sh-handle-file-writable-p)
                                    (find-backup-file-name . tramp-handle-find-backup-file-name)
                                    (insert-directory . tramp-sh-handle-insert-directory)
                                    (insert-file-contents . tramp-handle-insert-file-contents)
                                    (load . tramp-handle-load)
                                    (make-auto-save-file-name .
                                     tramp-handle-make-auto-save-file-name)
                                    (make-directory . tramp-sh-handle-make-directory)
                                    (make-nearby-temp-file . tramp-handle-make-nearby-temp-file)
                                    (make-symbolic-link . tramp-sh-handle-make-symbolic-link)
                                    (process-file . tramp-sh-handle-process-file)
                                    (rename-file . tramp-sh-handle-rename-file)
                                    (set-file-acl . tramp-sh-handle-set-file-acl)
                                    (set-file-modes . tramp-sh-handle-set-file-modes)
                                    (set-file-selinux-context .
                                     tramp-sh-handle-set-file-selinux-context)
                                    (set-file-times . tramp-sh-handle-set-file-times)
                                    (set-visited-file-modtime .
                                     tramp-sh-handle-set-visited-file-modtime)
                                    (shell-command . tramp-handle-shell-command)
                                    (start-file-process . tramp-sh-handle-start-file-process)
                                    (substitute-in-file-name .
                                     tramp-handle-substitute-in-file-name)
                                    (temporary-file-directory .
                                     tramp-handle-temporary-file-directory)
                                    (unhandled-file-name-directory . ignore)
                                    (vc-registered . tramp-sh-handle-vc-registered)
                                    (verify-visited-file-modtime .
                                     tramp-sh-handle-verify-visited-file-modtime)
                                    (write-region . tramp-sh-handle-write-region))
 tramp-shell-prompt-pattern "(decode-coding-string (base64-decode-string \"XCg/Ol5cfA1cKVteXSMkJT4KXSojP1tdIyQlPl0gKlwoG1xbWzAtOTtdKlthLXpBLVpdICpcKSo=\") 'raw-text)"
 tramp-smb-acl-program "smbcacls"
 tramp-smb-conf "/dev/null"
 tramp-smb-file-name-handler-alist '((add-name-to-file . tramp-smb-handle-add-name-to-file)
                                     (copy-directory . tramp-smb-handle-copy-directory)
                                     (copy-file . tramp-smb-handle-copy-file)
                                     (delete-directory . tramp-smb-handle-delete-directory)
                                     (delete-file . tramp-smb-handle-delete-file)
                                     (directory-file-name . tramp-handle-directory-file-name)
                                     (directory-files . tramp-smb-handle-directory-files)
                                     (directory-files-and-attributes .
                                      tramp-handle-directory-files-and-attributes)
                                     (dired-compress-file . ignore)
                                     (dired-uncache . tramp-handle-dired-uncache)
                                     (expand-file-name . tramp-smb-handle-expand-file-name)
                                     (file-accessible-directory-p .
                                      tramp-smb-handle-file-directory-p)
                                     (file-acl . tramp-smb-handle-file-acl)
                                     (file-attributes . tramp-smb-handle-file-attributes)
                                     (file-directory-p . tramp-smb-handle-file-directory-p)
                                     (file-file-equal-p . tramp-handle-file-equal-p)
                                     (file-executable-p . tramp-handle-file-exists-p)
                                     (file-exists-p . tramp-handle-file-exists-p)
                                     (file-in-directory-p . tramp-handle-file-in-directory-p)
                                     (file-local-copy . tramp-smb-handle-file-local-copy)
                                     (file-modes . tramp-handle-file-modes)
                                     (file-name-all-completions .
                                      tramp-smb-handle-file-name-all-completions)
                                     (file-name-as-directory . tramp-handle-file-name-as-directory)
                                     (file-name-case-insensitive-p .
                                      tramp-handle-file-name-case-insensitive-p)
                                     (file-name-completion . tramp-handle-file-name-completion)
                                     (file-name-directory . tramp-handle-file-name-directory)
                                     (file-name-nondirectory . tramp-handle-file-name-nondirectory)
                                     (file-newer-than-file-p . tramp-handle-file-newer-than-file-p)
                                     (file-notify-add-watch . tramp-handle-file-notify-add-watch)
                                     (file-notify-rm-watch . tramp-handle-file-notify-rm-watch)
                                     (file-notify-valid-p . tramp-handle-file-notify-valid-p)
                                     (file-ownership-preserved-p . ignore)
                                     (file-readable-p . tramp-handle-file-exists-p)
                                     (file-regular-p . tramp-handle-file-regular-p)
                                     (file-remote-p . tramp-handle-file-remote-p)
                                     (file-selinux-context . tramp-handle-file-selinux-context)
                                     (file-symlink-p . tramp-handle-file-symlink-p)
                                     (file-system-info . tramp-smb-handle-file-system-info)
                                     (file-truename . tramp-handle-file-truename)
                                     (file-writable-p . tramp-smb-handle-file-writable-p)
                                     (find-backup-file-name . tramp-handle-find-backup-file-name)
                                     (insert-directory . tramp-smb-handle-insert-directory)
                                     (insert-file-contents . tramp-handle-insert-file-contents)
                                     (load . tramp-handle-load)
                                     (make-auto-save-file-name .
                                      tramp-handle-make-auto-save-file-name)
                                     (make-directory . tramp-smb-handle-make-directory)
                                     (make-directory-internal .
                                      tramp-smb-handle-make-directory-internal)
                                     (make-nearby-temp-file . tramp-handle-make-nearby-temp-file)
                                     (make-symbolic-link . tramp-smb-handle-make-symbolic-link)
                                     (process-file . tramp-smb-handle-process-file)
                                     (rename-file . tramp-smb-handle-rename-file)
                                     (set-file-acl . tramp-smb-handle-set-file-acl)
                                     (set-file-modes . tramp-smb-handle-set-file-modes)
                                     (set-file-selinux-context . ignore) (set-file-times . ignore)
                                     (set-visited-file-modtime .
                                      tramp-handle-set-visited-file-modtime)
                                     (shell-command . tramp-handle-shell-command)
                                     (start-file-process . tramp-smb-handle-start-file-process)
                                     (substitute-in-file-name .
                                      tramp-smb-handle-substitute-in-file-name)
                                     (temporary-file-directory .
                                      tramp-handle-temporary-file-directory)
                                     (unhandled-file-name-directory . ignore)
                                     (vc-registered . ignore)
                                     (verify-visited-file-modtime .
                                      tramp-handle-verify-visited-file-modtime)
                                     (write-region . tramp-smb-handle-write-region))
 tramp-smb-method "smb"
 tramp-smb-program "smbclient"
 tramp-smb-winexe-program "winexe"
 tramp-smb-winexe-shell-command "powershell.exe"
 tramp-smb-winexe-shell-command-switch "-file -"
 tramp-syntax 'default
 tramp-temp-buffer-file-name nil
 tramp-temp-buffer-name " *tramp temp*"
 tramp-temp-name-prefix "tramp."
 tramp-terminal-prompt-regexp "\\(TERM = (.*)\\|Terminal type\\? \\[.*\\]\\)\\s-*"
 tramp-terminal-type "dumb"
 tramp-unknown-id-integer -1
 tramp-unknown-id-string "UNKNOWN"
 tramp-unload-hook '(#[0 "\300\301\302\"\207" [unload-feature tramp-cache force] 3]
                     #[0 "\300\301\302\"\207" [unload-feature tramp-cmds force] 3]
                     #[0 "\300\301\302\"\207"
                       [remove-hook interrupt-process-functions tramp-interrupt-process] 3]
                     #[0 "\300\301\302\"\207"
                       [remove-hook kill-buffer-hook tramp-delete-temp-file-function] 3]
                     tramp-unload-file-name-handlers
                     #[0 "\300\301\302\"\207"
                       [remove-hook rfn-eshadow-update-overlay-hook
                        tramp-rfn-eshadow-update-overlay]
                       3]
                     #[0 "\300\301\302\"\207"
                       [remove-hook rfn-eshadow-setup-minibuffer-hook
                        tramp-rfn-eshadow-setup-minibuffer]
                       3]
                     #[0 "\300\301\302\"\210\300\303\302\"\207"
                       [unload-feature tramp-loaddefs force tramp-compat] 3]
                     #[0 "\300\301\302\"\207" [unload-feature trampver force] 3])
 tramp-use-ssh-controlmaster-options t
 tramp-user-regexp "[^/|: ]+"
 tramp-user-with-domain-regexp "\\([^/|: ]+\\)%\\([a-zA-Z0-9_.-]+\\)"
 tramp-verbose 6
 tramp-version "2.3.3.26.1"
 tramp-wrong-passwd-regexp "^.*\\(Connection \\(?:\\(?:clo\\|refu\\)sed\\)\\|Host key verification failed\\.\\|Login \\(?:[Ii]ncorrect\\)\\|N\\(?:ame or service not known\\|o supported authentication methods left to try!\\)\\|Permission denied\\|\\(?:Sorry, try again\\|Timeout, server not responding\\)\\.\\).*\\|^.*\\(Received signal [0-9]+\\).*"
 tramp-yesno-prompt-regexp "\\(Are you sure you want to continue connecting (yes/no)\\?\\)\\s-*"
 tramp-yn-prompt-regexp "\\(\\(?:Store key in cache\\? (y/\\|Update cached key\\? (y/n, Return cancels connectio\\)n)\\)\\s-*"
 )

local variables:
================
load-path shadows:
==================


_______________________________________________
Tramp-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/tramp-devel

tmp.zip (46K) Download Attachment
signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: tramp (2.3.3.26.1); tramp does not do a direct copy when it should

Michael Albinus
Nicholas Gianniotis <[hidden email]> writes:

Hi Nicholas,

> Steps to reproduce
>
> 1. visit a remote directory, (eg C-x C-f /scp:host:/some/folder)
>
> 2. You are now in `Dired by name' mode
>
> 3. Position the cursor on a test directory containing many subfiles
> (eg "test-A")
>
> 4. Type `R' (dired-do-rename)
>
> 5. Enter the new directory name (eg "test-B")
>
> 6. Tramp starts the rename, but does so by copying all files to local
> machine under new name, then copying back to remote host.
>
> 7. On a remote host over a slow connection the rename took 16 minutes.

I've tried to reproduce your scenario, in all my test cases Tramp
applies "mv -f ..." on the remote host. From your debug buffer, it is
not understandable why it calls "scp -p ..." twice.

So I need more information. Could you pls start Emacs like this:

--8<---------------cut here---------------start------------->8---
emacs -Q -l tramp -l tramp-sh
--8<---------------cut here---------------end--------------->8---

Then apply the following in the *scratch*  buffer:

--8<---------------cut here---------------start------------->8---
(progn
  (require 'trace)
  (dolist (elt (all-completions "tramp-" obarray 'functionp))
    (trace-function-background (intern elt)))
  (untrace-function 'tramp-read-passwd))
--8<---------------cut here---------------end--------------->8---

Rerun your test scenario. You can stop traces then with

--8<---------------cut here---------------start------------->8---
M-x untrace-all
--8<---------------cut here---------------end--------------->8---

Send the resulting *trace-output* buffer. It shouldn't contain passwords
in clear text, but better cross-check.

> Thank you.

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/tramp-devel
Reply | Threaded
Open this post in threaded view
|

Re: tramp (2.3.3.26.1); tramp does not do a direct copy when it should

Michael Albinus
In reply to this post by Nicholas Gianniotis
Nicholas Gianniotis <[hidden email]> writes:

Hi Nicholas,

> Steps to reproduce
>
> 1. visit a remote directory, (eg C-x C-f /scp:host:/some/folder)
>
> 2. You are now in `Dired by name' mode
>
> 3. Position the cursor on a test directory containing many subfiles
> (eg "test-A")
>
> 4. Type `R' (dired-do-rename)
>
> 5. Enter the new directory name (eg "test-B")
>
> 6. Tramp starts the rename, but does so by copying all files to local
> machine under new name, then copying back to remote host.
>
> 7. On a remote host over a slow connection the rename took 16 minutes.

I've tried to reproduce your scenario, in all my test cases Tramp
applies "mv -f ..." on the remote host. From your debug buffer, it is
not understandable why it calls "scp -p ..." twice.

So I need more information. Could you pls start Emacs like this:

--8<---------------cut here---------------start------------->8---
emacs -Q -l tramp -l tramp-sh
--8<---------------cut here---------------end--------------->8---

Then apply the following in the *scratch*  buffer:

--8<---------------cut here---------------start------------->8---
(progn
  (require 'trace)
  (dolist (elt (all-completions "tramp-" obarray 'functionp))
    (trace-function-background (intern elt)))
  (untrace-function 'tramp-read-passwd))
--8<---------------cut here---------------end--------------->8---

Rerun your test scenario. You can stop traces then with

--8<---------------cut here---------------start------------->8---
M-x untrace-all
--8<---------------cut here---------------end--------------->8---

Send the resulting *trace-output* buffer. It shouldn't contain passwords
in clear text, but better cross-check.

> Thank you.

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/tramp-devel