GNU bug report logs - #57636
[PATCH] Recognize zstandard (.zst) suffix in lisp/info.el

Previous Next

Package: emacs;

Reported by: Sam James <sam <at> gentoo.org>

Date: Wed, 7 Sep 2022 04:02:01 UTC

Severity: normal

Tags: moreinfo, patch

Merged with 57665

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57636: closed ([PATCH] Recognize zstandard (.zst) suffix in
 lisp/info.el)
Date: Thu, 08 Sep 2022 08:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 08 Sep 2022 11:52:12 +0300
with message-id <83bkrqfdtv.fsf <at> gnu.org>
and subject line Re: bug#57636: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el
has caused the debbugs.gnu.org bug report #57636,
regarding [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57636: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57636
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sam James <sam <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Cc: Sam James <sam <at> gentoo.org>
Subject: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el
Date: Wed,  7 Sep 2022 05:00:40 +0100
* 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



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Sam James <sam <at> gentoo.org>
Cc: 57636-done <at> debbugs.gnu.org
Subject: Re: bug#57636: [PATCH] Recognize zstandard (.zst) suffix in
 lisp/info.el
Date: Thu, 08 Sep 2022 11:52:12 +0300
> From: Sam James <sam <at> gentoo.org>
> Date: Thu, 8 Sep 2022 04:03:55 +0100
> Cc: 57636 <at> debbugs.gnu.org
> 
> From f5b4f91e74de2a1b724d978f6ca4f25c78a50389 Mon Sep 17 00:00:00 2001
> From: Sam James <sam <at> gentoo.org>
> Date: Wed, 7 Sep 2022 04:57:33 +0100
> Subject: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el
> 
> * lisp/info.el (Info-suffix-list): Recognize .zst file extension from the
> zstd compression tool. This allos reading Info pages compressed with zstandard.
> 
> Signed-off-by: Sam James <sam <at> gentoo.org>

Thanks, installed on the master branch.

For the future, please observe some of our coding conventions that in
this case caused me some manual work while applying the patch:

  . don't use Signed-off-by, our commit hooks reject that
  . lines in commit log messages should be shorter than 78 characters
  . we mention the bug number, when appropriate, in the commit log



This bug report was last modified 2 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.