From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61326: [DRAFT PATCH v3] Work around zip's filename extension limitation (was: Adding --no-add-suffix to zip patch) Date: Sun, 05 Mar 2023 23:23:59 +0800 Message-ID: References: <87ilgeoc4w.fsf@tullinup.koldfront.dk> <8574C128-9560-490A-88E6-49E415BBDB24@netyu.xyz> <83k00up32i.fsf@gnu.org> <83bkm4nihw.fsf@gnu.org> <83zg8sahin.fsf@gnu.org> <83jzzwa6u3.fsf@gnu.org> Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4856"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 30.0.50 Cc: asjo@koldfront.dk, 61326@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 05 16:39:12 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 1pYqS8-0000xg-35 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Mar 2023 16:39:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYqS0-0006Re-9g; Sun, 05 Mar 2023 10:39:04 -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 1pYqRz-0006RL-8U for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 10:39: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 1pYqRy-0007fZ-RD for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 10:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYqRy-00046Q-7p for bug-gnu-emacs@gnu.org; Sun, 05 Mar 2023 10:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Mar 2023 15:39: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.167803073015752 (code B ref 61326); Sun, 05 Mar 2023 15:39:02 +0000 Original-Received: (at 61326) by debbugs.gnu.org; 5 Mar 2023 15:38:50 +0000 Original-Received: from localhost ([127.0.0.1]:40345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYqRl-00045z-Si for submit@debbugs.gnu.org; Sun, 05 Mar 2023 10:38:50 -0500 Original-Received: from netyu.xyz ([152.44.41.246]:42216 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYqRj-00045r-KJ for 61326@debbugs.gnu.org; Sun, 05 Mar 2023 10:38:48 -0500 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 9a14214a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 5 Mar 2023 15:38:46 +0000 (UTC) In-reply-to: <83jzzwa6u3.fsf@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:257355 Archived-At: Eli Zaretskii writes: >> From: Ruijie Yu >> Cc: asjo@koldfront.dk, 61326@debbugs.gnu.org >> Date: Sat, 04 Mar 2023 22:56:21 +0800 >> >> > I see that you don't have a copyright assignment on file, so would you >> > like me to send you the form to fill, which will start the legal >> > paperwork of assigning the copyright to the FSF? Once that is >> > completed, we can install these changes. >> > >> > Thanks. >> >> Please do, thanks. > > Form sent off-list. Response sent to assign@gnu, thanks. By the way, while writing tests, I see a need to modify `archive-expunge' to accept an additional optional argument FORCE acting as the prefix argument. I suppose if this is favored, I should probably say something in the etc/NEWS file (as well as the docstring, and maybe an info page somewhere)? FTR, previously prefix arguments are ignored for `archive-expunge'. The reason for the need of a FORCE argument is so that I want to ensure that file contents are correct after deleting a member using archive-mode functionalities without getting prompted for confirmation. However, `archive-expunge' ATM requires a user prompt via its baked-in `yes-or-no-p' call. An alternative to the above is to move the meat of said function into a new internal helper function which simply skips over prompting the user. This would keep the `archive-expunge' API untouched. A new draft iteration should be here in a few days, with the question(s) above answered. Thanks. -- Best, RY