From: Nick Terrell <nickrterrell@gmail.com>
To: 24853@debbugs.gnu.org
Subject: bug#24853: [PATCH] Automatically handle Zstandard compressed files
Date: Tue, 1 Nov 2016 16:48:00 -0700 [thread overview]
Message-ID: <CANr2DbdeNygC9MPQCaQzwWo0eD7GF0NDa_RbERVC-oPRW++uDQ@mail.gmail.com> (raw)
In-Reply-To: <CANr2DbcZ3i8eOXoRCX+-Bi38EpeNc5M9yFMh8D4eRP4QYL68rQ@mail.gmail.com>
I apologize, it looks like I didn't submit a text attachment. I've
included the patch inline.
From 3779d68186b9b9d80dda466932d36e92d3f5548b Mon Sep 17 00:00:00 2001
From: Nick Terrell <terrelln@fb.com>
Date: Tue, 1 Nov 2016 14:45:02 -0700
Subject: [PATCH] Automatically handle Zstandard compressed files
* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list):
Add zstd compression info: <http://facebook.github.io/zstd/>
---
lisp/jka-cmpr-hook.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el
index 39302f0..c2b4d96 100644
--- a/lisp/jka-cmpr-hook.el
+++ b/lisp/jka-cmpr-hook.el
@@ -244,7 +244,11 @@ jka-compr-compression-info-list
["\\.dz\\'"
nil nil nil
"uncompressing" "gzip" ("-c" "-q" "-d")
- nil t "\037\213"]))
+ nil t "\037\213"]
+ ["\\.zst\\'"
+ "zstd compressing" "zstd" ("-c" "-q")
+ "zstd uncompressing" "zstd" ("-c" "-q" "-d")
+ t t "\050\265\057\375"]))
"List of vectors that describe available compression techniques.
Each element, which describes a compression technique, is a vector of
--
2.10.0
On Tue, Nov 1, 2016 at 3:51 PM, Nick Terrell <nickrterrell@gmail.com> wrote:
> I would like to add support for automatically handling Zstandard
> compressed files to emacs. I've attached a patch that implements this
> feature.
next prev parent reply other threads:[~2016-11-01 23:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-01 22:51 bug#24853: [PATCH] Automatically handle Zstandard compressed files Nick Terrell
2016-11-01 23:48 ` Nick Terrell [this message]
2016-11-03 0:22 ` Nick Terrell
2016-11-05 9:45 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANr2DbdeNygC9MPQCaQzwWo0eD7GF0NDa_RbERVC-oPRW++uDQ@mail.gmail.com \
--to=nickrterrell@gmail.com \
--cc=24853@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.