Synch with the flim-1_14 branch.
authoryamaoka <yamaoka>
Sun, 13 Nov 2005 01:14:54 +0000 (01:14 +0000)
committeryamaoka <yamaoka>
Sun, 13 Nov 2005 01:14:54 +0000 (01:14 +0000)
ChangeLog
std11.el

index 0170dad..f51dc49 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * std11.el (std11-addr-to-string): Reconstruct domain literal.
+       From Yuuichi Teranishi [cf. <emacs-mime-ja:01956>]
+
 2005-07-25  Daiki Ueno  <ueno@unixuser.org>
 
        * smtp.el (smtp-read-response): Signal an error if connection is
index 645fbbe..14eb7e5 100644 (file)
--- a/std11.el
+++ b/std11.el
@@ -780,6 +780,8 @@ represents addr-spec of RFC 822."
                    ((eq name 'comment) "")
                    ((eq name 'quoted-string)
                     (concat "\"" (cdr token) "\""))
+                   ((eq name 'domain-literal)
+                    (concat "[" (cdr token) "]"))
                    (t (cdr token)))
                   )))
             seq "")