GNU bug report logs -
#16884
24.3.50; desktop-read should not die on non-existing directories
Previous Next
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 #47 received at 16884 <at> debbugs.gnu.org (full text, mbox):
On Wed, Feb 26, 2014 at 7:36 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> Yes. In just the same way as
>
> M-: (dired "/blargh") RET
>
> throws an error.
>
> This is all fine in normal use.
Well, I find it curious that dired of an empty directory or a failing
pattern match should throw an error (as I said, it doesn't on Windows
when using ls-lisp.el), but if that's the usual and time-honored
behavior, who am I to discuss it?
> 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."
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.