+2004-06-09 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * std11.el (std11-parse-word-or-comment-or-period): Renamed from
+ `std11-parse-word-or-comment' and allow period.
+ (std11-parse-phrase): Allow parsing obs-phrase in rfc2822.
+
2004-05-24 Len Trigg <lenbok@myrealbox.com>
* mime-conf.el (mime-format-mailcap-command): Quote a file name
(cons (cons 'word elt) rest)
)))))
-(defun std11-parse-word-or-comment (lal)
+(defun std11-parse-word-or-comment-or-period (lal)
(let ((ret (std11-parse-token-or-comment lal)))
(if ret
(let ((elt (car ret))
)
((assq 'comment elt)
(cons (cons 'comment-word elt) rest)
+ )
+ ((string-equal (cdr (assq 'specials elt)) ".")
+ (cons (cons 'period elt) rest)
))
))))
(defun std11-parse-phrase (lal)
(let (ret phrase)
- (while (setq ret (std11-parse-word-or-comment lal))
+ (while (setq ret (std11-parse-word-or-comment-or-period lal))
(setq phrase (append phrase (cdr (car ret))))
(setq lal (cdr ret))
)