Add OpenDocument formats to Tramp file archives

* doc/misc/tramp.texi (Archive file names):
* lisp/net/tramp-archive.el (tramp-archive-suffixes):
Add OpenDocument formats.
This commit is contained in:
Michael Albinus 2018-03-08 14:09:38 +01:00
parent 9f6e7905ec
commit 4d6e548e60
2 changed files with 21 additions and 3 deletions

View file

@ -3059,6 +3059,22 @@ BSD mtree format
@cindex @file{mtree} file archive suffix
@cindex file archive suffix @file{mtree}
@item @samp{.odb}, @samp{.odf}, @samp{.odg}, @samp{.odp}, @samp{.ods},
@samp{.odt} ---
OpenDocument formats
@cindex @file{odb} file archive suffix
@cindex @file{odf} file archive suffix
@cindex @file{odg} file archive suffix
@cindex @file{odp} file archive suffix
@cindex @file{ods} file archive suffix
@cindex @file{odt} file archive suffix
@cindex file archive suffix @file{odb}
@cindex file archive suffix @file{odf}
@cindex file archive suffix @file{odg}
@cindex file archive suffix @file{odp}
@cindex file archive suffix @file{ods}
@cindex file archive suffix @file{odt}
@item @samp{.pax} ---
Posix archives
@cindex @file{pax} file archive suffix

View file

@ -62,6 +62,7 @@
;; * ".lzh", ".LZH" - Microsoft Windows compressed LHA archives
;; * ".msu", ".MSU" - Microsoft Windows Update packages
;; * ".mtree" - BSD mtree format
;; * ".odb" ".odf" ".odg" ".odp" ".ods" ".odt" - OpenDocument formats
;; * ".pax" - Posix archives
;; * ".rar" - RAR archives
;; * ".rpm" - Red Hat packages
@ -126,9 +127,9 @@
;; <https://github.com/libarchive/libarchive/wiki/LibarchiveFormats>
;;;###autoload
(defconst tramp-archive-suffixes
;; "cab", "lzh" and "zip" are included with lower and upper letters,
;; because Microsoft Windows provides them often with capital
;; letters.
;; "cab", "lzh", "msu" and "zip" are included with lower and upper
;; letters, because Microsoft Windows provides them often with
;; capital letters.
'("7z" ;; 7-Zip archives.
"apk" ;; Android package kits. Not in libarchive testsuite.
"ar" ;; UNIX archiver formats.
@ -142,6 +143,7 @@
"lzh" "LZH" ;; Microsoft Windows compressed LHA archives.
"msu" "MSU" ;; Microsoft Windows Update packages. Not in testsuite.
"mtree" ;; BSD mtree format.
"odb" "odf" "odg" "odp" "ods" "odt" ;; OpenDocument formats. Not in testsuite.
"pax" ;; Posix archives.
"rar" ;; RAR archives.
"rpm" ;; Red Hat packages.