From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: Re: Dired doesn't understand localized file dates Date: 03 Jun 2002 22:22:44 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <200206032236.g53MaV821159@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023157468 31314 127.0.0.1 (4 Jun 2002 02:24:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2002 02:24:28 +0000 (UTC) Cc: karl.eklund@amnesty.se, 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 17F3zo-00088x-00 for ; Tue, 04 Jun 2002 04:24:28 +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 17F3zQ-0005jI-00; Mon, 03 Jun 2002 22:24:04 -0400 Original-Received: from colo.agora-net.com ([207.245.85.68]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17F3y9-0005c0-00; Mon, 03 Jun 2002 22:22:45 -0400 Original-Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1) id 17F3y8-0008Pu-00; Mon, 03 Jun 2002 22:22:44 -0400 Original-To: rms@gnu.org In-Reply-To: Richard Stallman's message of "Mon, 3 Jun 2002 16:36:31 -0600 (MDT)" Original-Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.7 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:1777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1777 Richard Stallman writes: It turns out to be very very difficult to make Dired properly handle all the kinds of dates that it can encounter. A few years ago I concluded it was ill-advised to make further changes, because changes here had a tendency to fix some cases and break others. What makes it so hard is the need to detect the dates *and* handle file names with spaces in them. the way to do this generally would be to create a temporary file (w/ known name, excluding spaces, and mtime), capture its ls(1) output, and figure out parse hints for use by dired (learn-by-example). this would have to be done at least once per session. maintenance then becomes the accumulation of patterns into the table consulted by the "figure-it-out" engine. (blue-sky-mode: generalizing this a bit further allows for real-time mail virus scanning, for example, presuming the virus db format is open...) thi