From bc1ffd665ab1468f1cc51fd523e3fe4f4e59283c Mon Sep 17 00:00:00 2001 From: yoichi Date: Tue, 19 Nov 2002 14:35:01 +0000 Subject: [PATCH] * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the search-key is "body". --- elmo/ChangeLog | 5 +++++ elmo/elmo-nntp.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 6ae9ba5..b079a2d 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2002-11-19 Yoichi NAKAYAMA + + * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the + search-key is "body". + 2002-11-19 Yuuichi Teranishi * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value diff --git a/elmo/elmo-nntp.el b/elmo/elmo-nntp.el index 9e64227..d6bc455 100644 --- a/elmo/elmo-nntp.el +++ b/elmo/elmo-nntp.el @@ -1163,6 +1163,8 @@ Returns a list of cons cells like (NUMBER . VALUE)" (if from-msgs (elmo-list-filter from-msgs result) result))) + ((string= "body" search-key) + (error "On-line search by body via nntp is not implemented")) (t (let ((val (elmo-filter-value condition)) (negative (eq (elmo-filter-type condition) 'unmatch)) -- 1.7.10.4