Skip to main content

Questions tagged [recover]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Prevent emacs from automatically overwriting non-current auto-save file

I wanted to recover a file after a little unexpected shutdown. So I opened the file in Emacs and ran recover-this-file. Emacs responded with Auto-save file not current - fine, I thought, let me look ...
xeruf's user avatar
  • 354
0 votes
0 answers
134 views

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's user avatar
0 votes
1 answer
43 views

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 ...
Nathan Tuggy's user avatar
1 vote
1 answer
603 views

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 ...
Byron Dom's user avatar
0 votes
1 answer
129 views

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's user avatar
  • 1,345
2 votes
1 answer
143 views

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-...
Nova's user avatar
  • 1,119
0 votes
0 answers
741 views

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!...
user10726006's user avatar
0 votes
1 answer
373 views

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 ...
wolfv's user avatar
  • 1,393
2 votes
0 answers
246 views

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-...
Throw Away Account's user avatar
4 votes
1 answer
223 views

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's user avatar
  • 3,274
4 votes
2 answers
2k views

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....
djangoliv's user avatar
  • 3,199