new-msgdb))
(luna-define-method elmo-folder-append-buffer ((folder elmo-cache-folder)
- &optional flag number)
+ &optional flags number)
;; dir-name is changed according to msgid.
(unless (elmo-cache-folder-dir-name-internal folder)
(let ((msgid (std11-field-body "message-id"))
(sort flist '<))))
(luna-define-method elmo-folder-append-buffer ((folder elmo-localdir-folder)
- &optional flag number)
+ &optional flags number)
(let ((filename (elmo-message-file-name
folder
(or number
(table (elmo-flag-table-load path))
(msgid (std11-field-body "message-id")))
(when msgid
- (elmo-flag-table-set table msgid flag)
+ (elmo-flag-table-set table msgid flags)
(elmo-flag-table-save path table)))
t)))
"The next message number that will be assigned to a new message.
FOLDER is the ELMO folder structure.")
-(luna-define-generic elmo-folder-append-buffer (folder &optional flag
+(luna-define-generic elmo-folder-append-buffer (folder &optional flags
number)
"Append current buffer as a new message.
FOLDER is the destination folder(ELMO folder structure).
-FLAG is the status of appended message.
+FLAGS is the status of appended message (list of symbols).
If optional argument NUMBER is specified, the new message number is set
\(if possible\).
Return nil on failure.")