]> git.eshelyaron.com Git - emacs.git/commit
Support for archive file names
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 9 Dec 2017 13:34:30 +0000 (14:34 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 9 Dec 2017 13:34:30 +0000 (14:34 +0100)
commitd338325c2b603db8433c9b6b12216201d5ee21e9
treec422d02f6b228e53654718eacaef04642a9ea3ff
parent2ffdc041b1671e064df5ae6f7ec2f5a90c9dd30c
Support for archive file names

* doc/misc/tramp.texi (Top, Usage): Add entry "Archive file names".
(History): Mention archive file names.
(GVFS based methods): Mentio "http" and "https" methods.
(Archive file names): New node.
(Frequently Asked Questions): Add Emacs 27 as supported version.

* etc/NEWS: Mention tramp-archive.el.

* lisp/net/tramp.el (tramp-run-real-handler)
(tramp-register-file-name-handlers)
(tramp-register-file-name-handlers, tramp-unload-file-name-handlers):
Add `tramp-archive-file-name-handler'.
(tramp-handle-file-name-completion): Do not insist in Tramp
file names.

* lisp/net/tramp-archive.el: New package.

* lisp/net/tramp-cache.el (tramp-dump-connection-properties): Check for
"archive" method.

* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Cleanup also
local copies of archives.

* lisp/net/tramp-compat.el (tramp-compat-use-url-tramp-p): New defconst.

* lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "http" and "https".
(tramp-gvfs-gio-mapping): Add "gvfs-mount".
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
Handle "uri" and "http".
(tramp-gvfs-unmount): New defun.

* test/lisp/net/tramp-archive-tests.el: New package.
14 files changed:
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-archive.el [new file with mode: 0644]
lisp/net/tramp-cache.el
lisp/net/tramp-cmds.el
lisp/net/tramp-compat.el
lisp/net/tramp-gvfs.el
lisp/net/tramp.el
test/lisp/net/tramp-archive-resources/bar/bar [new file with mode: 0644]
test/lisp/net/tramp-archive-resources/foo.hrd [new file with mode: 0644]
test/lisp/net/tramp-archive-resources/foo.lnk [new symlink]
test/lisp/net/tramp-archive-resources/foo.tar.gz [new file with mode: 0644]
test/lisp/net/tramp-archive-resources/foo.txt [new file with mode: 0644]
test/lisp/net/tramp-archive-tests.el [new file with mode: 0644]