From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hackney Newsgroups: gmane.emacs.devel Subject: Re: cl-defstruct-based package.el, now with ert tests! Date: Thu, 14 Mar 2013 04:36:36 +0000 (UTC) Message-ID: References: <87mwu9l6ju.fsf@fleche.redhat.com> <87obeog70m.fsf@yandex.ru> <87ip4wpjtw.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363236293 5611 80.91.229.3 (14 Mar 2013 04:44:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Mar 2013 04:44:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 14 05:45:17 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 1UG02T-0005Z4-3V for ged-emacs-devel@m.gmane.org; Thu, 14 Mar 2013 05:45:13 +0100 Original-Received: from localhost ([::1]:58624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG026-0005jv-Mb for ged-emacs-devel@m.gmane.org; Thu, 14 Mar 2013 00:44:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG023-0005jo-5P for emacs-devel@gnu.org; Thu, 14 Mar 2013 00:44:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG021-0001BM-Aa for emacs-devel@gnu.org; Thu, 14 Mar 2013 00:44:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG021-0001BA-3o for emacs-devel@gnu.org; Thu, 14 Mar 2013 00:44:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UG02J-0005Pi-KH for emacs-devel@gnu.org; Thu, 14 Mar 2013 05:45:04 +0100 Original-Received: from nat-ugrad.cs.brown.edu ([138.16.160.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 05:45:03 +0100 Original-Received: from dan by nat-ugrad.cs.brown.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 05:45:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 138.16.160.4 (Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:157835 Archived-At: Ted Zlatanov lifelogs.com> writes: > Agreed, maybe Daniel can explain why using `tar-mode' was questionable. > Performance? The answer is "it seemed yucky." `tar-mode' was clearly not intended to act as an API for other programs looking to read tar files, so using it as such was kind of hacky. Using the external "tar" program seems like the cleaner alternative. Since package.el already uses the external tar program for `package-tar-file-info', I figured depending on tar for more substantial stuff was fine. If people really don't want to depend on the external program, I'll remove it and just use `tar-mode'. Is there any way to gunzip the data in a buffer without using an external program? It would be nice to be able to use tar.gz files.