From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: decompress.c now also compresses
Date: Sun, 29 Mar 2020 21:27:58 +0200 [thread overview]
Message-ID: <867dz30xmp.fsf@csic.es> (raw)
In-Reply-To: jwvmu7zt887.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> 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
prev parent reply other threads:[~2020-03-29 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 15:52 decompress.c now also compresses Juan José García-Ripoll
2020-03-29 15:57 ` Juan José García-Ripoll
2020-03-29 16:11 ` Eli Zaretskii
2020-03-29 16:48 ` Juan José García-Ripoll
2020-03-29 16:54 ` Stefan Monnier
2020-03-29 19:27 ` Juan José García-Ripoll [this message]
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=867dz30xmp.fsf@csic.es \
--to=juanjose.garciaripoll@gmail.com \
--cc=emacs-devel@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.