From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#52477: 27.1; .crx and .crx3 are zip files Date: Fri, 24 Dec 2021 14:51:30 +0100 Message-ID: <875yrecdr1.fsf@gmx.de> References: <878rwn238l.fsf@gmail.com> <87lf0l53mu.fsf@gmx.de> <83r1achpkv.fsf@gnu.org> <874k78hibe.fsf@gmx.de> <83fsqshehh.fsf@gnu.org> <87ee64esqt.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37589"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: stefan@marxist.se, 52477@debbugs.gnu.org To: "Trent W. Buck" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 24 14:52:27 2021 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 1n0kzj-0009bT-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 14:52:27 +0100 Original-Received: from localhost ([::1]:58794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0kzh-00004r-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 08:52:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0kzK-0008WP-Rd for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 08:52:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0kzK-00007N-I6 for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 08:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0kzK-00030l-GR for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 08:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Dec 2021 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52477 X-GNU-PR-Package: emacs Original-Received: via spool by 52477-submit@debbugs.gnu.org id=B52477.164035390411551 (code B ref 52477); Fri, 24 Dec 2021 13:52:02 +0000 Original-Received: (at 52477) by debbugs.gnu.org; 24 Dec 2021 13:51:44 +0000 Original-Received: from localhost ([127.0.0.1]:35891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0kz2-00030F-Dm for submit@debbugs.gnu.org; Fri, 24 Dec 2021 08:51:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:52079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0kyx-0002zx-9s for 52477@debbugs.gnu.org; Fri, 24 Dec 2021 08:51:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640353892; bh=zTgX8K9WDPlgshQ7SimGw4ISJQ7rMjJP9JDAFt7DcxQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jOY8TjusETKaH22R5S9HGA57vojhSlpyPuO0RRr+LTiZ82NqlGuPFNa23d4ww3cqp xcQNSdPTBUPdMkdqmpis+9NqF1k+T3kXSA5j38RdH8xfJK7kHuzJ+hTA69qjgMNidH +a3IFUa95E6Z0RnKh4WpDg9lWyYSALEih7zrHMyQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.112.255]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N6sit-1mOMTU3Vdf-018KTA; Fri, 24 Dec 2021 14:51:31 +0100 In-Reply-To: (Trent W. Buck's message of "Thu, 23 Dec 2021 15:01:20 +1100") X-Provags-ID: V03:K1:S+7Bz4x+qfgwyY4qb+khHlQsbyObusKZ1nN2aLrYN2ad0/K4vgr QSX8ulLMP4Ad64pBqZy+/7t0+aW0R4gtm28SAukG+3d+LFj5bQpA4TEX2EMdQiGnrgjlpuQ oCvbDDMPfDG+la9Dd3k3iohhznj7VNFIcQkfYQ98kE/PmM0NAj07JPea+24qi8NjKy9nQCv ed0zeoDOdguc3QUKzgYYQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:iY6nDXlh5JU=:3hjRTCJZ+kTkC958XZ4LTn NEMPGEDhWbq9hLKsqIHGTpW6WELoGCkdd9rTgROo3aSHebQAurbU3vsLPLH/OGREKGJ2Lho1x k5PT6x3oM5U+LDlrFtqlncZs9dzhQx4DTMqRpF8spZK0Bdyz3R5/b3/b6roYGvcRwQ+ckHUbP DRiUeP7bHYYeR/VnKAq0/puGcbQyhj2QSFZkTAPyGFKkYOxO4oylQUxyV8Yzw4TM/1sCUi8d5 nCccYH3JVzMCm3c//XD/yNb/2EyMr1kiQTufN85ElsMerhA2rQVJlLm8SbIvlei2ybGdekYtJ QWhceuRbXG02kLpine+4bpVkSAJ+Wnua5+05N7WYv70SfKCHwGVLw6HPmwUxqfjXExcRogBfY lugvHIDLuE9zhx8IWt7kUSdJ/v4REogoIfOTmYn1YeouOWWTX4BKI63U7w6ofIf1GmIty6E5D zCOr3n20Tvqb00XNgcXlgdYPQ28JkKXXcvVPladBawmrl/+TlPQFcDrGvI+Oq9oYu5gJBeNW2 bBEKqMuAQVmPEKbJtcuNeMHS6o6O5pK7x0+lIanbMJK7e8x4mbmz/aC+yTo2F3iYNbrc0FfEm /MXz9sOSYihhzhePfIWLTF/HJOVn4mdU1SNJcl0pO+qr8exnpcCyq1Wn3vCjLI9skY0PUHk68 dfJW6Af/R7yS/9dKBfvfcCwYwgEtkAogVmLzrcy/oSRwq+xJ8DIoPxlDSxHyjab0xe46UIJwj On8M31apn55iBEOJ+kyY3AKYlRo1/TIqz/pTQ8wCsl6/xI2ZOH0OZ8WdcHW9CQwUCfUGX2uC 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:223049 Archived-At: "Trent W. Buck" writes: Hi Trent, > It seems to me that: > > 1. when given a file in pyz/crx/crx format, > libarchive will auto-detect and use zip format. > > I think it just finds the zip archive at an offset, and > leaves content before that offset alone. > > This would allow it to read/extract/edit existing pyz/crx/crx3, > but not create a new one. > > This is also true for libarchive bsdtar and Info-ZIP unzip, > although the latter emits a warning about the offset. > > 2. when given a file in pyz/crx/crx format, > emacs arc-mode will not auto-detect zip format. > > 3. when given a file in pyz/crx/crx3 format, > file-roller & nautilus will not auto-detect any format. Well, I don't know how in detail nautilus/file-roller have integrated libarchive. I believe they use the GVFS mount backend which calls libarchive, but I don't know it for sure. So we agree that a native libarchive integration in Emacs is preferred. Best regards, Michael.