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#61326: 30.0.50; Editing fil in zip file without extension save creates new file Date: Mon, 06 Feb 2023 20:04:47 +0200 Message-ID: <83mt5qpt4w.fsf@gnu.org> References: <87zg9qohk1.fsf@tullinup.koldfront.dk> 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="8809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61326@debbugs.gnu.org To: Adam =?UTF-8?Q?Sj=C3=B8gren?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 06 19:05:44 2023 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 1pP5s7-000218-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Feb 2023 19:05:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP5rh-0004Q3-C4; Mon, 06 Feb 2023 13:05:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP5rT-0004Nq-VT for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 13:05:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pP5rS-0004As-1m for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 13:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pP5rR-00086a-Su for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 13:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2023 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61326 X-GNU-PR-Package: emacs Original-Received: via spool by 61326-submit@debbugs.gnu.org id=B61326.167570668431115 (code B ref 61326); Mon, 06 Feb 2023 18:05:01 +0000 Original-Received: (at 61326) by debbugs.gnu.org; 6 Feb 2023 18:04:44 +0000 Original-Received: from localhost ([127.0.0.1]:49850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP5rA-00085m-HD for submit@debbugs.gnu.org; Mon, 06 Feb 2023 13:04:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP5r8-00085a-Cd for 61326@debbugs.gnu.org; Mon, 06 Feb 2023 13:04:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP5r2-00044g-2d; Mon, 06 Feb 2023 13:04:36 -0500 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=Tzsbudb3b2rGDz6lSRM4Oh+mEHPH/9cqIqvPEPUIxvA=; b=E4UrEt31MuBI4kNvi98p NX4hWC0xIzyQiEe9AHP5cfpcXIB2FCgyGPp1O8HxFz6kjUb5WGuqsjA31qzVL3zZwd8hunLZfu8wF nlF9zgGizY504F//mYjuTi2iNYg+H7H+8wARwXAOWpNzLJ2sHL+82+srVEorzS3+4zxbi+Ny4370M g9f1j1UIn1piK8D+lsze/XIWKCm+2wB9+8XhDB899JH5SLR8/2asV257UAjeaebGT56oMv2UbNDkO 6IgtgyRFiB/oATM5x6aGe4WGkNMtqC/iuQ64yseF9O43lgvfr4Fae3JsX8wcj9uz/FtxFyY9tT47Y WVgipTro8dbgeg==; Original-Received: from [87.69.77.57] (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 1pP5r1-0000bM-7u; Mon, 06 Feb 2023 13:04:35 -0500 In-Reply-To: <87zg9qohk1.fsf@tullinup.koldfront.dk> (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254992 Archived-At: > Date: Mon, 06 Feb 2023 18:00:14 +0100 > From: Adam Sjøgren via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > If I open a zip archive in Emacs, I get a listing of files within the > archive, and I can edit the files by pressing RET, and if I then save > the file, Emacs updates the archive. > > However, if the zip archive doesn't have ".zip" (or ".jar") at the end > of the filename, Emacs instead of updating the archive opened, creates a > new archive with ".zip" added. AFAIR, Emacs uses the 'zip' program to create or update a zip archive, and I suspect that the fact the archive has .zip appended is because that's what the 'zip' program does. Did you try looking at the command that Emacs invokes when you update a member of the archive?