* elmo-shimbun.el (elmo-map-message-fetch): Change default
authoryoichi <yoichi>
Mon, 24 May 2004 16:30:44 +0000 (16:30 +0000)
committeryoichi <yoichi>
Mon, 24 May 2004 16:30:44 +0000 (16:30 +0000)
behavior to update overview.
(elmo-shimbun-update-overview-folder-list): Note it.

elmo/ChangeLog
elmo/elmo-shimbun.el

index 633f1c4..3770896 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * elmo-shimbun.el (elmo-map-message-fetch): Change default
+       behavior to update overview.
+       (elmo-shimbun-update-overview-folder-list): Note it.
+
 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * modb-standard.el (modb-standard-message-entity): Avoid infinite
index 3e1c24b..98ae072 100644 (file)
@@ -67,7 +67,8 @@ See `shimbun-headers' for more detail about RANGE."
 (defcustom elmo-shimbun-update-overview-folder-list nil
   "*List of FOLDER-REGEXP.
 FOLDER-REGEXP is the regexp of shimbun folder name which should be
-update overview when message is fetched."
+update overview when message is fetched.
+If it is nil, update overview for all shimbun folders."
   :type '(repeat (regexp :tag "Folder Regexp"))
   :group 'elmo)
 
@@ -430,9 +431,10 @@ update overview when message is fetched."
            shimbun-id)
        (shimbun-article (elmo-shimbun-folder-shimbun-internal folder)
                         header)
-       (when (elmo-string-match-member
-              (elmo-folder-name-internal folder)
-              elmo-shimbun-update-overview-folder-list)
+       (when (or (null elmo-shimbun-update-overview-folder-list)
+                 (elmo-string-match-member
+                  (elmo-folder-name-internal folder)
+                  elmo-shimbun-update-overview-folder-list))
          (elmo-shimbun-update-overview folder location header))
        (when (setq shimbun-id
                    (elmo-shimbun-header-extra-field header "x-shimbun-id"))