[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: decompress.c now also compresses
From: |
Juan José García-Ripoll |
Subject: |
Re: decompress.c now also compresses |
Date: |
Sun, 29 Mar 2020 21:27:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
Stefan Monnier <address@hidden> writes:
>> I attach a patch that adds support for compressing buffers using
>> zlib. It is a minor extension to the file src/decompress.c but it may be
>> useful because of two reasons (i) in Windows, Emasc is shipped without
>> g[un]zip.exe,
>
> This sounds great. Does that mean that we can make jka-compr work with
> .gz files without any external tools at all?
One needs to replace jka-compr with a couple of functions that are
installed before it, because the way jka-compr works it assumes the
compressor/decompressor is an external program, not a lisp function.
Cheers,
--
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es