GNU bug report logs - #55877
29.0.50; list-directory doesn't allow globbing interactively

Previous Next

Package: emacs;

Reported by: chad <yandros <at> gmail.com>

Date: Thu, 9 Jun 2022 18:57:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 55877 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: chad <yandros <at> gmail.com>
Cc: 55877 <at> debbugs.gnu.org
Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing
 interactively
Date: Sat, 11 Jun 2022 13:02:03 +0200
chad <yandros <at> gmail.com> writes:

> I thought I saw an error here when list-directory with a directory (not file) glob (ex: ~
> /Project/emacs/*/) is followed by another list-directory, but I think the actual issue is
> that the default directory in the first case is set to something that doesn't exist, which
> messes up call-process in the second invocation of list-directory. The error I saw was:
>
>  Debugger entered--Lisp error: (file-missing "Setting current directory" "No such
>  file or directory" "/home/chadpbrown/Project/emacs/*/")
>    call-process("ls" nil t nil "-CF" "--" "/home/chadpbrown/Project/emacs/src/")
>    insert-directory("/home/chadpbrown/Project/emacs/src/" "-CF" nil t)
>    list-directory("~/Project/emacs/src/" nil)
>    funcall-interactively(list-directory "~/Project/emacs/src/" nil)
>    call-interactively(list-directory nil nil)
>    command-execute(list-directory)

I'm unable to reproduce this -- if I say `C-x C-d /tmp/*/ RET' it works
fine for me...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 341 days ago.

Previous Next


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