+2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-split.el (elmo-split-subr): Flag of a non-registered
+ message, It sets to nil.
+
2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo.el (elmo-folder-list-messages): Merge lists only if both
nil (current-buffer) 'unread))
(run-hooks 'elmo-split-fetch-hook)
(setq elmo-split-message-entity (mime-parse-buffer))
- (setq flags (elmo-message-flags folder msg))
+ (setq flags (or (elmo-message-flags folder msg)
+ (and (elmo-message-entity folder msg)
+ '(read))))
(catch 'terminate
(dolist (rule (append elmo-split-rule default-rule))
(setq elmo-split-match-string-internal nil)
action)))
(elmo-folder-create target-folder)))
(elmo-folder-open-internal target-folder)
- (setq failure (not (elmo-folder-append-buffer target-folder (or flags '(read)))))
+ (setq failure (not
+ (elmo-folder-append-buffer
+ target-folder
+ flags)))
(elmo-folder-close-internal target-folder))
(error (setq failure t)
(incf fcount)))