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>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 17351 <at> debbugs.gnu.org
Subject: bug#17351: Trunk emacs splats .emacs.desktop at startup
Date: Fri, 27 Jun 2014 02:44:01 +0300
> I could equally well say that using save-buffer will cause the desktop
> to be included in the recentf list, which some people may dislike.
> (Cf http://debbugs.gnu.org/17155)

A solution in bug#17155 was to replace `save-buffer' with `write-region'
that is already currently used by desktop.el.  This means continuing
using low-level `write-region' would be less problematic than `save-buffer'
(and normal auto-saving of a file buffer that still requires `save-buffer'
at the end of the session).

> (This topic makes me wonder if desktop could have used the standard
> interlock mechanism, rather than inventing its own version of that too.)

This would be possible if the desktop file used `save-buffer' on
a normal file buffer instead of `write-region'.




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.