bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16884: 24.3.50; desktop-read should not die on non-existing director


From: Glenn Morris
Subject: bug#16884: 24.3.50; desktop-read should not die on non-existing directories
Date: Wed, 26 Feb 2014 12:28:53 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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/*")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]