* elmo-localdir.el (elmo-folder-append-messages): Treat flags for
authorteranisi <teranisi>
Thu, 17 Jul 2003 13:51:13 +0000 (13:51 +0000)
committerteranisi <teranisi>
Thu, 17 Jul 2003 13:51:13 +0000 (13:51 +0000)
local file messages.
(elmo-folder-msgdb-create): Fixed read mark.

elmo/ChangeLog
elmo/elmo-localdir.el

index ef6538f..04709d3 100644 (file)
@@ -2,6 +2,7 @@
 
        * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
        local file messages.
+       (elmo-folder-msgdb-create): Fixed read mark.
 
 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
index 7af928a..780031b 100644 (file)
                                       num
                                       message-id))
          (if (setq gmark (or (elmo-msgdb-global-mark-get message-id)
-                             (elmo-msgdb-mark
-                              (elmo-flag-table-get flag-table message-id)
-                              (elmo-file-cache-status
-                               (elmo-file-cache-get message-id))
-                              'new)))
+                             (unless (eq 'read (elmo-flag-table-get 
+                                                flag-table message-id))
+                               (elmo-msgdb-mark
+                                (elmo-flag-table-get flag-table message-id)
+                                (elmo-file-cache-status
+                                 (elmo-file-cache-get message-id))
+                                'new))))
              (setq mark-alist
                    (elmo-msgdb-mark-append
                     mark-alist