reddit / emacs

recover-session recovers only 1 file

igoryon · 2022-10-03 23:21
Can't figure out, how to recover all of the files from the session. I try: M+x recover-session I get these sessions: To recover a session, move to it and type C-c C-c. To delete a session file, type d on its line to flag the file for deletion, then x to delete flagged files. /home/igor/.emacs.d/auto-save-list: wildcard .saves-* -rw-rw-r-- 1 igor igor 412 окт 1 10:34 .saves-3476530-cooldown-nb-acer~ -rw-rw-r-- 1 igor igor 0 сен 23 18:43 .saves-1658403-cooldown-nb-acer~ -rw-rw-r-- 1 igor igor 50 сен 12 08:01 .saves-2629904-cooldown-nb-acer~ -rw-rw-r-- 1 igor igor 0 сен 11 21:36 .saves-1127249-cooldown-nb-acer~ -rw-rw-r-- 1 igor igor 1200 авг 22 20:22 .saves-246934-cooldown-nb-acer~ -rw-rw-r-- 1 igor igor 70 авг 8 07:57 .saves-1988372-cooldown-nb-acer~ I choose the most recent one: -rw-rw-r-- 1 igor igor 412 окт 1 10:34 .saves-3476530-cooldown-nb-acer~ It's internals show, that there are 3 files (2 of them are important \*.pl): /home/igor/projects/git/test/www-mechanize/cookbook/00.cookbook.pl /home/igor/projects/git/test/www-mechanize/cookbook/#00.cookbook.pl# /home/igor/projects/git/test/www-mechanize/cookbook/00.lwp.proxy.pl /home/igor/projects/git/test/www-mechanize/cookbook/#00.lwp.proxy.pl# /home/igor/.emacs.d/auto-save-list/.saves-2629904-cooldown-nb-acer~ /home/igor/.emacs.d/auto-save-list/#.saves-2629904-cooldown-nb-acer~# Then I do C-c C-c and it openes only the 1st file from the list [00.cookbook.pl](https://00.cookbook.pl), then it recovers it from #[00.cookbook.pl](https://00.cookbook.pl)\# and stops recovering session. It doesn't open neither the [00.lwp.proxy.pl](https://00.lwp.proxy.pl), nor the older session file, that was previously open.
mee8Ti6Eit · 2022-10-04 04:44
because those files are not recoverable. You can check if those # files exist. If they don't, there is nothing to recover.
igoryon · 2022-10-08 05:52
They existed and after trying to recover the list of files over and over with different variations of doing it and each time, recovery stopping after the 1st file, I just went and did the manual recover of the rest files, that weren't recovered by M-x recover-session.