[Mew-dist 14834] Re: cache-message problem

Tatsuya Kinoshita tatsuyak at example.com
2000年 11月 2日 (木) 15:22:35 JST


In message "[Mew-dist 14676] Re: cache-message problem (was b72)"
Tatsuya Kinoshita <tatsuyak at example.com> wrote:

> # cache-messageまわり、もっと強くなってほしい……。

Mew以外によってメッセージを移動、削除した場合、Summaryには表示さ
れているけど実際にはファイルが存在しない、という状態になります。

そのようなメッセージを表示しようとすると、「+folder/number doesn't
exist」というエラーが表示されます。

ここまではよいのですが、その後、そのままMewを終了せずに使い続ける
と、「(wrong-type-argument stringp #<buffer *mew cache*0>)」とい
うエラーが、たびたび起こるようになります。

この「(wrong-type-argument ...)」への対策用パッチを添付します。

-- 
木下達也 (Tatsuya Kinoshita)
-------------- next part --------------
 This work is written by Tatsuya Kinoshita.

 You can use, copy, distribute and/or modify it without restriction.

diff -ur mew-1.95b75/mew-cache.el mew-1.95b75-tats20001102/mew-cache.el
--- mew-1.95b75/mew-cache.el	Mon Oct 16 20:43:53 2000
+++ mew-1.95b75-tats20001102/mew-cache.el	Thu Nov  2 14:44:06 2000
@@ -156,6 +156,7 @@
 	 (mew-cache-delete)
 	 (if no-err
 	     (message (nth 1 errmsg))
+	   (set-buffer cbuf)
 	   (error (nth 1 errmsg)))
 	 (throw 'return (setq cache nil))))
       (mew-cinfo-set fld msg (car tim-siz) (cdr tim-siz))


Mew-dist メーリングリストの案内