From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: dired-tests.el fails on MS-Windows Date: Fri, 4 Aug 2017 16:39:42 +0200 Message-ID: References: <83zibjz519.fsf@gnu.org> <87d18fw79z.fsf@calancha-pc> <83pocfyurp.fsf@gnu.org> <831sorxyol.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11c11694eb14fe0555ee78be" X-Trace: blaine.gmane.org 1501858557 16635 195.159.176.226 (4 Aug 2017 14:55:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 14:55:57 +0000 (UTC) Cc: Emacs developers , Tino Calancha To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 04 16:55:53 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dde0z-0003uQ-J8 for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 16:55:49 +0200 Original-Received: from localhost ([::1]:38345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dde15-0004K2-K5 for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 10:55:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dddnD-00017s-OH for emacs-devel@gnu.org; Fri, 04 Aug 2017 10:42:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dddmp-00012F-DF for emacs-devel@gnu.org; Fri, 04 Aug 2017 10:41:35 -0400 Original-Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:38141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dddlj-0007NX-R1; Fri, 04 Aug 2017 10:40:04 -0400 Original-Received: by mail-qt0-x233.google.com with SMTP id t37so10047060qtg.5; Fri, 04 Aug 2017 07:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dBo2V8XY34bPZz5ArggIS0mGl6viVlC6srOcdFrmRVs=; b=f2LZHOYMU3zQ+wRp2RptLOisTCvt0WuCPee5VJUkEKm6IX6mvPWXGRHL9TPrs2o15m tjE1vTxBF1227wn1Gbsvh/pzVD3y7ZLUpF4JyGqcsqOK19W38ycVThE/ZjBz3w0+Nvku jgEsJQ/r+64XTr0dcuj+AG0/CX2aFdocQ1uCA0zUXlzVicK94pa2RJeC/nXCK25otfya NC8yiE6SStZ8W9Lbhv/g19mAP/h/YBRiQtugF/AgNnORmMwwuztHDi0BIo1bxu2By6XI XGDwzTfEaDDf8t/d/vxX+ttJ3i+uR0n/Ri+Sd59Dd0BEjlZwfEVrTh7kVaJ9k1qfXIsr 8ZOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dBo2V8XY34bPZz5ArggIS0mGl6viVlC6srOcdFrmRVs=; b=UQYvY2DxV9XB7YNjHfbH8LOMKv12cLJyPZGVx1tJq4wCVrqbEpfQD9fGkxfg/tZ1la aKkJf0UllaNGeQsgBkqMOCLNTXvp6im4o1v+FBK77pN22hHP3I9OeOeEAobdJeGP06xP c4VSsylYnItFxQzCEsYBSBrSjuDw/zah9fDTm0sycnmdqg2CqJxMiJUTcasHc6aijMFK mPdSZgznAPa3sdPhE11juEmB/0tivYcMueh1xEr55HN7okfxxeg5oOi8Wy9Aoxj47uol QGCJ8PgFhW+h+l28TSEYe8DXGmCRhcwpZpZtR+02CWMBwj0M0K4AeRduSyLRWKCuVa4s 2H9A== X-Gm-Message-State: AHYfb5hfsKZtEviSeNYrWQZ7mrMpxmO+4ZJtQZGofp+HUA9Q1cBCPYKY Dg+/5c+zyouU4o3J/4kuLUEMMtnyV1CJ X-Received: by 10.200.38.61 with SMTP id u58mr3420610qtu.241.1501857602801; Fri, 04 Aug 2017 07:40:02 -0700 (PDT) Original-Received: by 10.140.82.21 with HTTP; Fri, 4 Aug 2017 07:39:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217290 Archived-At: --001a11c11694eb14fe0555ee78be Content-Type: text/plain; charset="UTF-8" 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 > --001a11c11694eb14fe0555ee78be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-08-04 16:23 GMT+02:00 Fabrice Popineau <fabrice.popineau= @gmail.com>:


Actuall= y, the problem seems to be in the `insert-directory-wildcard-in-dir-p&= #39; function
which wrongly splits "c:= /tmp/dir*/*.txt" in ("c:/tmp/" . "dir*/*.txt") ins= tead of
("c:/tmp/dir*/" . "*= .txt")

Forget this (wrong) diagnostic.

The culpr= it is actually=C2=A0

(let ((default-directory &quo= t;c:/tmp/"))
=C2=A0 (eshell-extended-glob "dir*/*.t= xt"))
"dir*/*.txt"=C2=A0

= which fails to expand the wildcards (when `file-expand-wildcards' succe= eds).


--
Fabrice

--001a11c11694eb14fe0555ee78be--