`elmo-folder-notify-event' with event `cache-changed'.
* elmo-multi.el (elmo-message-set-cached): Ditto.
* elmo-pipe.el (elmo-message-set-cached): Ditto.
+2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-filter.el (elmo-message-set-cached): Call
+ `elmo-folder-notify-event' with event `cache-changed'.
+
+ * elmo-multi.el (elmo-message-set-cached): Ditto.
+
+ * elmo-pipe.el (elmo-message-set-cached): Ditto.
+
2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo.el (elmo-folder-encache): Abolish.
(luna-define-method elmo-message-set-cached ((folder elmo-filter-folder)
number cached)
(elmo-message-set-cached
- (elmo-filter-folder-target-internal folder) number cached))
+ (elmo-filter-folder-target-internal folder) number cached)
+ (elmo-folder-notify-event folder 'cache-changed number))
(luna-define-method elmo-message-number ((folder elmo-filter-folder)
message-id)
(luna-define-method elmo-message-set-cached ((folder elmo-multi-folder)
number cached)
(let ((pair (elmo-multi-real-folder-number folder number)))
- (elmo-message-set-cached (car pair) (cdr pair) cached)))
+ (elmo-message-set-cached (car pair) (cdr pair) cached))
+ (elmo-folder-notify-event folder 'cache-changed number))
(luna-define-method elmo-find-fetch-strategy ((folder elmo-multi-folder)
number
(luna-define-method elmo-message-set-cached ((folder elmo-pipe-folder)
number cached)
(elmo-message-set-cached (elmo-pipe-folder-dst-internal folder)
- number cached))
+ number cached)
+ (elmo-folder-notify-event folder 'cache-changed number))
(luna-define-method elmo-find-fetch-strategy ((folder elmo-pipe-folder)
number