Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 10 characters in body
Source Link
Dan
  • 33.4k
  • 7
  • 106
  • 171

Is there a command for recover the current file from the backup ?

I have a file ~/temp.txt and some backup files !home!djangoliv!temp.txt.~1~ ... !home!djangoliv!temp.txt.~5~, !home!djangoliv!temp.txt.~6~.

I would like to load backup files from the newer version to the older one (like git-time-machine for exemple)

Here my backup configuration

  (setq auto-save-default nil)
  (setq backup-directory-alist '(("." . "~/.emacs-backup-files/")))
  (setq version-control t       
        vc-make-backup-files t  
        backup-by-copying t     
        delete-old-versions -1) 

Regards

Is there a command for recover the current file from the backup ?

I have a file ~/temp.txt and some backup files !home!djangoliv!temp.txt.~1~ ... !home!djangoliv!temp.txt.~5~, !home!djangoliv!temp.txt.~6~.

I would like to load backup files from the newer version to the older one (like git-time-machine for exemple)

Here my backup configuration

  (setq auto-save-default nil)
  (setq backup-directory-alist '(("." . "~/.emacs-backup-files/")))
  (setq version-control t       
        vc-make-backup-files t  
        backup-by-copying t     
        delete-old-versions -1) 

Regards

Is there a command for recover the current file from the backup ?

I have a file ~/temp.txt and some backup files !home!djangoliv!temp.txt.~1~ ... !home!djangoliv!temp.txt.~5~, !home!djangoliv!temp.txt.~6~.

I would like to load backup files from the newer version to the older one (like git-time-machine for exemple)

Here my backup configuration

  (setq auto-save-default nil)
  (setq backup-directory-alist '(("." . "~/.emacs-backup-files/")))
  (setq version-control t       
        vc-make-backup-files t  
        backup-by-copying t     
        delete-old-versions -1) 
Source Link
djangoliv
  • 3.3k
  • 17
  • 32

recover backup files

Is there a command for recover the current file from the backup ?

I have a file ~/temp.txt and some backup files !home!djangoliv!temp.txt.~1~ ... !home!djangoliv!temp.txt.~5~, !home!djangoliv!temp.txt.~6~.

I would like to load backup files from the newer version to the older one (like git-time-machine for exemple)

Here my backup configuration

  (setq auto-save-default nil)
  (setq backup-directory-alist '(("." . "~/.emacs-backup-files/")))
  (setq version-control t       
        vc-make-backup-files t  
        backup-by-copying t     
        delete-old-versions -1) 

Regards