GNU bug report logs - #56605
editing a file from an archive can die with a message that says nothing to a random user

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sat, 16 Jul 2022 19:35:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56605 in the body.
You can then email your comments to 56605 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56605; Package emacs. (Sat, 16 Jul 2022 19:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 16 Jul 2022 19:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: editing a file from an archive can die with a message that says
 nothing to a random user
Date: Sat, 16 Jul 2022 21:34:04 +0200
[Message part 1 (text/plain, inline)]
GNU Emacs 28.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.33,
cairo version 1.16.0) of 2022-05-24

1. Open any archive (tested with JAR and TAR)
2. Open any file from said archive (in a separate buffer)
3. Switch to the archive buffer and kill it
4. Go to the file buffer from step 2, modify it and try to save
5. Saving dies with "Selecting deleted buffer" error

I'm not sure what the behavior should be (most user-friendly: silently
reopen the archive if it still exists), but it certainly shouldn't be "I
will die with some internal error, let user decifer what that means".

Paul
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56605; Package emacs. (Sun, 17 Jul 2022 09:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 56605 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 56605 <at> debbugs.gnu.org
Subject: Re: bug#56605: editing a file from an archive can die with a
 message that says nothing to a random user
Date: Sun, 17 Jul 2022 11:16:48 +0200
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

> I'm not sure what the behavior should be (most user-friendly: silently
> reopen the archive if it still exists), but it certainly shouldn't be
> "I will die with some internal error, let user decifer what that
> means".

I've now made the error message clearer in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 56605 <at> debbugs.gnu.org and Paul Pogonyshev <pogonyshev <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 17 Jul 2022 09:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Aug 2022 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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