From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: Dired confused by filenames starting with date-like strings Date: Fri, 25 Aug 2006 09:41:33 +0900 Message-ID: <873bblzlxe.fsf@catnip.gol.com> References: <1156356934.469929.210320@i3g2000cwc.googlegroups.com> <1156441406.766871.297830@m73g2000cwd.googlegroups.com> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1156466521 32713 80.91.229.2 (25 Aug 2006 00:42:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 00:42:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 02:41:59 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 1GGPli-0007Hq-KU for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 02:41:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGPli-0004z5-2G for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Aug 2006 20:41:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGPlU-0004uu-B3 for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 20:41:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGPlT-0004ru-EN for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 20:41:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGPlT-0004ra-95 for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 20:41:39 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GGPtc-0007YV-Ah; Thu, 24 Aug 2006 20:50:04 -0400 Original-Received: from 203-216-105-174.dsl.gol.ne.jp ([203.216.105.174] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1GGPlO-0007r6-Q2; Fri, 25 Aug 2006 09:41:35 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 495342F48; Fri, 25 Aug 2006 09:41:34 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu In-Reply-To: <1156441406.766871.297830@m73g2000cwd.googlegroups.com> (kg6mar@gmail.com's message of "24 Aug 2006 10:43:26 -0700") Original-Lines: 33 X-Abuse-Complaints: abuse@gol.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:36925 Archived-At: kg6mar@gmail.com writes: > - Emacs 21.3.1 for Windows doesn't appear to have a variable called > dired-use-ls-dired Hmmm not sure if that change made it into any version of Emacs 21 -- `dired-use-ls-dired' was added to the development sources on 2002-09-14, and Emacs 21.3 was released on 2003-03-24, but I think the later releases of Emacs 21 were done from a special release branch which didn't incorporate most trunk changes. > but I can set dired-listing-switches to "-lD" which > invokes the ls --dired option, achieving the same purpose. It's not enough to just invoke ls --dired -- Emacs also has to correctly deal with the special info which that command outputs, and I don't know if dired did so before the change which added the dired-use-ls-dired variable. Incidentally, as Eli mentioned, on windows perhaps it should be using the `ls-lisp.el' lisp implementation of ls -- which _does_ correctly handle such weird filenames (it always adds the magic property which dired needs to find things correctly). But again, I'm not sure how this stuff relates to older released versions of Emacs. I think it would a decent idea to try upgrading to Emacs 22 -- it's not officially released yet, but it's in quite good condition, and there are precompiled windows binaries available (I forget the exact site, but last time I looked it took about 30 seconds with google to find it). -Miles --=20 =E8=87=AA=E3=82=89=E3=82=92=E7=A9=BA=E3=81=AB=E3=81=97=E3=81=A6=E3=80=81=E5= =BF=83=E3=82=92=E9=96=8B=E3=81=8F=E6=99=82=E3=80=81=E9=81=93=E3=81=AF=E9=96= =8B=E3=81=8B=E3=82=8C=E3=82=8B