From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: dired-tests.el fails on MS-Windows Date: Fri, 4 Aug 2017 23:49:23 +0900 (JST) 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/mixed; BOUNDARY="8323329-1854758133-1501858166=:15299" X-Trace: blaine.gmane.org 1501860210 13061 195.159.176.226 (4 Aug 2017 15:23:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 15:23:30 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: John Wiegley , Eli Zaretskii , Emacs developers , Tino Calancha To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 04 17:23:25 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 1ddeRh-00037q-2f for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 17:23:25 +0200 Original-Received: from localhost ([::1]:45244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddeRn-0003z0-2P for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 11:23:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dddvM-0000rg-AD for emacs-devel@gnu.org; Fri, 04 Aug 2017 10:50:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dddv9-0002od-El for emacs-devel@gnu.org; Fri, 04 Aug 2017 10:50:00 -0400 Original-Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:36161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddduq-0001Ua-5F; Fri, 04 Aug 2017 10:49:28 -0400 Original-Received: by mail-pf0-x231.google.com with SMTP id c28so8073685pfe.3; Fri, 04 Aug 2017 07:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=IgOKcjijeM3PLiQqPnGfuDlHhuzEr/yngyuhX0vdJhM=; b=vH7B0W2e1JTOOWjawmeearSvEsG+AKvhUSqVQSdpDaYyipfgxmfK40LT0+Wgw8lVsr EvglQXPyF9sZgMSF+zB1IFuGAlYls57Px8kWJYKA/xlbgtbGem1W6xFFupGgY2GEEp9D /atgqL9nubkuMimKlTq95y1Oeh/tOCu5fqjETb4RWibhbFQSnMbgCfdcyiPHqTIExJK1 KBKHugs2mOFCl8BPIkIYzArJKMpxmqu2qfVc2QKM7fpmfAqSqwIzltUVKBtIniCKrlSQ I5BM8CyVl09fQd8uJ+5D9aKEOq8qbE1u5NRav3WsyRWUuJW98DizLYs4vtnXpMDAYGeg dU3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=IgOKcjijeM3PLiQqPnGfuDlHhuzEr/yngyuhX0vdJhM=; b=PX1hyFXUV7lTblZQY2EiWWL4SGPYLLr13CXjT0putsUDD/Bly3r330ni4T72xjedl3 d9sAIaKho8BqGRiuiO+l2AJbhllMfHzyWyhvaV6+g0kzVN6BUPXE04RID8wqeDkOUvK3 1H2eJVaBTPbsFcPKr+5QDlrYSF+BT9qCQupA/ol72OlOSFMpRvfBZMPLScm9ShgwOtaE d1Jdi0bPxKsSAAZz5KVDjW/KXC5bpEXe0UJQu42nJUO/nxdtISFz/W2rsPOpC3Bjg18Z 4PemcRjMmy+RT+TNvvYr1Z0AVFRpMylV65wJHDIzF4OUE5jQL3Bk7T3+symt3DFRVlJF US9g== X-Gm-Message-State: AIVw1130KV3BqVqeKl/u88wVmW6aur94gqUqq1ZDhpD24tpDOsXB+OrW gsbDGfvN233W2kbE X-Received: by 10.99.100.7 with SMTP id y7mr2643953pgb.430.1501858167069; Fri, 04 Aug 2017 07:49:27 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id m186sm2961616pfc.54.2017.08.04.07.49.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 07:49:26 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::231 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:217293 Archived-At: --8323329-1854758133-1501858166=:15299 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 4 Aug 2017, Fabrice Popineau wrote: > > > 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). 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 --8323329-1854758133-1501858166=:15299--