From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Date: Fri, 13 May 2022 17:54:51 +0200 Message-ID: <87wnep1l84.fsf@gnus.org> References: <87o801serb.fsf@gnus.org> <87v8u9mrdn.fsf@tucano.isti.cnr.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 25458@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 13 18:05:55 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npXnf-0005xy-Fp for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 18:05:55 +0200 Original-Received: from localhost ([::1]:58772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npXnd-000168-Ir for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 12:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npXe6-0007Xg-38 for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 11:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npXe5-00023J-Qq for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 11:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npXe5-0006DC-QA for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 11:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2022 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 25458-submit@debbugs.gnu.org id=B25458.165245730923763 (code B ref 25458); Fri, 13 May 2022 15:56:01 +0000 Original-Received: (at 25458) by debbugs.gnu.org; 13 May 2022 15:55:09 +0000 Original-Received: from localhost ([127.0.0.1]:44784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npXdE-0006BC-Uw for submit@debbugs.gnu.org; Fri, 13 May 2022 11:55:09 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npXd6-00069y-4n for 25458@debbugs.gnu.org; Fri, 13 May 2022 11:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XmQoBVu+ozyyUW2UTzqO1blBkzngVdrDvlFv6PaJi1E=; b=WvOcz/DwAorbKAgVajZZDYiNYo XaDE+kcnBLboPxNPP0nEaepCNcquhKSpKrmOlu79LkVqS+cncJF7eP/tQaPVCBDHmltGqUZYSrhzt rxjC2lYdTGaHu0Sv95EXNVjdzIoEV6dQLwMFA+ttqqGnCetxW4Wdqf7rtb+ZBN5hAd5E=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npXcx-0002EI-Nr; Fri, 13 May 2022 17:54:54 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFDQ8eE23gPK4AAAGqSURB VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+ BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MDUtMTNUMTU6MzA6MTkrMDA6MDDy2CxQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTEzVDE1 OjMwOjE5KzAwOjAwg4WU7AAAAABJRU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Nation" In-Reply-To: <87v8u9mrdn.fsf@tucano.isti.cnr.it> ("Francesco =?UTF-8?Q?Potort=C3=AC?="'s message of "Fri, 13 May 2022 16:36:20 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232168 Archived-At: Francesco Potort=C3=AC writes: >>But I think the question is -- do we want to support this? I'm not >>quite sure -- it would be pretty unusual for a mode to do something like >>this, and it's not clear what the semantics should be. That is, if >>we're saving the tar buffer afterwards, should it be compressed or not? >>Either option would surprise somebody. > > Not really. If I read a compressed file, Emacs uncompresses it when > loading it to a buffer, then you can edit it and save it. Compression > and decompression are transparent. I use this feature quite often, > and so I am led to expect it of compressed archives too. If it was > compressed to begin with, it should be saved compressed too. But the file name is "foo.tar" -- there'd be no way to tell Emacs that the user wants to save that uncompressed. You can load bar.gz into a buffer, and write out bar, and Emacs won't compress that. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no