From: yamaoka Date: Mon, 6 Dec 2004 22:14:48 +0000 (+0000) Subject: Synch to No Gnus 200412061614. X-Git-Tag: t-gnus-6_17_4-quimby-~646 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5dde5259e79f4c31d003fd412dc3ac53ed4302fc;p=elisp%2Fgnus.git- Synch to No Gnus 200412061614. --- diff --git a/ChangeLog b/ChangeLog index 936f558..23b5839 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-06 Reiner Steib + + * GNUS-NEWS: Generated. + 2004-11-14 Katsumi Yamaoka * lisp/encrypt.el: Bind password-cache-expiry when compiling. diff --git a/GNUS-NEWS b/GNUS-NEWS index 6db5c54..b7d2657 100644 --- a/GNUS-NEWS +++ b/GNUS-NEWS @@ -23,12 +23,12 @@ in general. ** The nntp back end store article marks in `~/News/marks'. The directory can be changed using the (customizable) variable -`nntp-marks-directory', and marks can be disabled using the (backend) -variable `nntp-marks-is-evil'. The advantage of this is that you can -copy `~/News/marks' (using rsync, scp or whatever) to another Gnus -installation, and it will realize what articles you have read and -marked. The data in `~/News/marks' has priority over the same data -in `~/.newsrc.eld'. +`nntp-marks-directory', and marks can be disabled using the (back +end) variable `nntp-marks-is-evil'. The advantage of this is that +you can copy `~/News/marks' (using rsync, scp or whatever) to another +Gnus installation, and it will realize what articles you have read +and marked. The data in `~/News/marks' has priority over the same +data in `~/.newsrc.eld'. ** Picons can be displayed right from the textual address, see `gnus-picon-style' @@ -64,7 +64,7 @@ when the server support it. It is enabled by default (see `password-cache'), with a short timeout of 16 seconds (see `password-cache-expiry'). If PGG is used as the -PGP backend, the PGP passphrase is managed by this mechanism. +PGP back end, the PGP passphrase is managed by this mechanism. Passwords for ManageSieve connections are managed by this mechanism, after quering the user about whether to do so. @@ -84,6 +84,13 @@ header. This changes the default of `gnus-article-loose-mime'. the Gnus manual, section Hashcash, for more information. Use (setq message-generate-hashcash t) to enable. +** Gnus supports new limiting commands in the Summary buffer: `/ r' +(`gnus-summary-limit-to-replied') and `/ R' +(`gnus-summary-limit-to-recipient'). + +** Gnus supports a new sort command in the Summary buffer: `C-c C-s C-t' +(`gnus-summary-sort-by-recipient'). + * For older news, see Gnus info node "New Features". diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a9b2cb..81a7ef9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2004-12-05 Nelson Ferreira + + * spam-stat.el (spam-stat-save): Load the hashtable from disk only + if there is no hashtable in memory or file modification time is + newer than cached timestamp. + 2004-12-03 Reiner Steib * gnus-sum.el (gnus-summary-limit-to-recipient): Implement diff --git a/lisp/spam-stat.el b/lisp/spam-stat.el index 30d1214..585fc42 100644 --- a/lisp/spam-stat.el +++ b/lisp/spam-stat.el @@ -186,6 +186,9 @@ been touched in this many days will be considered. Without this filter, re-training spam-stat with several thousand messages will start to take a very long time.") +(defvar spam-stat-last-saved-at nil + "Time stamp of last change of spam-stat-file on this run") + (defvar spam-stat-syntax-table (let ((table (copy-syntax-table text-mode-syntax-table))) (modify-syntax-entry ?- "w" table) @@ -401,14 +404,25 @@ spam-stat (spam-stat-to-hash-table '(" spam-stat-ngood spam-stat-nbad)) (spam-stat-bad entry)))) spam-stat) (insert ")))")))) - (setq spam-stat-dirty nil))) + (message "Saved %s." spam-stat-file) + (setq spam-stat-dirty nil + spam-stat-last-saved-at (nth 5 (file-attributes spam-stat-file))))) (defun spam-stat-load () "Read the `spam-stat' hash table from disk." ;; TODO: maybe we should warn the user if spam-stat-dirty is t? (let ((coding-system-for-read spam-stat-coding-system)) - (load-file spam-stat-file)) - (setq spam-stat-dirty nil)) + (cond (spam-stat-dirty (message "Spam stat not loaded: spam-stat-dirty t")) + ((or (not (boundp 'spam-stat-last-saved-at)) + (null spam-stat-last-saved-at) + (not (equal spam-stat-last-saved-at + (nth 5 (file-attributes spam-stat-file))))) + (progn + (load-file spam-stat-file) + (setq spam-stat-dirty nil + spam-stat-last-saved-at + (nth 5 (file-attributes spam-stat-file))))) + (t (message "Spam stat file not loaded: no change in disk.."))))) (defun spam-stat-to-hash-table (entries) "Turn list ENTRIES into a hash table and store as `spam-stat'. diff --git a/texi/ChangeLog b/texi/ChangeLog index dbdc3c3..2a4a67f 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,13 @@ +2004-12-06 Reiner Steib + + * gnus-news.texi: Mention `gnus-summary-limit-to-recipient' and + `gnus-summary-sort-by-recipient'. + + * gnus.texi (Filtering Spam Using The Spam ELisp Package): Index + `spam-initialize'. + (Limiting): Add `gnus-summary-limit-to-recipient'. + (Summary Sorting): Add `gnus-summary-sort-by-recipient'. + 2004-11-30 Simon Josefsson * gnus.texi (Misc Article): Add, suggested by Reiner Steib diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 153f7de..2e01fb2 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -6083,6 +6083,13 @@ gnus $B%(!<%8%'%s%H(B (@pxref{Agent Basics}) $B$O$$$/$D$+$N5-;v$r<+F0E*$K%@%& $B$9(B (@code{gnus-summary-limit-to-author})$B!#$b$7@\F,<-$,M?$($i$l$l$P!"9gCW(B $B$9$k5-;v$r=|30$7$^$9!#(B +@item / R +@kindex / R ($B35N,(B) +@findex gnus-summary-limit-to-recipient +$B35N,%P%C%U%!$r$$$/$D$+$NrM}$KCV$-(B @findex gnus-summary-sort-by-author $BCxZ$9$k$3$H$,$G$-$^$9$,!"H$7$F2<$5$$!#(B +@cindex spam-initialize @code{spam.el} $B$r;H$&$K$O!"(B@code{spam.el} $B$r<+F0FI$_9~$_(B (autoload) $B$7(B $B$F(B @code{spam.el} $B$N3F%U%C%/$r%$%s%9%H!<%k$9$k$?$a$K!"4X(B $B?t(B @code{spam-initialize} $B$r(B @strong{$B