(elmo-folder-append-msgdb): Don't treat `read'.
* elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
(elmo-folder-unset-read-delayed): Ditto.
* elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
+2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-folder-append-buffer): Fix docstring.
+ (elmo-folder-append-msgdb): Don't treat `read'.
+
+ * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
+ (elmo-folder-unset-read-delayed): Ditto.
+
+ * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
+
2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
(elmo-folder-unset-flag folder numbers 'important))
(defun elmo-folder-set-read-delayed (folder numbers)
- (elmo-folder-set-flag folder numbers 'read))
+ (elmo-folder-unset-flag folder numbers 'unread))
(defun elmo-folder-unset-read-delayed (folder numbers)
- (elmo-folder-unset-flag folder numbers 'read))
+ (elmo-folder-set-flag folder numbers 'unread))
(defun elmo-folder-set-answered-delayed (folder numbers)
(elmo-folder-set-flag folder numbers 'answered))
(defun elmo-imap4-flags-to-imap (flags)
"Convert FLAGS to the IMAP flag string."
(let ((imap-flag (if (not (memq 'unread flags)) "\\Seen"))
- (flags (delq 'cached (delq 'unread flags)))
+ (flags (delq 'read (delq 'cached (delq 'unread flags))))
spec)
(dolist (flag flags)
(setq imap-flag (concat imap-flag (if imap-flag " ")
number)
"Append current buffer as a new message.
FOLDER is the destination folder (ELMO folder structure).
-FLAGS is the status of appended message (list of symbols).
+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 optional argument NUMBER is specified, the new message number is set
\(if possible\).
;; Let duplicates be a temporary killed message.
(elmo-folder-kill-messages folder duplicates)
;; Should be flag as read.
- (elmo-folder-set-flag folder duplicates 'read))
+ (elmo-folder-unset-flag folder duplicates 'unread))
((eq (elmo-folder-process-duplicates-internal folder)
'read)
;; Flag as read duplicates.
- (elmo-folder-set-flag folder duplicates 'read))
+ (elmo-folder-unset-flag folder duplicates 'unread))
(t
;; Do nothing.
(setq duplicates nil)))