kazu-yamamoto / Mew

Messaging in the Emacs World
http://www.mew.org/
Other
191 stars 51 forks source link

Fix cases where summary mode marks are not saved to the local cache in IMAP #189

Closed trueroad closed 4 months ago

trueroad commented 6 months ago

If there were no new messages in the IMAP scan, etc., the summary mode marks were not saved to the local cache.

This commit fixes it.

trueroad commented 6 months ago

問題の再現手順

  1. IMAPのフォルダでマークを変更する
  2. scanなどをして、新しいメッセージが無い
  3. そのままEmacsを終了する
  4. EmacsとMewを起動する

すると、変更したハズのマークがローカルでは元に戻ってしまいました(サーバ側は正しく変更が反映されています)。 これは新しいメッセージが無いときにマークをローカルのキャッシュに保存してないためのようでしたので、保存するようにしてみました。

kazu-yamamoto commented 4 months ago

マージしました。 簡単なこちらを最初にマージすべきでした。 すいません。