From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: elisp way to deal with gziped content? Date: Fri, 08 Aug 2014 08:57:14 +0300 Message-ID: <83mwbfmslh.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1407477447 26425 80.91.229.3 (8 Aug 2014 05:57:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2014 05:57:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tim Visher Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 08 07:57:20 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XFdB1-0000Ir-FH for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2014 07:57:19 +0200 Original-Received: from localhost ([::1]:49461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFdAz-0007Hw-3h for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2014 01:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFdAp-0007DD-7J for emacs-devel@gnu.org; Fri, 08 Aug 2014 01:57:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFdAh-0007At-OG for emacs-devel@gnu.org; Fri, 08 Aug 2014 01:57:07 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:36321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFdAh-0007Ad-Df for emacs-devel@gnu.org; Fri, 08 Aug 2014 01:56:59 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N9Z00J004CYKN00@mtaout28.012.net.il> for emacs-devel@gnu.org; Fri, 08 Aug 2014 08:56:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9Z00EIV4I21X50@mtaout28.012.net.il>; Fri, 08 Aug 2014 08:56:26 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173472 Archived-At: > From: Tim Visher > 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.