unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31050: 27.0.50; command for restoring backups
@ 2018-04-03 18:06 Charles A. Roelli
  2019-07-14 13:27 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Charles A. Roelli @ 2018-04-03 18:06 UTC (permalink / raw)
  To: 31050

There's already a command for recovering an "auto-save" file (M-x
recover-file), but no command for restoring a backup file.  We should
add one.  It might also be helpful to bind it in the "File" menu of
the menu-bar.





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

* bug#31050: 27.0.50; command for restoring backups
  2018-04-03 18:06 bug#31050: 27.0.50; command for restoring backups Charles A. Roelli
@ 2019-07-14 13:27 ` Lars Ingebrigtsen
  2019-10-03  2:37   ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-14 13:27 UTC (permalink / raw)
  To: Charles A. Roelli; +Cc: 31050

charles@aurox.ch (Charles A. Roelli) writes:

> There's already a command for recovering an "auto-save" file (M-x
> recover-file), but no command for restoring a backup file.  We should
> add one.  It might also be helpful to bind it in the "File" menu of
> the menu-bar.

Hm...  Well, there may be a number of backup files (~3~ etc), while
there's only one auto-save file...  and, also, recovering an auto-save
file is really recovering something that's a work in progress, which
reverting to a backup file is more akin to reverting to an older version
in a version control system.

So I'm not sure whether such a command makes that much sense -- it's
something that might be used to seldom that nobody would remember that
it's there, and looking at old versions of files is really easy using
any of the standard ways of looking at files.

Any opinions?

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





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

* bug#31050: 27.0.50; command for restoring backups
  2019-07-14 13:27 ` Lars Ingebrigtsen
@ 2019-10-03  2:37   ` Stefan Kangas
  2019-10-03 14:59     ` Lars Ingebrigtsen
  2019-10-03 16:03     ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Kangas @ 2019-10-03  2:37 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 31050, Charles A. Roelli

Lars Ingebrigtsen <larsi@gnus.org> writes:

> charles@aurox.ch (Charles A. Roelli) writes:
>
> > There's already a command for recovering an "auto-save" file (M-x
> > recover-file), but no command for restoring a backup file.  We should
> > add one.  It might also be helpful to bind it in the "File" menu of
> > the menu-bar.
>
> Hm...  Well, there may be a number of backup files (~3~ etc), while
> there's only one auto-save file...  and, also, recovering an auto-save
> file is really recovering something that's a work in progress, which
> reverting to a backup file is more akin to reverting to an older version
> in a version control system.
>
> So I'm not sure whether such a command makes that much sense -- it's
> something that might be used to seldom that nobody would remember that
> it's there, and looking at old versions of files is really easy using
> any of the standard ways of looking at files.
>
> Any opinions?

Such a command doesn't make much sense to me either.

Best regards,
Stefan Kangas





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

* bug#31050: 27.0.50; command for restoring backups
  2019-10-03  2:37   ` Stefan Kangas
@ 2019-10-03 14:59     ` Lars Ingebrigtsen
  2019-10-03 16:03     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-03 14:59 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 31050, Charles A. Roelli

Stefan Kangas <stefan@marxist.se> writes:

> Such a command doesn't make much sense to me either.

OK; closing as "wontfix".

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





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

* bug#31050: 27.0.50; command for restoring backups
  2019-10-03  2:37   ` Stefan Kangas
  2019-10-03 14:59     ` Lars Ingebrigtsen
@ 2019-10-03 16:03     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2019-10-03 16:03 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 31050, larsi, charles

> From: Stefan Kangas <stefan@marxist.se>
> Date: Thu, 3 Oct 2019 04:37:00 +0200
> Cc: 31050@debbugs.gnu.org, "Charles A. Roelli" <charles@aurox.ch>
> 
> > Hm...  Well, there may be a number of backup files (~3~ etc), while
> > there's only one auto-save file...  and, also, recovering an auto-save
> > file is really recovering something that's a work in progress, which
> > reverting to a backup file is more akin to reverting to an older version
> > in a version control system.
> >
> > So I'm not sure whether such a command makes that much sense -- it's
> > something that might be used to seldom that nobody would remember that
> > it's there, and looking at old versions of files is really easy using
> > any of the standard ways of looking at files.
> >
> > Any opinions?
> 
> Such a command doesn't make much sense to me either.

Doesn't revert-buffer already provide this capability?





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

end of thread, other threads:[~2019-10-03 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-03 18:06 bug#31050: 27.0.50; command for restoring backups Charles A. Roelli
2019-07-14 13:27 ` Lars Ingebrigtsen
2019-10-03  2:37   ` Stefan Kangas
2019-10-03 14:59     ` Lars Ingebrigtsen
2019-10-03 16:03     ` Eli Zaretskii

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).