From a254a2462387966a667da22529d64c1fb2aed4c2 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 14 Jul 2003 22:17:50 +0000 Subject: [PATCH] Synch to Gnus 200307141631. --- texi/ChangeLog | 5 +++++ texi/gnus-ja.texi | 23 +++++++++++++++++++++-- texi/gnus.texi | 23 +++++++++++++++++++++-- 3 files changed, 47 insertions(+), 4 deletions(-) diff --git a/texi/ChangeLog b/texi/ChangeLog index 0a2dee6..787781e 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2003-07-14 Teodor Zlatanov + + * gnus.texi (Filtering Spam Using The Spam ELisp Package): + mentioned the spam-install-hooks mess + 2003-07-11 Simon Josefsson * gnus.texi (Splitting in IMAP): Typos, tiny patch from Matthias diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 7cd494d..b885f2b 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -21402,8 +21402,27 @@ Spam と戦うための新しい技法は、メッセージを送信する際にいくばくかの負担 分析することです。@dfn{Ham} は @file{spam.el} のいたる所で spam ではない メッセージを示すために使う名前です。 -では @file{spam.el} を読み込むと何が起きるでしょうか? 第一に、以下のキー -ボード命令が使えるようになります: +では @file{spam.el} を読み込むと何が起きるでしょうか? + +第一に、変数 @code{spam-install-hooks} を @code{t} に、そし +て @code{spam.el} のフックを @strong{設定しなければなりません}: + +@example +(setq spam-install-hooks t) +(spam-install-hooks-function) +@end example + +これは、以下で説明される @code{spam-use-*} 変数群の一つを設定した後 +で @code{spam.el} をロードすれば、自動的に行なわれます。したがって、 +@code{spam-use-*} 変数群の一つを設定した後で、@code{spam.el} をロードし +なければなりません: + +@example +(setq spam-use-bogofilter t) +(require 'spam) +@end example + +以下のキーボード命令が使えるようになります: @table @kbd @item M-d diff --git a/texi/gnus.texi b/texi/gnus.texi index 6c8eb0c..5757427 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -22275,8 +22275,27 @@ filters incoming mail, and it analyzes mail known to be spam or ham. @dfn{Ham} is the name used throughout @file{spam.el} to indicate non-spam messages. -So, what happens when you load @file{spam.el}? First of all, you get -the following keyboard commands: +So, what happens when you load @file{spam.el}? + +First of all, you @strong{must} set the variable +@code{spam-install-hooks} to t and install the @code{spam.el} hooks: + +@example +(setq spam-install-hooks t) +(spam-install-hooks-function) +@end example + +This is automatically done for you if you load @code{spam.el} +@emph{after} one of the @code{spam-use-*} variables explained later +are set. So you should load @code{spam.el} after you set one of the +@code{spam-use-*} variables: + +@example +(setq spam-use-bogofilter t) +(require 'spam) +@end example + +You get the following keyboard commands: @table @kbd -- 1.7.10.4