Questions tagged [recover]

10 questions
4
votes
1 answer

Recovering multiple files

After a crash, I can recover-this-file, but, if I don't know which of many files may have been unsaved at the time of the crash, how can I find out? Can I recover them all in one go?
Toothrot
  • 3,204
  • 1
  • 12
  • 30
4
votes
2 answers

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…
djangoliv
  • 3,169
  • 16
  • 31
2
votes
1 answer

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

Using Emacs 26.1, I have enabled dired-omit-mode globally with (add-hook 'dired-mode-hook #'dired-omit-mode). When using recover-session, I don't see any files. How to fix this? Creating a .dir-locals.el containing ((dired-mode (dired-omit-mode)))…
Nova
  • 1,059
  • 9
  • 21
2
votes
0 answers

Isn't there a better way to recover a crashed session?

I have the misfortune of having been issued a Mac for work. It crashes regularly. To add insult to injury, Emacs doesn't seem to be very good at recovering from these crashes. There is a recover-session command, but Emacs considers itself to have…
1
vote
1 answer

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

I was using emacs (XEmacs actually) and using the scratch buffer to experiment with regular expressions for a regex-replace operation that was giving me trouble. That has nothing to do with the problem, just setting the context. A power failure…
Byron Dom
  • 33
  • 4
0
votes
0 answers

Can I recover the contents of a scratch buffer?

Using Ubuntu 22.04. I accidentally closed a scratch buffer that I had notes in. Can I recover those contents?
JonahHuron
  • 111
  • 1
0
votes
1 answer

Mac restart loses buffer state silently

I installed 28.2 on Monterey via Homebrew (as a cask). I have desktop-save-mode set; auto-save-* options are all default. Recently, I restarted the computer for updates; apparently I had somehow not saved an important Org file beforehand (although…
Nathan Tuggy
  • 111
  • 5
0
votes
1 answer

How to recover from a backup file

I can recover a file from an auto-save via M-x recover-this-file. So far so good. But how can I recover a file from it's last backup (if, of course, I have switched backups on)?
halloleo
  • 1,215
  • 9
  • 23
0
votes
0 answers

user-error: Minibuffer window is not active

I want to recover a file from system failure M-x recover-file It did not restore the auto-saved file, but to throw an error: /var/folders/n8/dz3thx0x4sd2p8zdqyqbflrc0000gn/T/#!Users!gaowei!desktop!pubrepo!org!projects.org# not current user-error:…
user10726006
  • 161
  • 7
0
votes
1 answer

Emacs recover-session: which session should I recover?

My OS locked up while using Emacs. So I hard boot, reopen Emacs, and M-x recover-session. The OS locked up at Jul 6 3:05, there are two autosave sessions at 03:04 Which of the two 3:04 sessions should I use? Also, please explain the right…
wolfv
  • 1,403
  • 1
  • 13
  • 30