diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2018-03-08 14:09:38 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2018-03-08 14:09:38 +0100 |
commit | 4d6e548e60ddb8506d5c943b481f8ae5c819f174 (patch) | |
tree | 47568396d8ff477e8d7c78a523aba04853edfbbd | |
parent | 9f6e7905eccf147a07ac9d041921add37ebbf08b (diff) | |
download | emacs-4d6e548e60ddb8506d5c943b481f8ae5c819f174.tar.gz emacs-4d6e548e60ddb8506d5c943b481f8ae5c819f174.tar.bz2 emacs-4d6e548e60ddb8506d5c943b481f8ae5c819f174.zip |
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.
-rw-r--r-- | doc/misc/tramp.texi | 16 | ||||
-rw-r--r-- | lisp/net/tramp-archive.el | 8 |
2 files changed, 21 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e1c4f3e980e..31439043435 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -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 diff --git a/lisp/net/tramp-archive.el b/lisp/net/tramp-archive.el index 87b69767f04..0b5a351deaa 100644 --- a/lisp/net/tramp-archive.el +++ b/lisp/net/tramp-archive.el @@ -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. |