Article View: gnu.emacs.vm.bug
Article #5sort by date sent (several hacks sought)
From: Jerry G. DeLapp
Date: Thu, 09 Apr 1992 00:17
Date: Thu, 09 Apr 1992 00:17
34 lines
1753 bytes
1753 bytes
In vm-5.32... 1) I typically sort by date sent when using vm. One thing that bites me once in a while is when I receive a message where the date field looks like "08 Apr 92" Just about every mailer I deal with gives dates that look like "8 Apr 92" I've looked at RFC822, and it appears to be ambiguous about whether the first type is valid or not (it says 1*2DIGIT, where digit is 0..9). The effect of the first type is to cause the message to sort after all messages with dates of the second type. I'm wondering if anyone has a hack that makes the date field sort numerically instead of lexically. I took a look at the .el stuff today, but quickly decided that I was in over my head. 2) Every once in a while some stupid mailer gives 4 digit year values (e.g. 1992 instead of 92). I know that isn't RFC822, but it'd sure be nice to have a hack that understood 4 digit years and caused them to sort "correctly" with respect to the 2 digit variety. 3) From what I can tell, sorting by date sent doesn't pay attention to the time part of the date. Is there such a thing as sort by date and time sent? Inquiring minds want to know... -- Jerry G. DeLapp -- ACL System Scientist -- (505) 665-4531 <jgd@lanl.gov> Computing beyond the Bleeding Edge -- The Advanced Computing Laboratory
Technical Details
Message-ID:
<JGD.92Apr8171718@kodiak.acl.lanl.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!hellgate.utah.edu!lanl!newshost.lanl.gov!jgdShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.vm.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!hellgate.utah.edu!lanl!newshost.lanl.gov!jgd From: jgd@acl.lanl.gov (Jerry G. DeLapp) Subject: sort by date sent (several hacks sought) Message-ID: <JGD.92Apr8171718@kodiak.acl.lanl.gov> Sender: news@newshost.lanl.gov Reply-To: jgd@acl.lanl.gov Organization: Advanced Computing Lab, LANL, NM Distribution: gnu Date: Thu, 9 Apr 1992 00:17:18 GMT Lines: 34