GNU bug report logs -
#17351
Trunk emacs splats .emacs.desktop at startup
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Sat, 26 Apr 2014 18:09:02 UTC
Severity: important
Done: Juri Linkov <juri <at> jurta.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> As I see it, the point is that normal auto-save distinguishes automatic
> save from a manual save initiated by the user, by using separate files.
> Whereas desktop's version of auto-save removes that distinction.
> (But I'm not familiar with the details.)
It's possible to periodically update the desktop file buffer,
but not to save it, thus allowing normal auto-save to create
a #desktop# backup. But this might cause some problems, e.g.
modes that call `save-some-buffers' like `compilation-mode'
will ask whether to save the updated desktop file. Also it's
not clear how to restore the auto-saved backup copy after a crash.
OTOH, saving the desktop file buffer will create a desktop~ backup
that the user can restore when something goes wrong. This is
implemented in the latest patch that is intended for the trunk.
Meanwhile, I installed the patch that temporarily disables the
autosave in `desktop-read' into the emacs-24 branch, so people
won't lose the desktop in case of errors.
This bug report was last modified 10 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.