From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Stoeber Newsgroups: gmane.emacs.bugs Subject: Re: Dired doesn't understand localized file dates Date: Tue, 4 Jun 2002 13:26:42 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <20020604112642.GA624678@bruegel.RZ.TU-Ilmenau.DE> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023190049 9906 127.0.0.1 (4 Jun 2002 11:27:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2002 11:27:29 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17FCTI-0002Zd-00 for ; Tue, 04 Jun 2002 13:27:29 +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 17FCSw-0002vi-00; Tue, 04 Jun 2002 07:27:06 -0400 Original-Received: from bruegel.rz.tu-ilmenau.de ([141.24.190.37]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FCS6-0002tw-00 for ; Tue, 04 Jun 2002 07:26:14 -0400 Original-Received: (from past-in@localhost) by bruegel.rz.tu-ilmenau.de (SGI-8.9.3/8.9.3) id NAA27756 for bug-gnu-emacs@gnu.org; Tue, 4 Jun 2002 13:26:45 +0200 (MDT) Original-To: bug-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i 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:1784 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1784 What about (setq dired-move-to-filename-regexp "^ *[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +") I've always relied on this format when parsing ls with awk, but maybe it's wrong under some locales. It appears to be correct under LC_TIME=sv_SE. On Mon, Jun 03, 2002 at 12:35:15PM +0200, karl.eklund@amnesty.se wrote: > I think I found a bug in dired's handling of dates in file listings. > > When you set LC_TIME to sv_SE and run dired, it doesn't understand the > file dates like " 2 maj 15.16", but it understands "18 okt 2001". When > you press enter or f on the file with the former date (from this year), it > says "No file on this line". On the latter (from last year), it acts > normal. When you walk up and down the directory with the arrow keys, it > goes to the beginning of the line at the files it doesn't understand, and > to the beginning of the filename at files it does understand. > > The version is "GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d > scroll bars) of 2002-03-22 on raven, modified by Debian" and the operating > system is Debian 3.0 "woody". > > Karl > > _______________________________________________ > Bug-gnu-emacs mailing list > Bug-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs