From: yamaoka Date: Wed, 9 Jun 2004 03:05:21 +0000 (+0000) Subject: Synch to flim-1_14. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ed7cbc9863ba8795e67d87e02a2c9a9dd3d504;p=elisp%2Fflim.git Synch to flim-1_14. --- diff --git a/ChangeLog b/ChangeLog index 2c1038d..c03ae86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-09 Yoichi NAKAYAMA + + * 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 * mime-conf.el (mime-format-mailcap-command): Quote a file name diff --git a/std11.el b/std11.el index 1d8f8b6..994c914 100644 --- a/std11.el +++ b/std11.el @@ -495,7 +495,7 @@ be the result." (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)) @@ -507,12 +507,15 @@ be the result." ) ((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)) )