From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: era+emacsbugs@iki.fi Newsgroups: gmane.emacs.bugs Subject: bug#889: "Recover Crashed Session" fails "No files can be recovered" Date: Thu, 18 Dec 2008 10:15:46 +0200 Message-ID: <1229588146.7256.1290698721@webmail.messagingengine.com> Reply-To: era+emacsbugs@iki.fi, 889@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229623146 5537 80.91.229.12 (18 Dec 2008 17:59:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 17:59:06 +0000 (UTC) To: 889@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 19:00:13 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LDNAR-0003q9-D0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 19:00:11 +0100 Original-Received: from localhost ([127.0.0.1]:38231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDN9F-0008D5-Ed for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 12:58:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDEBF-0002V5-H3 for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 03:24:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDEBD-0002U0-6c for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 03:24:24 -0500 Original-Received: from [199.232.76.173] (port=46955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDEBD-0002To-1z for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 03:24:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40418) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDEBC-000559-HH for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 03:24:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBI8OJiI017450; Thu, 18 Dec 2008 00:24:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBI8K31x016259; Thu, 18 Dec 2008 00:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: era+emacsbugs@iki.fi Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Dec 2008 08:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 889 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 889-submit@emacsbugs.donarmstrong.com id=B889.122958815116154 (code B ref 889); Thu, 18 Dec 2008 08:20:03 +0000 Original-Received: (at 889) by emacsbugs.donarmstrong.com; 18 Dec 2008 08:15:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBI8FlR6016148 for <889@emacsbugs.donarmstrong.com>; Thu, 18 Dec 2008 00:15:48 -0800 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 4DF971E7E1B for <889@emacsbugs.donarmstrong.com>; Thu, 18 Dec 2008 03:15:46 -0500 (EST) Original-Received: from web6.messagingengine.com ([10.202.2.215]) by compute1.internal (MEProxy); Thu, 18 Dec 2008 03:15:46 -0500 Original-Received: by web6.messagingengine.com (Postfix, from userid 99) id 21FE2C775B; Thu, 18 Dec 2008 03:15:46 -0500 (EST) X-Sasl-Enc: i/5z+fxLo73IQffm3XSVnzC9P7YceYHzeOgdqnGFouYe 1229588146 Content-Disposition: inline X-Mailer: MessagingEngine.com Webmail Interface X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 18 Dec 2008 03:24:24 -0500 X-Mailman-Approved-At: Thu, 18 Dec 2008 12:48:57 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23353 Archived-At: > 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.