From 4d6e548e60ddb8506d5c943b481f8ae5c819f174 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 8 Mar 2018 14:09:38 +0100 Subject: [PATCH] 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. --- doc/misc/tramp.texi | 16 ++++++++++++++++ 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 @@ ;; ;;;###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. -- 2.39.2