Article View: gnu.emacs.vm.bug
Article #8723vm-5.35 - Not supported date format.
From: Christer.Ekholm
Date: Fri, 27 Aug 1993 11:11
Date: Fri, 27 Aug 1993 11:11
35 lines
2134 bytes
2134 bytes
I have done.
(setq mail-archive-file-name "~/Mail/sent")
When I send mail, The from header in my copy looks like this.
From che Thu Aug 19 18:04:32 +0200 1993
Has anyone else seen this?
This date format was not recognized by vm, so I changed vm-summary.el
as follows.
***************
*** 512,517 ****
--- 513,529 ----
(if (match-beginning 6)
(vm-set-zone-of m (substring date (match-beginning 6)
(match-end 6)))))
+ ((string-match
+ ;; I've got mail in which year and zone is swapped, compared to UNIX ctime(3)
+ ;; as described above.
+ "\\([a-z][a-z][a-z]\\)[ \t\n]*\\([a-z][a-z][a-z]\\)[ \t\n]*\\([0-9][0-9]?\\)[ \t\n]*\\([0-9:]+\\)[ \t\n]*\\([a-z][a-z]?[a-z]?\\|[---+][0-9][0-9][0-9][0-9]\\)[ \t\n]*[0-9][0-9]\\([0-9][0-9]\\)"
+ date)
+ (vm-set-weekday-of m (substring date (match-beginning 1) (match-end 1)))
+ (vm-su-do-month m (substring date (match-beginning 2) (match-end 2)))
+ (vm-set-monthday-of m (substring date (match-beginning 3) (match-end 3)))
+ (vm-set-hour-of m (substring date (match-beginning 4) (match-end 4)))
+ (vm-set-zone-of m (substring date (match-beginning 5) (match-end 5)))
+ (vm-set-year-of m (substring date (match-beginning 6) (match-end 6))))
(t
(vm-set-weekday-of m "")
(vm-set-monthday-of m "")
Christer Ekholm # che@ludd.luth.se #
Lulea University Computer Club (LUDD),Sweden # ---------------- #
Technical Details
Message-ID:
<199308271111.AA03430@sal.ludd.luth.se>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!wendy-fate.uu.net!bug-vmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,fac648cd3fdf0af6,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1993-08-27 04:14:42 PST x-gateway: relay2.UU.NET from bug-vm to gnu.emacs.vm.bug; Fri, 27 Aug 1993 07:11:58 EDT Date: Fri, 27 Aug 1993 13:11:53 +0200 From: Christer.Ekholm@ludd.luth.se Message-ID: <199308271111.AA03430@sal.ludd.luth.se> Subject: vm-5.35 - Not supported date format. Newsgroups: gnu.emacs.vm.bug Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!wendy-fate.uu.net!bug-vm Sender: bug-vm-request@uunet.uu.net Lines: 35