[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 2chのread.cgiへ]
Update time : 05/10 01:03 / Filesize : 245 KB / Number-of Response : 839
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

Wanderlust その5



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)))







[ 続きを読む ] / [ 携帯版 ]

全部読む 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<245KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef