* elmo-filter.el (elmo-message-set-cached): Call
authorhmurata <hmurata>
Wed, 16 Feb 2005 16:49:44 +0000 (16:49 +0000)
committerhmurata <hmurata>
Wed, 16 Feb 2005 16:49:44 +0000 (16:49 +0000)
`elmo-folder-notify-event' with event `cache-changed'.

* elmo-multi.el (elmo-message-set-cached): Ditto.

* elmo-pipe.el (elmo-message-set-cached): Ditto.

elmo/ChangeLog
elmo/elmo-filter.el
elmo/elmo-multi.el
elmo/elmo-pipe.el

index bd97e90..572cf35 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 7eb00be..efaa0b4 100644 (file)
 (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)
index b4700b3..2a13b79 100644 (file)
 (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
index a62eaf6..ca07964 100644 (file)
 (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