From 0289073aa945efe731b8eee729d36e2ac240273c Mon Sep 17 00:00:00 2001 From: kaoru Date: Mon, 24 May 2004 14:29:11 +0000 Subject: [PATCH] Backport change: 2002-05-05 David Smith * elmo-imap4.el (elmo-imap4-folder-diff-plugged): Use SELECT when elmo-imap4-use-select-to-update-status is t. --- elmo/ChangeLog | 5 +++++ elmo/elmo-imap4.el | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 2bd89cc..a16b217 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2002-05-05 David Smith + + * elmo-imap4.el (elmo-imap4-folder-diff-plugged): + Use SELECT when elmo-imap4-use-select-to-update-status is t. + 2003-07-05 Yuuichi Teranishi * 2.10.1 is released. diff --git a/elmo/elmo-imap4.el b/elmo/elmo-imap4.el index 47b4668..4f48f7a 100644 --- a/elmo/elmo-imap4.el +++ b/elmo/elmo-imap4.el @@ -2324,6 +2324,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 -- 1.7.10.4