Article View: gnu.emacs.vm.bug
Article #9743Date Parsing
From: Francois Felix INGRAND
Date: Fri, 08 Mar 1991 22:31
Date: Fri, 08 Mar 1991 22:31
32 lines
2147 bytes
2147 bytes
OK, I know this is something which has been discussed in the past, but I am getting mail message from "brain damaged" mailers which generate dates unparsable by VM. Something like: Wed 6 Mar 91 19:32:35-PST (the coma is missing after the Day and the -PST is not parsed) My guess is that vm-summary is perfectly correct and parse whatever date it is suppose too (RFC ...). At the same time, even if I ask or flame the people who are sending me these unparsable mails, there is little chance this will lead to any change from their side (by fixing the mailer or getting another one)... So at the end, the VM users are the loosers. As a consequence, I slightly patched the regexps (the 1st one) which parses the date in vm-summary.el: 419c419 < "\\(\\([a-z][a-z][a-z]\\),?\\)?[ \t\n]*\\([0-9][0-9]?\\)[ \t\n---]*\\([a-z][a-z][a-z]\\)[ \t\n---]*\\([0-9]*[0-9][0-9]\\)[ \t\n]*\\([0-9:]+\\)[ \t\n-]*\\([a-z][a-z]?[a-z]?\\|[---+][0-9][0-9][0-9][0-9]\\)" --- > "\\(\\([a-z][a-z][a-z]\\),\\)?[ \t\n]*\\([0-9][0-9]?\\)[ \t\n---]*\\([a-z][a-z][a-z]\\)[ \t\n---]*\\([0-9]*[0-9][0-9]\\)[ \t\n]*\\([0-9:]+\\)[ \t\n]*\\([a-z][a-z]?[a-z]?\\|[---+][0-9][0-9][0-9][0-9]\\)" Could we get this patch or a similar one in 5.27??? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Francois Felix INGRAND SRI International, AIC felix@AI.SRI.COM 333, Ravenswood Avenue (415) 859-5584 MENLO PARK, CA 94025, USA "Read my Lisp... No new syntax" (nil)
Technical Details
Message-ID:
<FELIX.91Mar8143131@cayucos.ai.sri.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sun-barr!newstop!sun!quintus!unix!unix.sri.com!felixShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,496583c5dcb377f3,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1991-03-09 06:41:15 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sun-barr!newstop!sun!quintus!unix!unix.sri.com!felix From: felix@ai.sri.com (Francois Felix INGRAND) Newsgroups: gnu.emacs.vm.bug Subject: Date Parsing Message-ID: <FELIX.91Mar8143131@cayucos.ai.sri.com> Date: 8 Mar 91 22:31:31 GMT Sender: news@unix.SRI.COM Distribution: gnu Organization: SRI International, Menlo Park, CA Lines: 32