From c9383e21b58c955c989bf3eeca74464946394bef Mon Sep 17 00:00:00 2001 From: yoichi Date: Tue, 19 Nov 2002 14:32:18 +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 99aa4bd..9973569 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