[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When suggesting a file recovery, emacs should maybe check for actual
From: |
Eli Zaretskii |
Subject: |
Re: When suggesting a file recovery, emacs should maybe check for actual changes |
Date: |
Sun, 02 Oct 2022 17:29:08 +0300 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 2 Oct 2022 07:08:52 -0700
> Cc: emacs-devel@gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Maybe emacs should check that the auto-save file is not identical before
> >> suggesting a recover-this-file. Do you agree?
> >
> > Why is it a problem that they are identical?
>
> Either the user or Emacs could verify that the files are identical.
> Currently, the user has to do that work. If it was the other way
> around, the user would not have to.
>
> Maybe I'm missing something, but I believe that in that case Emacs
> wouldn't even have to show a prompt. The recovery file could just be
> deleted, as it doesn't contain anything new.
I'm asking if this is an important enough situation to add code that
could be buggy to a feature that basically must be 110% safe?
If the file is identical, restoring from it does no harm, does it?
- When suggesting a file recovery, emacs should maybe check for actual changes, Andrea Monaco, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Eli Zaretskii, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Stefan Kangas, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes,
Eli Zaretskii <=
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Stefan Kangas, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Lars Ingebrigtsen, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Stefan Kangas, 2022/10/02
- Re: When suggesting a file recovery, emacs should maybe check for actual changes, Eli Zaretskii, 2022/10/02
Re: When suggesting a file recovery, emacs should maybe check for actual changes, Andrea Monaco, 2022/10/02