From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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:18:56 +0300 Message-ID: <83ilq9ms6n.fsf@gnu.org> References: <87o801serb.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 25458@debbugs.gnu.org, pot@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 13 16:20:18 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 1npW9R-00067F-Qn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 16:20:18 +0200 Original-Received: from localhost ([::1]:51250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npW9Q-0001WB-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 10:20:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npW9C-0001Vm-W6 for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 10:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npW9C-0002Lm-Ni for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 10:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npW9C-0006kp-Eb for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 10:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2022 14:20:02 +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.165245155125871 (code B ref 25458); Fri, 13 May 2022 14:20:02 +0000 Original-Received: (at 25458) by debbugs.gnu.org; 13 May 2022 14:19:11 +0000 Original-Received: from localhost ([127.0.0.1]:44465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npW8N-0006jC-81 for submit@debbugs.gnu.org; Fri, 13 May 2022 10:19:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npW87-0006ht-5W for 25458@debbugs.gnu.org; Fri, 13 May 2022 10:19:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npW81-0002Gl-TZ; Fri, 13 May 2022 10:18:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=9iMTBUyUazHYFc+EF/CNyn5cnRZCiY26hEkBPEYN8Ik=; b=LgRl4dcFqN2GWyH1a/VQ AT+DAIk0w0qwNUkZjXDmo8/ILCGK9gM3Ow47M0ryCz8hxpQJ7/X/xGpOVFe3lTSKPpLUZ4l3B++ff 2QTEVh3iu3WusQUWVDi+eZqCXIsoqPy6T8hXdUcQoR7aclkfdISlUOvkuSAG9MYGaGjlSlK0VLLeH uTN8fymOcoaSB0zD/0rfDsleeRC+TvK6KHhxpvqTBph1fgPwjCRI+YeDebcvg+50nrj6ENh+6BzPB LzgwwM+AIE1N6/DBeeVemJvVG5kmR9D2I/x9A7Va8Rvn0iIo5IcPKCKRfheO5WhmuQMI1qIc/CPnp YNzI+vl++mYwsw==; Original-Received: from [87.69.77.57] (port=2245 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npW81-0006GP-Ci; Fri, 13 May 2022 10:18:49 -0400 In-Reply-To: <87o801serb.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 13 May 2022 16:12:24 +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:232154 Archived-At: > Cc: 25458@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Fri, 13 May 2022 16:12:24 +0200 > > Francesco Potortì writes: > > > By looking at the comments on top of tar-mode.el, I get that it does not > > rely on tar to get the archive listing, but reads the archive itself, so > > correcting this problem does not appear straightforward to me... > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > If Emacs had code to automatically recognise compressed data, I guess > tar-mode could decompress the buffer before it started working on it. > (Does Emacs have that? I guess we could add stuff to > `magic-fallback-mode-alist' or something in that region...) But decompressing means, for most compression types, running an external program on the file. Or does OP suggest that we link Emacs against libbz2, liblz4, liblzma, etc. to have these decompression methods available in core?