2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
+ (elmo-folder-mark-as-important): Ditto.
+ (elmo-folder-unmark-read): Ditto.
+ (elmo-folder-mark-as-read): Ditto.
+ (elmo-folder-unmark-answered): Ditto.
+ (elmo-folder-mark-as-answered): Ditto.
+
* elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
`mark'; evaluate mark condition.
(elmo-msgdb-match-condition-internal): New function.
(mapcar 'abs numbers)
seen-list)))
-(luna-define-method elmo-folder-unmark-important ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-unmark-important :around ((folder
+ elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-unmark-important-plugged
numbers)
(elmo-folder-send folder
'elmo-folder-unmark-important-unplugged numbers))
- t))
+ (luna-call-next-method)))
-(luna-define-method elmo-folder-mark-as-important ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-mark-as-important :around ((folder
+ elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-mark-as-important-plugged
numbers)
(elmo-folder-send folder 'elmo-folder-mark-as-important-unplugged
numbers))
- t))
+ (luna-call-next-method)))
-(luna-define-method elmo-folder-unmark-read ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-unmark-read :around ((folder elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-unmark-read-plugged numbers)
(elmo-folder-send folder 'elmo-folder-unmark-read-unplugged numbers))
- t))
+ (luna-call-next-method)))
-(luna-define-method elmo-folder-mark-as-read ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-mark-as-read :around ((folder elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-mark-as-read-plugged numbers)
(elmo-folder-send
folder 'elmo-folder-mark-as-read-unplugged numbers))
- t))
+ (luna-call-next-method)))
-(luna-define-method elmo-folder-unmark-answered ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-unmark-answered :around ((folder
+ elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-unmark-answered-plugged
'elmo-folder-unmark-answered-unplugged numbers))
(luna-call-next-method)))
-(luna-define-method elmo-folder-mark-as-answered ((folder elmo-net-folder)
- numbers)
+(luna-define-method elmo-folder-mark-as-answered :around ((folder
+ elmo-net-folder)
+ numbers)
(if (elmo-folder-use-flag-p folder)
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-mark-as-answered-plugged