[mew-int 2958] mew-time-rfc-regex
Christophe TROESTLER <[email protected]> Mon, 07 Feb 2011 10:07:51 +0100 (CET)
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Organization | Universite de Mons (http://math.umons.ac.be/an/) |
| Message-ID | <20110207.100751.331382021556171510.Christophe.Troestler@umons.ac.be> |
Hi, When using “;” mew-summary-trace-path in summary mode, some dates in the headers are not well detected because they are splitted on severa l lines. The attached patch fixes that. (From a quick look, it seem s fine with the other uses of mew-time-rfc-regex.) Best, C.
mew.patch
(text/x-patch, 588 B)
=== modified file 'mew-func.el' --- old/mew-func.el 2010-07-16 13:05:47 +0000 +++ new/mew-func.el 2011-02-07 08:58:45 +0000 @@ -1380,7 +1380,7 @@ ;;; (defvar mew-time-rfc-regex - "\\([0-9]+\\)[ \t]+\\([a-zA-Z]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+\\):\\([0-9]+\\)\\(:\\([0-9]+\\)\\)?\\([ \t]+\\([-+0-9a-zA-Z]+\\)\\)?") + "\\([0-9]+\\)[ \t\n\r]+\\([a-zA-Z]+\\)[ \t\n\r]+\\([0-9]+\\)[ \t\n\r]+\\([0-9]+\\):\\([0-9]+\\)\\(:\\([0-9]+\\)\\)?\\([ \t\n\r]+\\([-+0-9a-zA-Z]+\\)\\)?") (defmacro mew-time-rfc-day () '(string-to-number (substring s (match-beginning 1) (match-end 1))))