+2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-folder-append-buffer): Fix docstring.
+ (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
+ pass (read) for the FLAG argument of elmo-folder-append-buffer.
+
2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo-split.el (elmo-split-rule): Update comment.
"Append current buffer as a new message.
FOLDER is the destination folder (ELMO folder structure).
FLAGS is the flag list for the appended message (list of symbols).
-If it is nil, it is not that there is no flag and what is not defined is meant.
+If FLAGS contain `read', the message is appended as `not-unread'.
+If it is nil, the appended message will be treated as `new'.
If optional argument NUMBER is specified, the new message number is set
\(if possible\).
Return nil on failure.")
(> (buffer-size) 0)
(elmo-folder-append-buffer
folder
- (elmo-message-flags
- src-folder
- (car numbers)
- (elmo-msgdb-get-message-id-from-buffer))
+ (or (elmo-message-flags
+ src-folder
+ (car numbers)
+ (elmo-msgdb-get-message-id-from-buffer))
+ '(read))
(if same-number (car numbers))))))
(error (setq failure t)))
;; FETCH & APPEND finished