• Michael Albinus's avatar
    Further improvements in Tramp's file name unquoting · 00d4ba27
    Michael Albinus authored
    * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy)
    (tramp-adb-handle-write-region): Unquote localname.
    (tramp-adb-handle-copy-file): Implement direct copy on remote device.
    (tramp-adb-handle-rename-file): Quote arguments, add "-f" to force.
    
    * lisp/net/tramp.el (tramp-file-name-unquote-localname): New defun.
    (tramp-handle-file-name-case-insensitive-p):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-get-file-attributes)
    (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
    (tramp-gvfs-maybe-open-connection):
    * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
    * lisp/net/tramp-smb.el (tramp-smb-get-share)
    (tramp-smb-get-localname): Use it.
    
    * test/lisp/net/tramp-tests.el (tramp--test-docker-p): New defun.
    (tramp--test-special-characters, tramp-test34-utf8)
    (tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
    (tramp-test34-utf8-with-ls): Use it.
    00d4ba27
tramp-smb.el 74.1 KB