emacs-devel
[Top][All Lists]
Advanced

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

Re: dired-tests.el fails on MS-Windows


From: Tino Calancha
Subject: Re: dired-tests.el fails on MS-Windows
Date: Fri, 4 Aug 2017 23:49:23 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)



On Fri, 4 Aug 2017, Fabrice Popineau wrote:



2017-08-04 16:23 GMT+02:00 Fabrice Popineau <address@hidden>:


Actually, the problem seems to be in the `insert-directory-wildcard-in-dir-p' 
function
which wrongly splits "c:/tmp/dir*/*.txt" in ("c:/tmp/" . "dir*/*.txt") instead 
of
("c:/tmp/dir*/" . "*.txt")

Forget this (wrong) diagnostic.

The culprit is actually 

(let ((default-directory "c:/tmp/"))
  (eshell-extended-glob "dir*/*.txt"))
"dir*/*.txt" 

which fails to expand the wildcards (when `file-expand-wildcards' succeeds).
Thank you Fabrice,
that's interesing. I am just wondering if `eshell-extended-glob' gets confused with the Windows path, i mean, the disk name 'c:' in front.

Could you check if the following works?
M-x eshell RET
cd "c:/tmp"
ls -l dir*/*.txt

I am also curious if:
M-: (equal temporary-file-directory "c:/tmp/") RET
=> t

Thank you,
Tino

reply via email to

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