From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam James Newsgroups: gmane.emacs.bugs Subject: bug#57636: [PATCH] Recognize zstandard (.zst) suffix in lisp/info.el Date: Thu, 8 Sep 2022 04:03:55 +0100 Message-ID: References: <20220907040040.25684-1-sam@gentoo.org> <834jxjifhd.fsf@gnu.org> <4E6F1B45-BFA6-4B9F-9F14-7A065405A3EC@gentoo.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: multipart/signed; boundary="Apple-Mail=_16C69353-5230-484F-B8D4-BD3E2F973CB1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57636@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 05:05:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oW7qx-0000SS-0Q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 05:05:19 +0200 Original-Received: from localhost ([::1]:60526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oW7qv-0001ql-9p for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 23:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oW7qg-0001qO-Nm for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 23:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oW7qg-0004xw-Es for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 23:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oW7qg-00024P-1m for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 23:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam James Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2022 03:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 57636-submit@debbugs.gnu.org id=B57636.16626062547894 (code B ref 57636); Thu, 08 Sep 2022 03:05:02 +0000 Original-Received: (at 57636) by debbugs.gnu.org; 8 Sep 2022 03:04:14 +0000 Original-Received: from localhost ([127.0.0.1]:56849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW7pu-00023G-6U for submit@debbugs.gnu.org; Wed, 07 Sep 2022 23:04:14 -0400 Original-Received: from woodpecker.gentoo.org ([140.211.166.183]:59602 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oW7pr-000230-Um for 57636@debbugs.gnu.org; Wed, 07 Sep 2022 23:04:12 -0400 In-Reply-To: <4E6F1B45-BFA6-4B9F-9F14-7A065405A3EC@gentoo.org> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241817 Archived-At: --Apple-Mail=_16C69353-5230-484F-B8D4-BD3E2F973CB1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii =46rom f5b4f91e74de2a1b724d978f6ca4f25c78a50389 Mon Sep 17 00:00:00 2001 From: Sam James 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 --- lisp/info.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/info.el b/lisp/info.el index 1a58910c3a..292bf93a6f 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" . ("zstd" "-dc")) (".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" . ("zstd" "-dc")) ("-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" . ("zstd" "-dc")) ("/index" . nil) (".Z" . "uncompress") (".Y" . "unyabba") @@ -472,6 +475,7 @@ or `Info-virtual-nodes'." (".z" . "gunzip") (".bz2" . ("bzip2" "-dc")) (".xz" . "unxz") + (".zst" . ("zstd" "-dc")) ("" . nil))) "List of file name suffixes and associated decoding commands. Each entry should be (SUFFIX . STRING); the file is given to -- 2.37.3 --Apple-Mail=_16C69353-5230-484F-B8D4-BD3E2F973CB1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCYxlbnF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kN/OAQC7WQJN2hAONeQ0uLnPRBhoSzlMSn5Mw6eyE33rQreHWgEAqvhpNSwpbIMK UMADQ2f43tuROZPRX7xBubPevctXswk= =PUec -----END PGP SIGNATURE----- --Apple-Mail=_16C69353-5230-484F-B8D4-BD3E2F973CB1--