2017-08-04 16:23 GMT+02:00 Fabrice Popineau : > >> > 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). > -- > Fabrice >