unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered"
@ 2008-09-04 16:28 Yary Hluchan
  2008-09-05  9:58 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Yary Hluchan @ 2008-09-04 16:28 UTC (permalink / raw)
  To: emacs-pretest-bug

I'm running Emacs 23 on a laptop, and the laptop sometimes loses power.
That's not the problem.

When I boot and restart Emacs, I go to the File menu > "Recover Crashed
Session", it brings up a window like so:

 Move to the session you want to recover,
 then type C-c C-c to select it.

 You can also delete some of these files;
 type d on a line to mark that file for deletion.

  c:/Documents and Settings/Stephen Edwards/Application Data/.emacs.d/auto-save-list:
  wildcard .saves-*
  total used in directory 5 available 21636216
  -rw-rw-rw-  1 Yary None  778 09-02 16:13 .saves-360-POPNOTE~
  -rw-rw-rw-  1 Yary None  382 08-15 09:21 .saves-1648-POPNOTE~
  -rw-rw-rw-  1 Yary None  138 08-10 15:06 .saves-2560-POPNOTE~
...

I put the cursor on the first line (".saves-360-POPNOTE~") and hit
C-c C-C, and get this error in *Messages*:

No files can be recovered from this session now

That error happens for any of the .saves files

The contents of .saves-360-POPNOTE~:
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/process_files_new.php
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#process_files_new.php#
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/local_file.php
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#local_file.php#
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/filepath.php
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#filepath.php#

The files exist, the temp files do not exist- in this case, I had
saved all my work.

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-09-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Dired by date

Minor modes in effect:
  recentf-mode: t
  partial-completion-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <file> <recover-session> <down> 
<down> <up> <up> <return> C-x 2 C-x k <return> <help-echo> 
<help-echo> <down-mouse-1> <mouse-2> <left> C-x o <left> 
<left> <left> <left> <left> <left> C-c C-c <escape> 
x r e p o <tab> r t - e m <tab> <return>

Recent messages:

File error: Cannot open load file, menuacc

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

For information about GNU Emacs and the GNU system, type C-h C-a.
call-interactively: Beginning of buffer
No files can be recovered from this session now






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered"
  2008-09-04 16:28 bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered" Yary Hluchan
@ 2008-09-05  9:58 ` Eli Zaretskii
  2008-09-05 16:39   ` Yary Hluchan
  2011-07-06 18:05 ` Lars Magne Ingebrigtsen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2008-09-05  9:58 UTC (permalink / raw)
  To: Yary Hluchan, 889; +Cc: emacs-pretest-bug

> Date: Thu, 04 Sep 2008 09:28:52 -0700
> From: Yary Hluchan <yary@apicom.com>
> Cc: 
> 
> The files exist, the temp files do not exist- in this case, I had
> saved all my work.

Please clarify: which of the files you mentioned in your report exist
and which don't.

Thanks.






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered"
  2008-09-05  9:58 ` Eli Zaretskii
@ 2008-09-05 16:39   ` Yary Hluchan
  0 siblings, 0 replies; 10+ messages in thread
From: Yary Hluchan @ 2008-09-05 16:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 889, emacs-pretest-bug

These files exist:
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/process_files_new.php
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/local_file.php
c:/Documents and Settings/Stephen Edwards/My Documents/programming projects/API/brocade/src/mantis-trunk/phase3/filepath.php

These files don't exist:
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#process_files_new.php#
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#local_file.php#
c:\Documents and Settings\Stephen Edwards\My Documents\programming projects\API\brocade\src\mantis-trunk\phase3\#filepath.php#

-y

~~~~~

The Moon is Waxing Crescent (32% of Full)






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered"
  2008-09-04 16:28 bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered" Yary Hluchan
  2008-09-05  9:58 ` Eli Zaretskii
@ 2011-07-06 18:05 ` Lars Magne Ingebrigtsen
  2011-08-06 11:56 ` bug#889: Reopen #889 era eriksson
  2015-02-26  7:29 ` bug#889: recover-buffers moved era eriksson
  3 siblings, 0 replies; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-06 18:05 UTC (permalink / raw)
  To: Yary Hluchan; +Cc: 889

Yary Hluchan <yary@apicom.com> writes:

> I'm running Emacs 23 on a laptop, and the laptop sometimes loses power.
> That's not the problem.
>
> When I boot and restart Emacs, I go to the File menu > "Recover Crashed
> Session", it brings up a window like so:
>
>  Move to the session you want to recover,
>  then type C-c C-c to select it.
>
>  You can also delete some of these files;
>  type d on a line to mark that file for deletion.
>
>   c:/Documents and Settings/Stephen Edwards/Application Data/.emacs.d/auto-save-list:
>   wildcard .saves-*
>   total used in directory 5 available 21636216
>   -rw-rw-rw-  1 Yary None  778 09-02 16:13 .saves-360-POPNOTE~
>   -rw-rw-rw-  1 Yary None  382 08-15 09:21 .saves-1648-POPNOTE~
>   -rw-rw-rw-  1 Yary None  138 08-10 15:06 .saves-2560-POPNOTE~
> ...
>
> I put the cursor on the first line (".saves-360-POPNOTE~") and hit
> C-c C-C, and get this error in *Messages*:
>
> No files can be recovered from this session now

I'm unable to reproduce this bug in Emacs 24.  If I have a ~/.saves-*
file, where some of the files are deleted, and some are not, `M-x
recover-session' correctly recovers the non-deleted files.

So either this bug has been fixed by now, or there's something in your
setup I'm now able to reproduce.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: Reopen #889
  2008-09-04 16:28 bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered" Yary Hluchan
  2008-09-05  9:58 ` Eli Zaretskii
  2011-07-06 18:05 ` Lars Magne Ingebrigtsen
@ 2011-08-06 11:56 ` era eriksson
  2022-02-20 14:01   ` bug#889: 23.0.60; "Recover Crashed Session" is misleading Lars Ingebrigtsen
  2015-02-26  7:29 ` bug#889: recover-buffers moved era eriksson
  3 siblings, 1 reply; 10+ messages in thread
From: era eriksson @ 2011-08-06 11:56 UTC (permalink / raw)
  To: 889, control

reopen 889
thanks

[Resend -- attempted to reopen before, with a Cc: to Larsi.]

On Wed, 06 Jul 2011 20:05:18 +0200, Lars Magne Ingebrigtsen
<larsi@gnus.org> wrote:
> I'm unable to reproduce this bug in Emacs 24.  If I have a ~/.saves-*
> file, where some of the files are deleted, and some are not, `M-x
> recover-session' correctly recovers the non-deleted files.
> So either this bug has been fixed by now, or there's something in your
> setup I'm now able to reproduce.

Larsi, I think you misunderstand the issue.  My understanding is that this is a feature request: recover-session should recover your entire session after a crash, which it doesn't do, and never has done.

Reopening; obviously, feel free to reclose if I am mistaken (and / or there really is such functionality in Emacs24 now.  Cursory review of the bzr head suggests that there isn't).

/* era */

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


/* era */

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






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: recover-buffers moved
  2008-09-04 16:28 bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered" Yary Hluchan
                   ` (2 preceding siblings ...)
  2011-08-06 11:56 ` bug#889: Reopen #889 era eriksson
@ 2015-02-26  7:29 ` era eriksson
  3 siblings, 0 replies; 10+ messages in thread
From: era eriksson @ 2015-02-26  7:29 UTC (permalink / raw)
  To: 889

In case somebody still wants to take a look, the recover-buffers code is
now hosted on Github.

https://github.com/tripleee/recover-buffers

The current license is dual GPL/BSD but if you would like to consider
inclusion with Emacs, I'd be happy to change it.

/* era */

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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" is misleading
  2011-08-06 11:56 ` bug#889: Reopen #889 era eriksson
@ 2022-02-20 14:01   ` Lars Ingebrigtsen
  2022-03-21 18:31     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-20 14:01 UTC (permalink / raw)
  To: era eriksson; +Cc: 889, control

"era eriksson" <era@iki.fi> writes:

> Larsi, I think you misunderstand the issue.  My understanding is that
> this is a feature request: recover-session should recover your entire
> session after a crash, which it doesn't do, and never has done.

The function is defined to:

---
Recover auto save files from a previous Emacs session.
---

Which I think it does successfully?

> In case somebody still wants to take a look, the recover-buffers code is
> now hosted on Github.
>
> https://github.com/tripleee/recover-buffers
>
> The current license is dual GPL/BSD but if you would like to consider
> inclusion with Emacs, I'd be happy to change it.

If you want to restore the session from where you left off, I think the
recommended way to do that is to use the desktop package.
recover-session is more lightweight, and your proposed recover-buffers
(if I read the code correctly) sort of automates some bits of what
recover-session does?

I can't really remember much demand for something like this in Emacs,
since there are already other packages like desktop that's meant for
this, so I'm not sure it makes sense to add something like
recover-buffers to Emacs.  Does anybody else have an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" is misleading
  2022-02-20 14:01   ` bug#889: 23.0.60; "Recover Crashed Session" is misleading Lars Ingebrigtsen
@ 2022-03-21 18:31     ` Lars Ingebrigtsen
  2022-03-22  5:09       ` era
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2022-03-21 18:31 UTC (permalink / raw)
  To: era eriksson; +Cc: 889, control

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I can't really remember much demand for something like this in Emacs,
> since there are already other packages like desktop that's meant for
> this, so I'm not sure it makes sense to add something like
> recover-buffers to Emacs.  Does anybody else have an opinion here?

Nobody had an opinion here in a month, so I'm closing this as a "wontfix".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" is misleading
  2022-03-21 18:31     ` Lars Ingebrigtsen
@ 2022-03-22  5:09       ` era
  2022-03-22 13:02         ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: era @ 2022-03-22  5:09 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 889

On Mon, Mar 21, 2022, at 20:31, Lars Ingebrigtsen wrote:
> Nobody had an opinion here in a month, so I'm closing this as a "wontfix".

The actual  bug report here is that  the description of what "recover-buffers" does is vaguely wrong.

I reported it because I came across people who thought it was supposed to do more.

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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#889: 23.0.60; "Recover Crashed Session" is misleading
  2022-03-22  5:09       ` era
@ 2022-03-22 13:02         ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2022-03-22 13:02 UTC (permalink / raw)
  To: era; +Cc: 889, larsi

> Date: Tue, 22 Mar 2022 07:09:54 +0200
> From: era <era+emacs@iki.fi>
> Cc: 889@debbugs.gnu.org
> 
> On Mon, Mar 21, 2022, at 20:31, Lars Ingebrigtsen wrote:
> > Nobody had an opinion here in a month, so I'm closing this as a "wontfix".
> 
> The actual  bug report here is that  the description of what "recover-buffers" does is vaguely wrong.
> 
> I reported it because I came across people who thought it was supposed to do more.

The current doc string says:

  Recover auto save files from a previous Emacs session.
  This command first displays a Dired buffer showing you the
  previous sessions that you could recover from.
  To choose one, move point to the proper line and then type C-c C-c.
  Then you’ll be asked about a number of files to recover.

This is quite descriptive, IMO, but if you can point out where are the
potentially confusing parts, maybe we could make it even better.

For example, if we reword the first sentence like this:

  Recover your edits saved in auto-save files by previous Emacs sessions.

will the doc string be less confusing?  Any other suggestions?

Thanks.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-22 13:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 16:28 bug#889: 23.0.60; "Recover Crashed Session" fails "No files can be recovered" Yary Hluchan
2008-09-05  9:58 ` Eli Zaretskii
2008-09-05 16:39   ` Yary Hluchan
2011-07-06 18:05 ` Lars Magne Ingebrigtsen
2011-08-06 11:56 ` bug#889: Reopen #889 era eriksson
2022-02-20 14:01   ` bug#889: 23.0.60; "Recover Crashed Session" is misleading Lars Ingebrigtsen
2022-03-21 18:31     ` Lars Ingebrigtsen
2022-03-22  5:09       ` era
2022-03-22 13:02         ` Eli Zaretskii
2015-02-26  7:29 ` bug#889: recover-buffers moved era eriksson

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).