- 46 名前:名無しさん@お腹いっぱい。 mailto:sage [2005/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)))
|

|