unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57636: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el
@ 2022-09-07  4:00 Sam James
  2022-09-07 11:35 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Sam James @ 2022-09-07  4:00 UTC (permalink / raw)
  To: 57636; +Cc: Sam James

* lisp/info.el (Info-suffix-list): Recognize .zst file extension from the
zstd compression tool. This allos reading Info pages compressed with zstandard.
---
 lisp/info.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/info.el b/lisp/info.el
index 1a58910c3a..fdbe1f9b90 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -451,6 +451,7 @@ or `Info-virtual-nodes'."
        (".info.z"    . "gunzip")
        (".info.bz2"  . ("bzip2" "-dc"))
        (".info.xz"   . "unxz")
+       (".info.zst"  . ("unzstd" "--rm" "-q"))
        (".info"      . nil)
        ("-info.Z"    . "uncompress")
        ("-info.Y"    . "unyabba")
@@ -458,6 +459,7 @@ or `Info-virtual-nodes'."
        ("-info.bz2"  . ("bzip2" "-dc"))
        ("-info.z"    . "gunzip")
        ("-info.xz"   . "unxz")
+       ("-info.zst"  . ("unzstd" "--rm" "-q"))
        ("-info"      . nil)
        ("/index.Z"   . "uncompress")
        ("/index.Y"   . "unyabba")
@@ -465,6 +467,7 @@ or `Info-virtual-nodes'."
        ("/index.z"   . "gunzip")
        ("/index.bz2" . ("bzip2" "-dc"))
        ("/index.xz"  . "unxz")
+       ("/index.zst" . ("unzstd" "--rm" "-q"))
        ("/index"     . nil)
        (".Z"         . "uncompress")
        (".Y"         . "unyabba")
@@ -472,6 +475,7 @@ or `Info-virtual-nodes'."
        (".z"         . "gunzip")
        (".bz2"       . ("bzip2" "-dc"))
        (".xz"        . "unxz")
+       (".zst"       . ("unzstd" "--rm" "-q"))
        (""           . nil)))
   "List of file name suffixes and associated decoding commands.
 Each entry should be (SUFFIX . STRING); the file is given to
-- 
2.37.3






^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-09  4:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07  4:00 bug#57636: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el Sam James
2022-09-07 11:35 ` Eli Zaretskii
2022-09-08  2:10   ` Sam James
2022-09-08  3:03     ` Sam James
2022-09-08  8:52       ` Eli Zaretskii
2022-09-09  4:21         ` Sam James
2022-09-08  2:57   ` bug#57665: " Sam James
2022-09-08  2:59     ` Sam James

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).