all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tim Visher <tim.visher@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: elisp way to deal with gziped content?
Date: Fri, 08 Aug 2014 08:57:14 +0300	[thread overview]
Message-ID: <83mwbfmslh.fsf@gnu.org> (raw)
In-Reply-To: <CAHa53uy1xUsb7W-kJ-VBoqk8YVhYD4M=bsvcU6_cdKktrmW-dA@mail.gmail.com>

> From: Tim Visher <tim.visher@gmail.com>
> Date: Thu, 7 Aug 2014 22:21:20 -0400
> 
> Someone has proposed a patch to vimgolf.el which replaces the use of
> url.el with requests.el. The reason is that url.el doesn't decompress
> gzipped content automatically while requests.el does.
> 
> I'm assuming given that requests.el shells out to curl to get the job
> done that Emacs has no way of natively gunzipping content, but I'd
> love to be told that I'm wrong. I'd like Vimgolf to entirely rely on
> emacs builtins so that it works seamlessly for our Windows friends.

Emacs has recently acquired a way of decompressing stuff internally.
See the function zlib-decompress-region.



  reply	other threads:[~2014-08-08  5:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08  2:21 elisp way to deal with gziped content? Tim Visher
2014-08-08  5:57 ` Eli Zaretskii [this message]
2014-08-08 11:51   ` Lars Magne Ingebrigtsen

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=83mwbfmslh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tim.visher@gmail.com \
    /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.