unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#889: "Recover Crashed Session" fails "No files can be recovered"
@ 2008-12-18  8:15 era+emacsbugs
  0 siblings, 0 replies; 2+ messages in thread
From: era+emacsbugs @ 2008-12-18  8:15 UTC (permalink / raw)
  To: 889

> No files can be recovered from this session now
<...>
> The files exist, the temp files do not exist- in this case, I had
> saved all my work.

I think this is basically a misunderstanding of what "recover-session"
does.

Emacs saves some state while you are editing.  These are stored in the
temporary files you see in the .saves-* file.  If you have unsaved
changes, recover-session can help you reclaim the unsaved data from the
temporary files into the proper files.

It does not "recover" your "session" back to the way it was before the
crash.  (The package "desktop" does something like this, but you have to
invoke "desktop-save" explicitly in order to start it.)

The Info documentation for Emacs explains this fairly well.
http://www.gnu.org/software/emacs/manual/html_node/emacs/Recover.html

Granted, I think it would be a lot more useful if recover-session could
work in the way the reporter expected.

In the meantime, perhaps the docstring for recover-session should be
clarified.

I have a private bit of elisp I call "recover-buffers" but it's not on
the machine where I'm writing this.  Remind me to follow up here with a
pointer to a public repository in a few weeks.  Thanks.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.







^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <200901121749.n0CHnLDW006634@bell.apicom.com>]

end of thread, other threads:[~2009-01-14  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18  8:15 bug#889: "Recover Crashed Session" fails "No files can be recovered" era+emacsbugs
     [not found] <200901121749.n0CHnLDW006634@bell.apicom.com>
2009-01-14  7:30 ` era+emacsbugs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).