From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: Dired doesn't understand localized file dates Date: Thu, 06 Jun 2002 14:37:44 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <20020604112642.GA624678@bruegel.RZ.TU-Ilmenau.DE> <200206061204.g56C4Ll24623@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1023367168 9794 127.0.0.1 (6 Jun 2002 12:39:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2002 12:39:28 +0000 (UTC) Cc: paul.stoeber@stud.tu-ilmenau.de, bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17FwY3-0002Xr-00 for ; Thu, 06 Jun 2002 14:39:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FwXk-0002Ls-00; Thu, 06 Jun 2002 08:39:08 -0400 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FwWQ-0002Fl-00; Thu, 06 Jun 2002 08:37:46 -0400 Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 460151481A; Thu, 6 Jun 2002 14:37:46 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: rms@gnu.org X-Yow: Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and TAX-DEFERRED! In-Reply-To: <200206061204.g56C4Ll24623@aztec.santafe.edu> (Richard Stallman's message of "Thu, 6 Jun 2002 06:04:21 -0600 (MDT)") Original-Lines: 22 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1840 Richard Stallman writes: |> (setq dired-move-to-filename-regexp "^ *[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +") |> |> That works by counting whitespace regions. I think I saw cases long |> ago where that would not work, which is why I did not use it. |> I don't remember what the case was; perhaps it was user names with |> spaces in them, or perhaps it was locales that altered the number |> of spaces in the date. For example, ls from fileutils 4.1.8 uses ISO style dates by default if LC_TIME is not the C locale, which means only one space in the date field for dates inside the 3 month range (05-14 11:55), and no space for the other dates (2001-09-03). Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."