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


View this message in rfc822 format

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: bug#16884: 24.3.50; desktop-read should not die on non-existing directories
Date: Wed, 26 Feb 2014 12:28:53 -0500
Note the unusual use of "*" in the backtrace.
The problem is not "non-existing directory" as it says in the subject,
but failure to match a glob pattern.

mkdir /tmp/foo
touch /tmp/foo/1
emacs -Q
M-x dired /tmp/foo/*    ; why not just /tmp/foo ... ?
M-x desktop-save RET /tmp RET
M-x kill-emacs

rm /tmp/foo/1   ; not rm -rf /tmp/foo

emacs -Q
M-: (desktop-read "/tmp")

 -> Debugger entered--Lisp error: (file-error "Reading directory"
    "no such file or directory" "/tmp/foo/*")




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

Previous Next


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