Skip to main content
6 votes
Accepted

recover backup files

Le Wang's backup-walker library facilitates this: traverse incremental diffs between backup versions open backup in traversal mode if the diff seems interesting traverse backups ...
phils's user avatar
  • 51.7k
4 votes
Accepted

Recovering multiple files

From the documentation If Emacs or the computer crashes, you can recover all the files you were editing from their auto save files with the command M-x recover-session. This first shows you a ...
Nsukami _'s user avatar
  • 6,541
3 votes
Accepted

I need to restore the *scratch* buffer from the last time I used emacs even though I killed it and had to restart

Buffers that are not saved to a file are just kept in memory. The contents of memory are lost on a reboot¹, so these buffers are gone. If you had a core dump, or a copy of your memory (such as you ...
db48x's user avatar
  • 18.4k
2 votes
Accepted

How to use `recover-session` and `dired-omit-mode` in Emacs 26 and lower?

Instead of dired-omit-mode, add a wrapper to dired-mode-hook that checks dired-directory: (defun my-turn-on-dired-omit-mode () (unless (and auto-save-list-file-prefix (string= dired-...
Nova's user avatar
  • 1,119
2 votes

recover backup files

How about this: (defun revert-to-backup () "Reverts to the latest backup file associated with the current buffer." (interactive) (let ((file (buffer-file-name))) (when file (let ((bak ...
glucas's user avatar
  • 20.6k
2 votes

Mac restart loses buffer state silently

Enable the vc-make-backup-files user option to get normal backups despite version-control. The following is essentially untested (I've just written it), but seems like it plugs a hole in the standard ...
phils's user avatar
  • 51.7k
1 vote

How to recover from a backup file

For that, I use https://github.com/lewang/backup-walker. (autoload 'backup-walker-start "backup-walker" "" t)
djangoliv's user avatar
  • 3,199

Only top scored, non community-wiki answers of a minimum length are eligible