2002-05-05 David Smith <ultrasoul@ultrasoul.com>
authorteranisi <teranisi>
Thu, 24 Jul 2003 11:55:48 +0000 (11:55 +0000)
committerteranisi <teranisi>
Thu, 24 Jul 2003 11:55:48 +0000 (11:55 +0000)
* elmo-imap4.el (elmo-imap4-folder-diff-plugged):
Use SELECT when elmo-imap4-use-select-to-update-status is t.

elmo/ChangeLog
elmo/elmo-imap4.el

index d55b657..ca3d9b6 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-05  David Smith <ultrasoul@ultrasoul.com>
+
+       * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
+       Use SELECT when elmo-imap4-use-select-to-update-status is t.
+
 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
index 3ab05a3..4dcddb3 100644 (file)
@@ -2370,6 +2370,10 @@ If optional argument REMOVE is non-nil, remove FLAG."
     (with-current-buffer (elmo-network-session-buffer session)
       (setq elmo-imap4-status-callback nil)
       (setq elmo-imap4-status-callback-data nil))
+    (if elmo-imap4-use-select-to-update-status
+       (elmo-imap4-session-select-mailbox
+        session
+        (elmo-imap4-folder-mailbox-internal folder)))
     (setq response
          (elmo-imap4-send-command-wait session
                                        (list