data in `~/.newsrc.eld'.
** Picons can be displayed right from the textual address, see
-`gnus-picon-style'
+`gnus-picon-style'. *Note Picons::.
** You can import and export your RSS subscriptions from OPML files.
*Note RSS::.
** Gnus supports new limiting commands in the Summary buffer: `/ r'
(`gnus-summary-limit-to-replied') and `/ R'
-(`gnus-summary-limit-to-recipient').
+(`gnus-summary-limit-to-recipient'). *Note Limiting::.
** Gnus supports a new sort command in the Summary buffer: `C-c C-s C-t'
-(`gnus-summary-sort-by-recipient').
+(`gnus-summary-sort-by-recipient'). *Note Summary Sorting::
** The `nnrss' back end now supports multilingual text. Non-ASCII group
names for the `nnrss' groups are also supported. *Note RSS::.
** Gnus uses narrowing to hide headers in Message buffers. The
`References' header is hidden by default. To make all headers
visible, use `(setq message-hidden-headers nil)'.
+
+** `gnus-decay-scores' can be a regexp matching score files. This
+allows to decay only adaptive score files. *Note Score Decays::.
+
\f
* For older news, see Gnus info node "New Features".
+2005-01-03 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * gnus-score.el (gnus-decay-scores, gnus-score-load-file): Allow
+ to apply decay on score files matching a regexp.
+
2004-12-30 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-group.el (gnus-group-line-format-alist): Keep the forward
:type 'boolean)
(defcustom gnus-decay-scores nil
- "*If non-nil, decay non-permanent scores."
+ "*If non-nil, decay non-permanent scores.
+
+If it is a regexp, only decay score files matching regexp."
:group 'gnus-score-decay
- :type 'boolean)
+ :type `(choice (const :tag "never" nil)
+ (const :tag "always" t)
+ (const :tag "adaptive score files"
+ ,(concat "\\." gnus-adaptive-file-suffix "\\'"))
+ (regexp)))
(defcustom gnus-decay-score-function 'gnus-decay-score
"*Function called to decay a score.
(decay (car (gnus-score-get 'decay alist)))
(eval (car (gnus-score-get 'eval alist))))
;; Perform possible decays.
- (when (and gnus-decay-scores
+ (when (and (if (stringp gnus-decay-scores)
+ (string-match gnus-decay-scores file)
+ gnus-decay-scores)
(or cached (file-exists-p file))
(or (not decay)
(gnus-decay-scores alist decay)))
+2005-01-03 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * gnus-news.texi: Mention change new behavior of
+ `gnus-decay-scores'. Added some references.
+
+ * gnus.texi (Score Decays): `gnus-decay-scores' can be a regexp
+ matching score files as well.
+ (Picons): Describe `gnus-picon-style'.
+
2005-01-02 Romain Francoise <romain@orebokech.com>
* gnus-news.texi: Mention the new method used to hide headers.
Gnus \e$B$O$3$NLdBj$N2r7h$r=u$1$k$?$a$K%9%3%"$rIe$i$;$k5!9=$rDs6!$7$^$9!#%9\e(B
\e$B%3%"%U%!%$%k$OFI$_9~$^$l!"\e(B@code{gnus-decay-scores} \e$B$,\e(B @code{nil} \e$B$G$J$$\e(B
\e$B$H!"\e(Bgnus \e$B$O%9%3%"%U%!%$%k$rIeGT5!9=$rDL$7!"A4$F$N1JB3$G$J$$%9%3%"K!B'$N\e(B
-\e$B%9%3%"$r2<$2$^$9!#IeGT<+?H$O4X?t\e(B @code{gnus-decay-score-function} \e$B$K$h$C\e(B
-\e$B$F<B9T$5$l!"=i4|@_Dj$O\e(B @code{gnus-decay-score} \e$B$G$9!#0J2<$O$=$N4X?t$NDj\e(B
-\e$B5A$G$9\e(B:
+\e$B%9%3%"$r2<$2$^$9!#$b$7\e(B @code{gnus-decay-scores} \e$B$,@55,I=8=$@$C$?$i!"$=$l\e(B
+\e$B$K9gCW$9$k%9%3%"%U%!%$%k$@$1$,07$o$l$^$9!#Nc$($P\e(B @emph{adaptive} \e$B%9%3%"\e(B
+\e$B%U%!%$%k$@$1$rIeGT$5$;$k$?$a$K!"$=$l$r\e(B @samp{\\.ADAPT\\'} \e$B$K@_Dj$9$k$3$H\e(B
+\e$B$,$G$-$^$9!#IeGT<+?H$O4X?t\e(B @code{gnus-decay-score-function} \e$B$K$h$C$F<B9T\e(B
+\e$B$5$l!"=i4|@_Dj$O\e(B @code{gnus-decay-score} \e$B$G$9!#0J2<$O$=$N4X?t$NDj5A$G$9\e(B:
@lisp
(defun gnus-decay-score (score)
\e$B%H%j$,!"$?$@C1$K\e(B @code{gnus-picon-databases} \e$B$K@_Dj$5$l$F$$$k$h$&$K$7$F\e(B
\e$B2<$5$$!#\e(B
+@vindex gnus-picon-style
+\e$BJQ?t\e(B @code{gnus-picon-style} \e$B$O\e(B picon \e$B$r$I$N$h$&$KI=<($9$k$+$r@)8f$7$^$9!#\e(B
+@code{inline} \e$B$@$C$?$i%F%-%9%H7A<0$NI=8=$,CV$-49$($i$l$^$9!#\e(B
+@code{right} \e$B$@$C$?$i!"%F%-%9%H7A<0$NI=8=$N1&B&$K\e(B picon \e$B$,2C$($i$l$^$9!#\e(B
+
\e$B$b$N$4$H$N=j:_$r4IM}$9$k$?$a$K!"0J2<$NJQ?t$r@_$1$F$$$^$9!#\e(B
@table @code
-@item gnus-picon-database
-@vindex gnus-picon-database
+@item gnus-picon-databases
+@vindex gnus-picon-databases
Picon \e$B%G!<%?%Y!<%9$N>l=j$G$9!#$3$l$O\e(B @file{news}, @file{domains},
@file{users} (\e$B$J$I$J$I\e(B) \e$B$N%5%V%G%#%l%/%H%j!<$,4^$^$l$F$$$k%G%#%l%/%H%j!<\e(B
\e$B$N%j%9%H$G$9!#\e(B@code{("/usr/lib/picon" "/usr/local/faces")} \e$B$,%G%#%U%)%k\e(B
@item gnus-picon-news-directories
@vindex gnus-picon-news-directories
-@code{gnus-picon-database} \e$B$+$i%K%e!<%9%0%k!<%WMQ$N%U%'!<%9$rC5$9$?$a$N\e(B
+@code{gnus-picon-databases} \e$B$+$i%K%e!<%9%0%k!<%WMQ$N%U%'!<%9$rC5$9$?$a$N\e(B
\e$B%5%V%G%#%l%/%H%j!<$N%j%9%H$G$9!#%G%#%U%)%k%H$O\e(B @code{("news")} \e$B$G$9!#\e(B
@item gnus-picon-user-directories
@vindex gnus-picon-user-directories
-@code{gnus-picon-database} \e$B$+$i%f!<%6$N%U%'!<%9$rC5$9$?$a$N%5%V%G%#%l%/\e(B
+@code{gnus-picon-databases} \e$B$+$i%f!<%6$N%U%'!<%9$rC5$9$?$a$N%5%V%G%#%l%/\e(B
\e$B%H%j!<$N%j%9%H$G$9!#\e(B@code{("local" "users" "usenix" "misc")} \e$B$,%G%#%U%)\e(B
\e$B%k%H$G$9!#\e(B
@item gnus-picon-domain-directories
@vindex gnus-picon-domain-directories
-@code{gnus-picon-database} \e$B$+$i%I%a%$%sL>$N%U%'!<%9$rC5$9$?$a$N%5%V%G%#\e(B
+@code{gnus-picon-databases} \e$B$+$i%I%a%$%sL>$N%U%'!<%9$rC5$9$?$a$N%5%V%G%#\e(B
\e$B%l%/%H%j!<$N%j%9%H$G$9!#%G%#%U%)%k%H$O\e(B @code{("domains")} \e$B$G$9!#$3$N%j%9\e(B
\e$B%H$K\e(B @samp{"unknown"} \e$B$rDI2C$7$F$*$-$?$/$J$k?M$b$$$k$G$7$g$&!#\e(B
@item
Picons can be displayed right from the textual address, see
-@code{gnus-picon-style}
+@code{gnus-picon-style}. @ref{Picons}.
@item
You can import and export your @acronym{RSS} subscriptions from
@item Gnus supports new limiting commands in the Summary buffer:
@kbd{/ r} (@code{gnus-summary-limit-to-replied}) and @kbd{/ R}
-(@code{gnus-summary-limit-to-recipient}).
+(@code{gnus-summary-limit-to-recipient}). @ref{Limiting}.
@item Gnus supports a new sort command in the Summary buffer:
-@kbd{C-c C-s C-t} (@code{gnus-summary-sort-by-recipient}).
+@kbd{C-c C-s C-t} (@code{gnus-summary-sort-by-recipient}). @ref{Summary
+Sorting}
@item The @code{nnrss} back end now supports multilingual text.
Non-@acronym{ASCII} group names for the @code{nnrss} groups are also
@item Gnus uses narrowing to hide headers in Message buffers.
The @code{References} header is hidden by default. To make all
headers visible, use @code{(setq message-hidden-headers nil)}.
-@end itemize
+@item @code{gnus-decay-scores} can be a regexp matching score files.
+This allows to decay only adaptive score files. @ref{Score Decays}.
+
+@end itemize
@c gnus-news.texi ends here.
When score files are loaded and @code{gnus-decay-scores} is
non-@code{nil}, Gnus will run the score files through the decaying
mechanism thereby lowering the scores of all non-permanent score rules.
-The decay itself if performed by the @code{gnus-decay-score-function}
-function, which is @code{gnus-decay-score} by default. Here's the
-definition of that function:
+If @code{gnus-decay-scores} is a regexp, only score files matching this
+regexp are treated. E.g. you may set it to @samp{\\.ADAPT\\'} if only
+@emph{adaptive} score files should be decayed. The decay itself if
+performed by the @code{gnus-decay-score-function} function, which is
+@code{gnus-decay-score} by default. Here's the definition of that
+function:
@lisp
(defun gnus-decay-score (score)
@code{gnus-picon-databases} points to the directory containing the
Picons databases.
+@vindex gnus-picon-style
+The variable @code{gnus-picon-style} controls how picons are displayed.
+If @code{inline}, the textual representation is replaced. If
+@code{right}, picons are added right to the textual representation.
+
The following variables offer control over where things are located.
@table @code