unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58253: Add a command to show a diff before `M-x recover-this-file'
@ 2022-10-02 15:44 Stefan Kangas
  2022-10-02 15:58 ` Visuwesh
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2022-10-02 15:44 UTC (permalink / raw)
  To: 58253

Severity: wishlist

After a crash with a file with unsaved changes, Emacs says:

    <foo> has auto save data; consider M-x recover-this-file

My usual response if I care enough about the file, and it is not under
version control, is to manually make a copy of it, run M-x
recover-this-file, save the resulting file, and then check the diff
between the resulting file and the copy.

It would be useful with a command to show the diff directly from Emacs.

This was previously discussed in:
https://lists.gnu.org/r/emacs-devel/2022-10/msg00065.html





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

* bug#58253: Add a command to show a diff before `M-x recover-this-file'
  2022-10-02 15:44 bug#58253: Add a command to show a diff before `M-x recover-this-file' Stefan Kangas
@ 2022-10-02 15:58 ` Visuwesh
  2022-10-02 16:08   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Visuwesh @ 2022-10-02 15:58 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 58253

[ஞாயிறு அக்டோபர் 02, 2022] Stefan Kangas wrote:

> Severity: wishlist
>
> After a crash with a file with unsaved changes, Emacs says:
>
>     <foo> has auto save data; consider M-x recover-this-file
>
> My usual response if I care enough about the file, and it is not under
> version control, is to manually make a copy of it, run M-x
> recover-this-file, save the resulting file, and then check the diff
> between the resulting file and the copy.
>
> It would be useful with a command to show the diff directly from Emacs.
>
> This was previously discussed in:
> https://lists.gnu.org/r/emacs-devel/2022-10/msg00065.html

I think this is another duplicate of bug#52242.





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

* bug#58253: Add a command to show a diff before `M-x recover-this-file'
  2022-10-02 15:58 ` Visuwesh
@ 2022-10-02 16:08   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2022-10-02 16:08 UTC (permalink / raw)
  To: Visuwesh; +Cc: 58253

forcemerge 52242 58253
thanks

Visuwesh <visuweshm@gmail.com> writes:

> I think this is another duplicate of bug#52242.

I think that's correct, so I've merged them.





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

end of thread, other threads:[~2022-10-02 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-02 15:44 bug#58253: Add a command to show a diff before `M-x recover-this-file' Stefan Kangas
2022-10-02 15:58 ` Visuwesh
2022-10-02 16:08   ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).