Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories

From: Glenn Morris <[email-masked]>
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/*")