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: Adding --no-add-suffix to zip patch Date: Tue, 07 Feb 2023 05:27:49 +0200 Message-ID: <83k00up32i.fsf@gnu.org> References: <87ilgeoc4w.fsf@tullinup.koldfront.dk> <8574C128-9560-490A-88E6-49E415BBDB24@netyu.xyz> 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="10952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: asjo@koldfront.dk, 61326@debbugs.gnu.org To: Ruijie Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 07 04:29:07 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 1pPEfL-0002f9-JH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Feb 2023 04:29:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPEeL-0001Wa-EZ; Mon, 06 Feb 2023 22:28:05 -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 1pPEeI-0001VT-QL for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 22:28:03 -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 1pPEeI-0004S9-Hx for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 22:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPEeI-00079k-C1 for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 22:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2023 03:28:02 +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.167574046627466 (code B ref 61326); Tue, 07 Feb 2023 03:28:02 +0000 Original-Received: (at 61326) by debbugs.gnu.org; 7 Feb 2023 03:27:46 +0000 Original-Received: from localhost ([127.0.0.1]:50550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPEe1-00078q-VU for submit@debbugs.gnu.org; Mon, 06 Feb 2023 22:27:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPEe0-00078Y-P0 for 61326@debbugs.gnu.org; Mon, 06 Feb 2023 22:27:45 -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 1pPEdt-0004P6-78; Mon, 06 Feb 2023 22:27:37 -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=gicD7wLKfwcy30i98lR0xBl9F0qp9IRrIFkg3Xlj4IQ=; b=hhd7faInxdJNOI1y+Nbi XIiC1hAYtZsTJj13UBRH6sMMaeDHteuOojVNFOw2mq8t4tSL7ZO84VxvU+fy7iTjsyBGDrJ2JjHGa DRvztdDUgli2swvrN5FPsYN4REDunuUL9an/i2e11iPgO2Uqm0wtIN2IEWTOl+s1TW3SwxF33hWuV bvz8L8uCWRoSNE1y+aCPIWy1AX8Gvqcb0pKmFZ3124NDTvpEUlRwQMJxtN8VKrt8JcyeYE5lA1Dws qRs2YbrfSPll+uad5U2tqTWJ5GREJw+FpKtZJjtkwmaZy3z5AAys+coBPu64p9G9RaL6S3wQxdm41 jvSqSN0BLfQ/pA==; 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 1pPEds-0001j9-KJ; Mon, 06 Feb 2023 22:27:36 -0500 In-Reply-To: <8574C128-9560-490A-88E6-49E415BBDB24@netyu.xyz> (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:255014 Archived-At: > Cc: 61326@debbugs.gnu.org > Date: Tue, 7 Feb 2023 09:31:11 +0800 > From: Ruijie Yu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Maybe, at least in the meantime, we change it such that all write operations for zip create files in temp, and move to / overwrite the original file when done? Although I don’t have a full understanding on how that would be done and whether there are problems along with it. How about submitting a patch to do that, but only when the original file doesn't have an extension?