all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem with desktop.el
@ 2006-09-08  7:07 David Kastrup
  2006-09-08 15:12 ` Richard Stallman
  0 siblings, 1 reply; 7+ messages in thread
From: David Kastrup @ 2006-09-08  7:07 UTC (permalink / raw)



Hi,

I recently had a desktop restore fail, and the reason was that instead
of the version number 206, in a lot of places instead the character
\316 had been placed.

>From scanning over the source, it would seem that this happens when
desktop restoration is not complete when one saves the desktop again.

What I imagine happened is that I accidentally started Emacs, then
pressed the "Close Window" button on the Emacs frame before loading
the desktop completed, and that Emacs then saved the incompletely
loaded desktop including inserting the version number with "insert"
while it was set to a number.

It might have happened at a read-input call asking for a "y or n"
confirmation about whether it was safe to load a particular buffer's
local variable section.

There are two problems here, I think.  One is that a desktop was saved
while loading it was still in progress.  The other is that the setting
of the desktop-file-version variable is sometimes an integer,
sometimes a string.  Maybe the latter is not a problem if desktop
saving does not happen while the load is still in progress.  But the
resulting unreadable desktop.el does not seem like a reasonable
effect.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

end of thread, other threads:[~2006-09-09  7:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08  7:07 Problem with desktop.el David Kastrup
2006-09-08 15:12 ` Richard Stallman
2006-09-08 15:47   ` David Kastrup
2006-09-08 19:41     ` David Kastrup
2006-09-08 20:29     ` Richard Stallman
2006-09-08 20:45       ` David Kastrup
2006-09-09  7:34         ` Lars Hansen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.