From: yamaoka Date: Wed, 19 Mar 2003 11:05:49 +0000 (+0000) Subject: Synch to Oort Gnus 200303190702. X-Git-Tag: t-gnus-6_15_18-00-quimby~26 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=47bc3a7ccbdea93f85546cfac45ee9ebdb32d310;p=elisp%2Fgnus.git- Synch to Oort Gnus 200303190702. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dc75e3c..7e1be81 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-03-19 Jesper Harder + + * mm-util.el (mm-mule-charset-to-mime-charset): Test if + sort-coding-systems is defined. + 2003-03-18 Paul Jarc * nnmaildir.el (nnmaildir-open-server, diff --git a/lisp/mm-util.el b/lisp/mm-util.el index 85c44f1..8964fbc 100644 --- a/lisp/mm-util.el +++ b/lisp/mm-util.el @@ -301,7 +301,8 @@ mail with multiple parts is preferred to sending a Unicode one.") (defun mm-mule-charset-to-mime-charset (charset) "Return the MIME charset corresponding to the given Mule CHARSET." - (if (fboundp 'find-coding-systems-for-charsets) + (if (and (fboundp 'find-coding-systems-for-charsets) + (fboundp 'sort-coding-systems)) (let (mime) (dolist (cs (sort-coding-systems (copy-sequence diff --git a/texi/ChangeLog b/texi/ChangeLog index d32c283..bfe6ec9 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,19 @@ +2003-03-18 Kevin Greiner + + * gnus.texi (Gnus Unplugged): Refer to new agent Group/Topic + parameters. + (Category Syntax): New description. + (Category Buffer): New command. + (Category Variables): New variables. + (Agent as Cache): Expanded description. + (Agent Expiry): Expanded description. + (Agent Variables): Fixed and new descriptions. + + * infohack.el (batch-makeinfo): Provide local implementation of + subst-char-in-region as the built-in implementation is unreliable + on Windows XP (Intermittent failure results in build looping + forever). + 2003-03-18 Paul Jarc * gnus.texi (Maildir): Replace create-directory with diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 6146952..91d1f1f 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -16612,7 +16612,18 @@ PPP $B4X78(B($B$J$I(B)$B$rJD$8$^$9!#$=$&$7$F%K%e!<%9$r%*%U%i%$%s$GFI$`$3$H$ $B$9!#(B @item -$B%@%&%s%m!<%IJ}?K$r7hDj$7$^$9!#(B@xref{Agent Categories}. +@c TRANSLATEME +$B%@%&%s%m!<%IJ}?K$r7hDj$7$^$9!#(BIt's fairly simple once you decide whether +you are going to use agent categories, topic parameters, and/or group +parameters to implement your policy. If you're new to gnus, it +is probably best to start with a category @xref{Agent Categories}. + +Both topic parameters (@xref{Topic Parameters}) and agent +categories (@xref{Agent Categories}) provide for setting a policy that +applies to multiple groups. Which you use is entirely up to you. Topic +parameters do override categories so, if you mix the two, you'll have to +take that into account. If you have a few groups that deviate from your +policy, you can use @xref{Group Parameters} to configure them. @item $B$($($H(B@dots{}$B!"0J>e$G$9!#(B @@ -16628,10 +16639,27 @@ PPP $B4X78(B($B$J$I(B)$B$rJD$8$^$9!#$=$&$7$F%K%e!<%9$r%*%U%i%$%s$GFI$`$3$H$ $B$Y$-$G$"$j!"$=$N5-;v$,LLGr$$$HJ,$+$C$?;~E@$G!"%@%&%s%m!<%I$9$k$?$a$N0u$r(B $B$NJ,N`$KB0$5$J$$%0%k!<%W$O(B @code{$B=i4|(B} $BJ,N`$KB0$7$^$9!#(BGnus $B$OJ,N`$N:n(B -$B@.$H4IM}$N$?$a$NFH<+$N%P%C%U%!!<$r;}$C$F$$$^$9!#(B +$B2?$r%@%&%s%m!<%I$9$k$+$r@)8f$9$k$?$a$N$h$jM-8z$JJ}K!$N0l$D$O!"J,(B +$BN`(B (@dfn{category}) $B$r:n@.$7$F!"$=$7$F$=$NJ,N`$K$$$/$D$+(B ($B$"$k$$$OA4(B +$BIt(B) $B$N%0%k!<%W$r3d$jEv$F$k$3$H$G$9!#B>$NJ,N`$KB0$5$J$$%0%k!<%W(B +$B$O(B @code{$B=i4|(B} $BJ,N`$KB0$7$^$9!#(BGnus $B$OJ,N`$N:n@.$H4IM}$N$?$a$NFH<+$N%P%C(B +$B%U%!!<$r;}$C$F$$$^$9!#(B + +@c TRANSLATEME +If you prefer, you can also use group parameters (@pxref{Group +Parameters}) and topic parameters (@pxref{Topic Parameters}) for an +alternative approach to controlling the agent. The only real +difference is that categories are specific to the agent (so there is +less to learn) while group and topic parameters include the kitchen +sink. + +Since you can set agent parameters in several different places we have +a rule to decide which source to believe. This rule specifies that +the parameter sources are checked in the following order: group +parameters, topic parameters, agent category, and finally customizable +variables. So you can mix all of these sources to produce a wide range +of behavior, just don't blame me if you don't remember where you put +your settings. @menu * Category Syntax:: $BJ,N`$H$O$I$s$J$b$N$+(B @@ -16642,18 +16670,61 @@ PPP $B4X78(B($B$J$I(B)$B$rJD$8$^$9!#$=$&$7$F%K%e!<%9$r%*%U%i%$%s$GFI$`$3$H$ @node Category Syntax @subsubsection $BJ,N`$NJ8K!(B -$BJ,N`$OFs$D$N$b$N$+$i$J$j$^$9!#(B +@c TRANSLATEME +$BJ,N`$O(B ** $B$N$b$N$+$i$J$j$^$9!#(B +A category consists of a name, the list of groups belonging to the +category, and a number of optional parameters that override the +customizable variables. The complete list of agent parameters are +listed below. -@enumerate -@item +@table @code +@item gnus-agent-cat-name +The name of the category. + +@item gnus-agent-cat-groups +The list of groups that are in this category. + +@item gnus-agent-cat-predicate ($BDL>o(B) $B$I$N5-;v$r%@%&%s%m!<%I$9$k$N$,E,Ev$+$H$$$&Bg$^$+$JNX3T$rM?$($k=R(B $B8l!#$=$7$F(B -@item +@item gnus-agent-cat-score-file ($BDL>o(B) $B$I$N5-;v$r%@%&%s%m!<%I$9$k$+$r7h$a$k$H$-$N$h$j$-$a$N:Y$+$$%9%3%"(B $B5,B'!#(B($B$3$N%@%&%s%m!<%I%9%3%"(B (@dfn{download score}) $B$ODL>o$N%9%3%"$H$O(B $BI,$:$7$b4X78$,L5$$$3$H$KCm0U$7$F$/$@$5$$!#(B) -@end enumerate + +@c TRANSLATEME +@item gnus-agent-cat-enable-expiration +a boolean indicating whether the agent should expire old articles in +this group. Most groups should be expired to conserve disk space. In +fact, its probably safe to say that the gnus.* hierarchy contains the +only groups that should not be expired. + +@item gnus-agent-cat-days-until-old +an integer indicating the number of days that the agent should wait +before deciding that a read article is safe to expire. + +@item gnus-agent-cat-low-score +an integer that overrides the value of @code{gnus-agent-low-score}. + +@item gnus-agent-cat-high-score +an integer that overrides the value of @code{gnus-agent-high-score}. + +@item gnus-agent-cat-length-when-short +an integer that overrides the value of +@code{gnus-agent-short-article}. + +@item gnus-agent-cat-length-when-long +an integer that overrides the value of @code{gnus-agent-long-article}. +@end table + +The name of a category can not be changed once the category has been +created. + +Each category maintains a list of groups that are exclusive members of +that category. The exclusivity rule is automatically enforced, add a +group to a new category and it is automatically removed from its old +category. $B=R8l$N0lHVC1=c$J7A<0$O(B @code{true} $B$d(B @code{false} $B$N$h$&$JC1FH$N=R8l$+(B $B$i$J$j$^$9!#$3$l$i$NFs$D$O$=$l$>$l!"A4$F$N2DG=$J5-;v$r%@%&%s%m!<%I$9$k$+!"(B @@ -16698,6 +16769,15 @@ short $B0J2<$N=R8l$O$"$i$+$8$aDj5A$5$l$F$$$^$9$,!"$3$l$i$N$I$l$b$"$J$?$N$d$j$?$$(B $B$3$H$K0lCW$7$J$1$l$P!"<+J,$GFH<+$N$b$N$r=q$/$3$H$b$G$-$^$9!#(B +@c TRANSLATEME +When evaluating each of these predicates, the named constant will be +bound to the value determined by calling +@code{gnus-agent-find-parameter} on the appropriate parameter. For +example, gnus-agent-short-article will be bound to +@code{(gnus-agent-find-parameter group 'agent-short-article)}. This +means that you can specify a predicate in your category then tune that +predicate to individual groups. + @table @code @item short $B5-;v$,(B @code{gnus-agent-short-article} $B9T$h$jC;$+$1$l$P??!#=i4|@_DjCM(B @@ -16779,9 +16859,9 @@ gnus $B%(!<%8%'%s%H$,$=$N5-;v$r(B spam $B$@$H8+Pv$7$?$i??!#$3$NH/8+E*e$N$b$N$HEy2A$JD9$$J}$NNc$O(B: @@ -16826,7 +16906,7 @@ gnus $B%(!<%8%'%s%H$,$=$N5-;v$r(B spam $B$@$H8+Pv$7$?$i??!#$3$NH/8+E*C5n(B @@ -17140,46 +17251,38 @@ gnus $B$,(B @dfn{plugged} $B$G$"$k$H$-$K!"$9$G$K%(!<%8%'%s%H$K3JG<$5$l$F$$$k% @vindex gnus-agent-expire-days @findex gnus-agent-expire @kindex M-x gnus-agent-expire +@kindex M-x gnus-agent-expire-group +@findex gnus-agent-expire-group @cindex Agent expiry @cindex Gnus Agent expiry @cindex expiry -@code{nnagent} $B$O4|8B@Z$l>C5n$r07$$$^$;$s!#$=$NBe$o$j$K!"FCJL(B -$B$J(B @code{gnus-agent-expire} $BL?Na$,(B @code{gnus-agent-expire-days} $BF|$h$j(B -$B$b8E$$4{FI5-;v$rA4$F>C5n$7$^$9!#$3$l$O$"$J$?$,%G%#%9%/MFNL$r;H$$@Z$j$=$&(B -$B$@$H;W$C$?$H$-$K$$$D$G$b$G(B) $BCfCG$9$k$3$H$b$"(B -$B$^$jNI$$$3$H$G$O$"$j$^$;$s!#(B +$B%(!<%8%'%s%H%P%C%/%(%s%I(B @code{nnagent} $B$O4|8B@Z$l>C5n$r07$$$^$;$s!#$($((B +$B$H!">/$J$/$H$bB>$N%P%C%/%(%s%I$N$h$&$K$=$l$r07$$$^$;$s!#$=$NBe$o$j$K!"FC(B +$BJL$J(B @code{gnus-agent-expire} $B$H(B @code{gnus-agent-expire-group} $BL?Na(B +$B$,(B @code{gnus-agent-expire-days} $B$NF|?t$h$j$b8E$$4{FI5-;v$r$9$Y$F>C5n$7(B +$B$^$9!#$3$l$i$O$"$J$?$,%G%#%9%/MFNL$r;H$$@Z$j$=$&$@$H;W$C$?$H$-$K$$$D$G$b(B +$B$G(B) $BCfCG$9$k$3$H$b$"$^$j(B +$BNI$$$3$H$G$O$"$j$^$;$s!#(B $BNc$($P(B @code{gnus-request-expire-articles} $B$N$h$&$JB>$N4X?t$O!"%(!<%8%'(B $B%s%H$r%0%k!<%W$KF14|$5$;$k$?$a$K(B @code{gnus-agent-expire} $B$r$K%^%C%A$7!"0[$J$k%0%k!<%W$G0[$J$k4|8B@Z$l(B -$B>C5n$r9T$J$&$3$H$r2DG=$K$7$^$9!#(B - -@lisp -(setq gnus-agent-expire-days - '(("alt\\." 7) - (".*binary" 1) - ("." 21))) -@end lisp - -$B$b$7%j%9%H$N7A<0$r;H$&>l9g$O!":G8e$NMWAG$O%G%#%U%)%k%H$N%a%=%C%I!"$9$J$o(B -$B$A$9$Y$F$N%0%k!<%W$K%^%C%A$9$k$b$N$K$7$J$1$l$P$J$j$^$;$s!#@55,I=8=$K4X$7(B -$B$F!"$5$i$K$=$l$O%0%k!<%WL>$N@hF,$+$i%^%C%A$7$J$1$l$P$J$j$^$;$s!#(B +$B%(!<%8%'%s%H%Q%i%a!<%?(B @code{agent-enable-expiration} $B$O!"A*Br$7$?%0%k!<(B +$B%W$G$N4|8B@Z$l>C5n$rM^@)$9$k$?$a$K;H$o$l$k$+$b$7$l$^$;$s!#(B @vindex gnus-agent-expire-all -@code{gnus-agent-expire-all} $B$,(B @code{nil} $B$G$J$1$l$P!"$3$NL?Na$OA4$F$N(B -$B5-;v(B --- $BL$FI!"4{FI!"2D;k!"J]N15-;v$r>C5n$7$^$9!#$b$7(B @code{nil} ($B$3$l$,(B -$B=i4|@_DjCM(B) $B$G$"$l$P!"4{FI5-;v$N$_$,>C5n$NBP>]$H$J$j!"L$FI!"2D;k!"J]N15-(B -$B;v$O$5$i$KL54|8B$KJ];}$7$^$9!#(B +@code{gnus-agent-expire-all} $B$,(B @code{nil} $B$G$J$1$l$P!"%(!<%8%'%s%H$N4|(B +$B8B@Z$l>C5n%3%^%s%I72$O$9$Y$F$N5-;v(B --- $BL$FI!"4{FI!"2D;k!"J]N15-;v$r>C5n(B +$B$7$^$9!#$b$7(B @code{nil} ($B$3$l$,=i4|@_DjCM(B) $B$G$"$l$P!"4{FI5-;v$N$_$,>C5n(B +$B$NBP>]$H$J$j!"L$FI!"2D;k!"J]N15-;v$O$5$i$KL54|8B$KJ];}$7$^$9!#(B $B4|8B@Z$l>C5n$5$l$F$$$k$O$:$J$N$K;D$C$F$$$k5-;v$r8+$D$1$?$J$i$P!"$?$V$s$$(B $B$/$D$+$N(B gnus $B%(!<%8%'%s%H%U%!%$%k$,2u$l$F$$$^$9!#(B -@code{gnus-agent-regenerate} $B$O!"5/$3$j$&$kLdBj$r=$I|$9$k$?$a$NFCJL$J%3(B -$B%^%s%I$G$9!#(B +@code{gnus-agent-regenerate} $B$H(B @code{gnus-agent-regenerate-group} $B$O!"(B +$B5/$3$j$&$kLdBj$r=$I|$9$k$?$a$NFCJL$J%3%^%s%I$G$9!#(B @node Agent Regeneration @subsection $B%(!<%8%'%s%H$r:n$jD>$9(B @@ -17195,8 +17298,8 @@ gnus $B$,(B @dfn{plugged} $B$G$"$k$H$-$K!"$9$G$K%(!<%8%'%s%H$K3JG<$5$l$F$$$k% $B%k$N%G!<%?9=B$$r=$I|$9$k$3$H$G$9!#(B $BNc$($P!"5-;v$r%(!<%8%'%s%H$K%@%&%s%m!<%I$7$F$$$k4V$K%5!<%P!<$X$N@\B3$,@Z(B -$B$l$F$7$^$&>l9g!"%m!<%+%k$N%G!<%?9=B$$O@\B3$,@Z$l$kA0$K%@%&%s%m!<%I$5$l$?(B -$B5-;v$N$3$H$rCN$j$^$;$s!#(B@code{gnus-agent-regenerate} $B$^$?(B +$B$l$F$7$^$&>l9g!"%m!<%+%k$N%G!<%?9=B$$O@\B3$,@Z$l$kA0$K5-;v$,o!"?7$7$/%@%&%s%m!<(B +$B%I$5$l$?5-;v$rL@3N$KL$FI$K$9$k$?$a$N0BA4$J9T0Y$G$9!#%G%#%U%)%k%H(B +$B$O(B @code{t} $B$G$9!#(B @item gnus-agent-consider-all-articles @vindex gnus-agent-consider-all-articles @@ -17345,7 +17449,8 @@ plugged $B$N$H$-$K!"%m!<%+%k$K;}$C$F$$$k(B @sc{nov} $B$H5-;v$r;H$&$+$I$&$+$r@ $B9g$K!"CY$l;~4V$r:G>.$K$7$^$9(B ($B%0%k!<%W$N>uBV$r99?7$9$k$?$a(B $B$K(B @code{gnus-agent-regenerate-group} $B$r$NA*Br;h$K$O(B @code{denied} $B$H(B @code{offline} $B$,$"$j!"%(!<%8%'(B $B%s%H$,;H$o$l$k>l9g$O8e