GNU bug report logs - #61326
30.0.50; Editing fil in zip file without extension save creates new file

Previous Next

Package: emacs;

Reported by: Adam Sjøgren <asjo <at> koldfront.dk>

Date: Mon, 6 Feb 2023 17:01:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: asjo <at> koldfront.dk, 61326 <at> debbugs.gnu.org
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 17:52:11 +0200
> From: Ruijie Yu <ruijie <at> netyu.xyz>
> Cc: asjo <at> koldfront.dk, 61326 <at> debbugs.gnu.org
> Date: Sun, 05 Mar 2023 23:23:59 +0800
> 
> > Form sent off-list.
> 
> Response sent to assign <at> gnu, thanks.

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.

This is a separate feature.  In Dired-like user interfaces, we always
ask the user for confirmation before deleting items; 'C-u x' in Dired
AFAIR just avoids messages when no files are flagged for deletion, but
doesn't prevent the confirmation.  So if we are going to treat
archive-expunge differently, I think we'll need a very good reason.




This bug report was last modified 2 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.