help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashing Emacs, Auto Save Data and org-mode Links


From: Eric Abrahamsen
Subject: Re: Crashing Emacs, Auto Save Data and org-mode Links
Date: Sat, 19 Apr 2014 11:01:47 +0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux)

Esben Stien <b0ef@esben-stien.name> writes:

> When emacs crashes, it leaves behind auto save files. This is all fine
> and dandy. 
>
> However, after you've started emacs after a crash and you hit an
> org-mode link, org-mode opens all kinds of files from everywhere, really
> fast, because it's looking for the ID of the org-mode link.
>
> The scanning actually opens the files and you are not really notified about
> what files has been opened and what files needs a M-x
> recover-this-file. 
>
> You get a list in the *Messages* buffer and this list can be really long
> if you've not saved your work.
>
> What is the proper procedure after a crash?
>
> Is there some way to scan directories for auto save files and somehow
> clean up?; ie, to get a diff between the actual file and the auto save
> file. 


Try `recover-session' -- my understanding is that a list of all valid
auto save files is kept (in my case in ~/.emacs.d/auto-save-list), and
when you come back up after a crash you can do a bulk recover with that
command.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]