Wanderlust その5at UNIX
Wanderlust その5 - 暇つぶし2ch46:名無しさん@お腹いっぱい。
05/05/20 01:16:07
CVS HEADにて、NNTPフォルダのSummaryバッファにおいて、?で検索するときに
条件にANDを使おうとすると次のようなエラーになります。
wrong-type-argument arrayp (and [match "from" "mona"] [match "since" "lastmonth"])
ANDを使わない単一条件の検索は問題ありません。

原因はelmo-folder-searchでelmo-filter-keyが使われますが
これがarefに置き換えられるマクロであるためで、
とりあえずはelmo-folder-searchでconditionがvectorかどうかをまず判定する
ことにより回避されます。
--- elmo-nntp.el.orig Tue Mar 22 07:17:17 2005
+++ elmo-nntp.el Fri May 20 01:05:26 2005
@@ -1190,7 +1190,8 @@
 (luna-define-method elmo-folder-search :around ((folder elmo-nntp-folder)
condition &optional from-msgs)
   (if (and (elmo-folder-plugged-p folder)
-          (not (string= "body" (elmo-filter-key condition))))
+          (not (and (arrayp condition)
+                    (string= "body" (elmo-filter-key condition)))))
       (elmo-nntp-search-internal folder condition from-msgs)
     (luna-call-next-method)))



次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch