From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Mysterious gzipped images Date: Thu, 08 Aug 2013 15:24:59 +0200 Organization: orebokech dot com Message-ID: <87a9ksfh78.fsf@kima.orebokech.com> References: <87mwoul8sz.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375968327 2641 80.91.229.3 (8 Aug 2013 13:25:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2013 13:25:27 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 08 15:25:28 2013 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 1V7QDW-0004hm-Ce for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 15:25:26 +0200 Original-Received: from localhost ([::1]:45218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QDV-0001p7-UW for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 09:25:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QDN-0001ny-JT for emacs-devel@gnu.org; Thu, 08 Aug 2013 09:25:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7QDD-0000Ue-9k for emacs-devel@gnu.org; Thu, 08 Aug 2013 09:25:17 -0400 Original-Received: from stringer.orebokech.com ([88.190.240.207]:39936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QDD-0000Du-4L for emacs-devel@gnu.org; Thu, 08 Aug 2013 09:25:07 -0400 Original-Received: from kima.orebokech.com (kima [192.168.2.5]) by stringer.orebokech.com (Postfix) with ESMTP id CE78818800C5; Thu, 8 Aug 2013 15:24:59 +0200 (CEST) Original-Received: by kima.orebokech.com (Postfix, from userid 1000) id CC71D243634; Thu, 8 Aug 2013 15:24:59 +0200 (CEST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 08 Aug 2013 12:35:49 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.190.240.207 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:162500 Archived-At: Lars Magne Ingebrigtsen writes: > DEFUN ("decompress-gzipped-region", Fdecompress_gzipped_region, > Sdecompress_gzipped_region, Wouldn't it be better to have a single `decompress-region' function to which you specify the decompression algorithm? It's almost certain that if we add gzip, down the road someone will request bzip2, or xz, or... Then you can add a companion `compress-region' function which also takes the compression level, etc.