GNU bug report logs - #16884
24.3.50; desktop-read should not die on non-existing directories

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 25 Feb 2014 19:07:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 16884 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Sam Steingold <sds <at> gnu.org>, 16884 <at> debbugs.gnu.org
Subject: Re: bug#16884: 24.3.50;
 desktop-read should not die on non-existing directories
Date: Wed, 26 Feb 2014 14:22:13 -0500
Juanma Barranquero wrote:

>> But dired-restore-desktop-buffer should trap the "glob match fails" case
>> in just the same way as it traps the "no such directory" case.
>
> Yes, if (dired "/nonexistent") errors out, we should catch it when
> restoring desktop.el. And it shouldn't ever be a with-demoted-errors,
> failing to restore buffers in desktop.el is quite silent, just a
> message at the end "X frames, Y buffers restored, Z failed to
> restore."

If you've got time to implement this nicety, go for it.
I just went with with-demoted-errors, with is consistent with the
existing "no such directory" case.




This bug report was last modified 11 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.