From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt Newsgroups: gmane.emacs.devel Subject: Re: Mysterious gzipped images Date: Thu, 8 Aug 2013 15:06:21 +0100 (BST) Message-ID: <87r4e48efe@ch.ristopher.com> References: <87mwoul8sz.fsf@igel.home> <87a9ksfh78.fsf@kima.orebokech.com> <8738qk9udz@ch.ristopher.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375970796 31196 80.91.229.3 (8 Aug 2013 14:06:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2013 14:06:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 08 16:06:38 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 1V7QrN-0004jW-V5 for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 16:06:38 +0200 Original-Received: from localhost ([::1]:48565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QrN-0005uF-FC for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 10:06:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QrF-0005n3-Sd for emacs-devel@gnu.org; Thu, 08 Aug 2013 10:06:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7QrB-0002cO-0Y for emacs-devel@gnu.org; Thu, 08 Aug 2013 10:06:29 -0400 Original-Received: from ristopher.com ([146.185.21.93]:45596 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7QrA-0002c4-PD for emacs-devel@gnu.org; Thu, 08 Aug 2013 10:06:24 -0400 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id F3E39203E4; Thu, 8 Aug 2013 15:06:21 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1375970782; bh=zaX+fEDFld/vLqmbLUmZQCi/w6lr97abkVjMmEYwOOw=; h=From:To:Subject:In-Reply-To:Message-ID:References:MIME-Version: Content-Type:Date; b=NOW6kf9PuG+I165D/XVxo/rwpSaD5NiGfoUOnpwGdIAQclyQ/Rr1559ZTc/rDJlef FEaxUC6DNkqeO+9Fb83CD/qvnvRw4CN+KPfe8JEpO+j0X/e9pzXf0s1AFBL1fgLy4Y oP2wPfwIT+hIw3w45nQx3vBUwiR4CXnfeh9Bt044= In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 08 Aug 2013 15:55:45 +0200") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 146.185.21.93 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:162507 Archived-At: Lars Magne Ingebrigtsen writes: > The basic `decompress-gzipped-region' function will always remain as > it is. If we later add a `decompress-region' function that takes > different compressors as parameters, then that function will call the > basic underlying functions. As you said before, adding new algorithms based on shell-command-on-region in not hard. Make {,de}compress-gzipped-region an implementation detail and add {,de}compress-region right away. Why wait? ;) Christopher