all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56605: editing a file from an archive can die with a message that says nothing to a random user
@ 2022-07-16 19:34 Paul Pogonyshev
  2022-07-17  9:16 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2022-07-16 19:34 UTC (permalink / raw)
  To: 56605

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 762 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#56605: editing a file from an archive can die with a message that says nothing to a random user
  2022-07-16 19:34 bug#56605: editing a file from an archive can die with a message that says nothing to a random user Paul Pogonyshev
@ 2022-07-17  9:16 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-17  9:16 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 56605

Paul Pogonyshev <pogonyshev@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-17  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 19:34 bug#56605: editing a file from an archive can die with a message that says nothing to a random user Paul Pogonyshev
2022-07-17  9:16 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.