+2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-draft.el (wl-draft-parse-mailbox-list): Don't insert extra space.
+
+ * wl-address.el (wl-address-string-without-group-list-contents): Fixed
+ problem when group-list content is nothing.
+ (Reported by Mito <mit@nines.nec.co.jp>)
+
2000-10-18 SAITO Atsunori <sai@yedo.com>
* wl-summary.el (wl-summary-print-destination): Adjust line length.
(defun wl-address-string-without-group-list-contents (sequence)
"Return address string from lexical analyzed list SEQUENCE.
Group list contents is not included."
- (let (address-string route-addr-end token seq)
+ (let (address-string route-addr-end token seq group-end)
(while sequence
(setq token (car sequence))
(cond
(setq address-string (concat address-string (cdr token))) ; ':'
(setq seq (cdr sequence))
(setq token (car seq))
- (while (not (and (eq 'specials (car token))
- (string= (cdr token) ";")))
+ (setq group-end nil)
+ (while (not group-end)
(setq token (car seq))
- (setq seq (cdr seq)))
+ (setq seq (cdr seq))
+ (setq group-end (and (eq 'specials (car token))
+ (string= (cdr token) ";"))))
(setq address-string (concat address-string (cdr token))) ; ';'
(setq sequence seq))
;; route-addr = "<" [route] addr-spec ">"
(setq addresses (cdr addresses)))
(when (and remove-group-list has-group-list)
(delete-region beg (point))
- (insert " " (wl-address-string-without-group-list-contents seq))))
+ (insert (wl-address-string-without-group-list-contents seq))))
mailbox-list)))
(defun wl-draft-deduce-address-list (buffer header-start header-end)