From: Thien-Thi Nguyen <ttn@glug.org>
Cc: karl.eklund@amnesty.se, bug-gnu-emacs@gnu.org
Subject: Re: Dired doesn't understand localized file dates
Date: 03 Jun 2002 22:22:44 -0400 [thread overview]
Message-ID: <jkit4zok97.fsf@glug.org> (raw)
In-Reply-To: Richard Stallman's message of "Mon, 3 Jun 2002 16:36:31 -0600 (MDT)"
Richard Stallman <rms@gnu.org> 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
next prev parent reply other threads:[~2002-06-04 2:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 10:35 Dired doesn't understand localized file dates karl.eklund
2002-06-03 22:36 ` Richard Stallman
2002-06-04 2:22 ` Thien-Thi Nguyen [this message]
2002-06-04 19:10 ` Colin Walters
2002-06-04 11:26 ` Paul Stoeber
2002-06-04 12:13 ` Paul Stoeber
2002-06-04 13:12 ` Paul Stoeber
2002-06-05 14:01 ` Werner LEMBERG
2002-06-06 12:04 ` Richard Stallman
2002-06-06 12:37 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jkit4zok97.fsf@glug.org \
--to=ttn@glug.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=karl.eklund@amnesty.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.