From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Dired confused by filenames starting with date-like strings Date: Thu, 24 Aug 2006 19:35:31 -0400 Message-ID: References: <1156356934.469929.210320@i3g2000cwc.googlegroups.com> <1156441406.766871.297830@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1156462552 22921 80.91.229.2 (24 Aug 2006 23:35:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2006 23:35:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 01:35:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGOjf-0001vL-IG for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 01:35:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGOjf-0000x0-1U for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Aug 2006 19:35:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGOjU-0000wl-Vw for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 19:35:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGOjU-0000wW-0o for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 19:35:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGOjT-0000wT-T8 for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 19:35:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGOrd-0002Ov-MZ for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 19:43:57 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1GGOjT-0003Yo-Cq for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 19:35:31 -0400 Original-To: help-gnu-emacs@gnu.org In-reply-to: <1156441406.766871.297830@m73g2000cwd.googlegroups.com> (kg6mar@gmail.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36924 Archived-At: > From: kg6mar@gmail.com > Newsgroups: gnu.emacs.help > Date: 24 Aug 2006 10:43:26 -0700 > > > The variable `dired-use-ls-dired' controls whether dired does this or > > not. So to fix this problem, try installing GNU ls (I guess that means > > cygwin, as you're on ms-windows?) and setting dired-use-ls-dired to t. > > After more testing and advice-following, it still appears to me that ls > is working as required, but dired can't parse this particular filename > correctly from the ls output. It sounds as if it works on a Unix or > linux emacs implementation but not Windows. Are you using the native Windows port of Emacs or the Cygwin port? What does Emacs display when you type "M-x emacs-version RET"? If you are using the native Windows port, Emacs does not use the external `ls' program (because it's generally unavailable on Windows machines). Instead, it uses the `ls' emulation in Lisp; see ls-lisp.el. ls-lisp.el is preloaded into the native Windows port; to disable it and force Emacs to use the external `ls' program, set the variable `ls-lisp-use-insert-directory-program' to a non-nil value.