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 #32 received at 16884 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 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 19:28:51 +0100
On Wed, Feb 26, 2014 at 7:20 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> Dired on Windows uses ls-lisp.el, not a real ls program.

Yep, you're right. But dired is documented to accept wildcards:

  Dired displays a list of files in dirname (which may also have
  shell wildcards appended to select certain files).

so, in any platform, I wouldn't expect it to throw an error if the
wildcard matches no file.

However, if I set

 (setq insert-directory-program "c:/bin/gnu/bin/ls.exe"
       ls-lisp-use-insert-directory-program t)

then (dired "C:/windows/temp/foo/*") does indeed throw an error.

Is that the expected behavior? It seems like a bug to me (just not in
desktop.el, but dired.el).




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

Previous Next


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