GNU bug report logs - #17351
Trunk emacs splats .emacs.desktop at startup

Previous Next

Package: emacs;

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

From: Juri Linkov <juri <at> jurta.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Alan Mackenzie <acm <at> muc.de>, 17351 <at> debbugs.gnu.org
Subject: bug#17351: Trunk emacs splats .emacs.desktop at startup
Date: Fri, 04 Jul 2014 02:35:00 +0300
>> But another case is when the errors are in the init file, and the buffer
>> *Warnings* is displayed.  The remaining problem is that the buffer
>> *Warnings* becomes hidden behind the restored window configuration,
>> so the user has no indication about the errors in the init file.
>
> That seems unrelated to this report?

Fortunately, it doesn't cause the desktop file corruption,
so I created a separate bug#17927.

It seems for this bug#17351 to be closed, what remains to do is
to generate a backup copy of the desktop file.  I see two ways:

1. manually write a backup file once after reading the desktop
   and locking it.  This solution fits into the current design
   of desktop.el.

2. Use normal mechanisms of making a backup and locking
   by using save-buffer instead of write-region, but this
   will cause more problems (including in the recentf list, etc.)




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.