From 309dc9dfac35924c7950ad3d3d14df36be36ba8c Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 11 Mar 2002 04:51:52 +0000 Subject: [PATCH] Synch with Oort Gnus. --- lisp/ChangeLog | 21 +++++++++++++ lisp/gnus-fun.el | 37 ++++++++++++++++++++++ lisp/gnus-start.el | 2 +- lisp/gnus-sum.el | 11 ------- lisp/nnslashdot.el | 2 +- texi/ChangeLog | 9 ++++++ texi/gnus-ja.texi | 84 ++++++++++++++++++++++++++----------------------- texi/gnus.texi | 89 ++++++++++++++++++++++++++-------------------------- 8 files changed, 159 insertions(+), 96 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a3a2dab..1162b62 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,24 @@ +2002-03-10 Lars Magne Ingebrigtsen + + * gnus-fun.el (gnus-subscribe-to-mailing-list): New function. + +2002-03-10 ShengHuo ZHU + + * nnslashdot.el (nnslashdot-request-article): Remove javascript + too. + +2002-03-09 ShengHuo ZHU + + * gnus-sum.el (gnus-summary-save-parts-default-mime): Remove + duplication. + (gnus-summary-save-parts-type-history): Ditto. + (gnus-summary-save-parts-last-directory): Ditto. + From: andre@slamdunknetworks.com + +2002-03-09 Paul Jarc * nnslashdot.el (nnslashdot-request-article): Use "\\|< [ \t\r\n]*\\|\\|< [ \t\r\n]* + + * gnus.texi (Other Marks): Remove duplication. + From: David Aspinwall + +2002-03-09 Paul Jarc + + * gnus.texi: Mention nnmaildir where appropriate; fix some typos. + 2002-03-01 Paul Jarc * message.texi (Mailing Lists): 'use is the default for diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 166d624..1dd9cd3 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -1449,9 +1449,10 @@ options -n !alt.all !rec.all sci.all $BM>J,$J$b$N$G$9!#$7$+$7!";d$O$3$NFs$D$,$"$C$?J}$,NI$$$H;W$$$^$7$?!#$b$&0l(B $BJ}$NJQ?t$O%f!<%6$,$$$8$/$k$N$K;H$o$l$k$N$KBP$7$F!"$3$NJQ?t$O$$$/$D$+$N4p(B $BK\E*$J5,B'$r@_Dj$9$k$?$a$N$b$N$G$9!#=i4|@_Dj$G$O$3$NJQ?t$O%a!<%k%P%C%/%((B -$B%s%I(B (@code{nnml}, @code{nnbabyl}, @code{nnfolder}, @code{nnmbox}@ $B$H(B -@code{nnmh}) $B$+$i$G$-$kA4$F$N?7$7$$%0%k!<%W$r9XFI$9$k$h$&$K$J$C$F$$$^$9!#(B -$B$=$l$,7y$G$"$l$P!"$3$NJQ?t$r(B @code{nil} $B$K@_Dj$7$F$/$@$5$$!#(B +$B%s%I(B (@code{nnml}, @code{nnbabyl}, @code{nnfolder}, @code{nnmbox}, +@code{nnmh} $B$*$h$S(B @code{nnmaildir}) $B$+$i$G$-$kA4$F$N?7$7$$%0%k!<%W$r9X(B +$BFI$9$k$h$&$K$J$C$F$$$^$9!#$=$l$,7y$G$"$l$P!"$3$NJQ?t$r(B @code{nil} $B$K@_Dj(B +$B$7$F$/$@$5$$!#(B $B$3$N@55,I=8=$K9gCW$9$k?7$7$$%0%k!<%W(B $B$O(B @code{gnus-subscribe-options-newsgroup-method} $B$r;H$C$F9XFI$5$l$^$9!#(B @@ -5552,6 +5553,7 @@ gnus $B<+BN$O2D;k5-;v$r4|8B@Z$l>C5n$7$^$;$s(B) $B$N$G!"1J1s$K5-;v$rJ]B8$7$F$* $BJVEz$r$7$?$+!"%U%)%m!<%"%C%W$r$7$?(B ($BNc$($P!"Ez$($?(B) $B5-;v$O$9$Y$FFs7eL\(B $B$K(B @samp{A} $B$N0u$,$D$-$^$9(B (@code{gnus-replied-mark})$B!#(B +@item @vindex gnus-forwarded-mark $BE>Aw$7$?5-;v$O$9$Y$FFs7eL\$K(B @samp{F} $B$N0u$,$D$-$^(B $B$9(B (@code{gnus-forwarded-mark})$B!#(B @@ -5569,7 +5571,7 @@ gnus $B<+BN$O2D;k5-;v$r4|8B@Z$l>C5n$7$^$;$s(B) $B$N$G!"1J1s$K5-;v$rJ]B8$7$F$* @vindex gnus-recent-mark $B$=$N%0%k!<%W$G(B ``$B:G6a(B'' (``recently'') $BFO$$$?5-;v$OFs7eL\$K(B @samp{N} $B$N(B $B$N0u$,$D$-$^$9(B (@code{gnus-recent-mark})$B!#$?$$$F$$$N%P%C%/%(%s%I$O$3$N0u(B -$B$r%5%]!<%H$;$:!"$=$N>l9g$OI=<($5$l$^$;$s!#(B +$B$r%5%]!<%H$;$:!"$=$N>l9g$OC1$KI=<($5$l$^$;$s!#(B @item @vindex gnus-unseen-mark @@ -6279,9 +6281,9 @@ Gnus $B$O(B @code{Subject} $BMs$r8+$k$3$H$K$h$C$F%9%l%C%I$r=8$a$^$9!#$3$l$O!" $B$,$G$-$^$9!#$b$7?t;z$K@_Dj$7$?$H$-$O!"$=$l$h$jB?$$DI2C$N%X%C%@!<$Ol9g$G$b!"8E$$%X%C%@!<$NrM}$KCV$-(B @end lisp $B$[$H$s$I$N%a!<%k%P%C%/%(%s%I$O(B @code{Message-ID} $B$G$N$N$b$N$O;~4V(B -$B$,$+$+$j$9$.$^$9!#(B) @code{nnmh} $B$G$OA4$/IT2DG=$G$9!#(B +$B$"$^$jM%2m$JJ}K!$G$d$C$F$$$k$o$1$G$O$"$j$^$;$s!#(B@code{nnmbox}, +@code{nnbabyl} $B$*$h$S(B @code{nnmaildir} $B$O$I$N%0%k!<%W$+$i$N5-;v$b0LCV$r(B +$BF@$k$3$H$,$G$-$^$9$,!"(B@code{nnml}, @code{nnfolder} $B$*$h(B +$B$S(B @code{nnimap} $B$O8=:_$N%0%k!<%W$KEj9F$7$?5-;v$N0LCV$7$+F@$k;v$,$G$-$^(B +$B$;$s!#(B($B$=$NB>$N$b$N$O;~4V$,$+$+$j$9$.$^$9!#(B) @code{nnmh} $B$G$OA4$/IT2DG=(B +$B$G$9!#(B @node Alternative Approaches @section $BBeBXA0!#4{DjCM(B @code{nnml} $B$O5-;vJ,3d$K4X$7$F$O$*$=$i$/0lHVCY$$%P%C%/%(%s%I$G$7$g$&!#$=(B $B$l$OB?$/$N%U%!%$%k$r:n$i$J$1$l$P$J$i$:!"$=$l$OF~$C$F$/$k%a!<%k$N$?$a(B $B$N(B @sc{nov} $B%G!<%?%Y!<%9$b:n@.$7$J$1$l$P$J$j$^$;$s!#$3$l$N$?$a$K!"%a!<%k(B -$B$rFI$`;v$K4X$7$F$O:GB.$N%P%C%/%(%s%I$K$J$j$^$9!#(B +$B$rFI$`;v$K4X$7$F$O$?$V$s:GB.$N%P%C%/%(%s%I$K$J$j$^$9!#(B @cindex self contained nnml servers $B0u%U%!%$%k(B ($BLuCm(B: marks file) $B$,;H$o$l$k$H(B ($B$=$l$,%G%#%U%)%k%H$G$9$,(B)$B!"(B @@ -13571,29 +13574,31 @@ Gnus $B$O$3$l$i$N%=!<%9$X$N3&LL$rDs6!$9$k%P%C%/%(%s%I72$r>/$7Hw$($D$D$"$j(B @cindex archiving mail @cindex backup of mail -$B$$$/$D$+$N%P%C%/%(%s%I!"FC$K(B nnml $B$H(B nnfolder $B$O!"$=$l$>$l$N%0%k!<%W$N5-(B -$B;v$N0u$rK\Ev$KJ];}$7$^$9!#$3$l$i$N%5!<%P!<$G!"%0%k!<%W$N0u$rJ]$A$D$DJ]B8(B -$B$7$?$j85$KLa$9$N$O$+$J$j4JC1$G$9!#(B +$B$$$/$D$+$N%P%C%/%(%s%I!"FC$K(B @code{nnml}, @code{nnfolder} $B$*$h(B +$B$S(B @code{nnmaildir} $B$O!"$=$l$>$l$N%0%k!<%W$N5-;v$N0u$rK\Ev$KJ];}$7$^$9!#(B +$B$3$l$i$N%5!<%P!<$G!"%0%k!<%W$N0u$rJ]$A$D$DJ]B8$7$?$j85$KLa$9$N$O$+$J$j4J(B +$BC1$G$9!#(B ($B$G$b!"%0%k!<%W%l%Y%k$H%0%k!<%W%Q%i%a!<%?$r$bJ];}$9$k$K$O!":#$^$G$H$*(B $B$j(B @file{.newsrc.eld} $B$N?@$K!"Iq$$$H@8lS$rJ{$2$J$1$l$P$J$j$^$;$s$,!#(B) -@code{nnml} $B$+(B @code{nnfolder} $B$K$^$k$4$HJ]B8$9$k$K$O!"%5!<%P!<$N%G%#%l(B -$B%/%H%j$r:F5"E*$K%3%T!<$7$^$9!#(Bgnus $B$r=*N;$9$kI,MW$OL5$$$N$G!"J]B8(B -$B$O(B @code{cron} $B$d$=$l$KN`$9$k$b$N$,9T$J$&$3$H$,$G$-$^$9!#%G!<%?$rI|5"$5(B -$B$;$k$K$O%G%#%l%/%H%jLZ(B (tree) $B$r85$KLa$9$3$H$G9T$J$$!"$=$N%G%#%l%/%H%j$r(B -$B;X$7<($9$h$&$K(B gnus $B$N%5!<%P!<$NDj5A$KDI2C$7$^$9!#(B@ref{Article Backlog}$B!"(B -@ref{Asynchronous Fetching} $B$*$h$S$=$NB>$O!"%G!<%?$r>e=q$-$7$FJ}$r%3%T!<$9$kI,MW$,$"(B -$B$j$^$9!#%0%k!<%W$r85$KLa$9$N$O!"%0%k!<%W%P%C%U%!$G(B @kbd{G m} $B%-!<$r;H$$(B -$B$^$9!#$=$N:G8e$N$O!"%G!<(B +$B%?$r>e=q$-$7$FJ}$r%3%T!<$9$kI,MW$,$"$j$^$9!#%0%k!<%W$r85$KLa$9(B +$B$N$O!"%0%k!<%W%P%C%U%!$G(B @kbd{G m} $B%-!<$r;H$$$^$9!#$=$N:G8e$Nl9g(B @kbd{G m} $B$OITMW$G$9!#(B @node Web Searches @subsection $B%&%'%V8!:w(B @@ -22718,10 +22723,10 @@ description-buffer = *description-line $B$O?7$7$$%0%k!<%W$r8+$D$1$k$h$j$b!"3Z$r$7$FA4$F$N%0%k!<%W$N%j%9%H$rJV$9$+(B $B$b$7$l$^$;$s!#$7$+$7%P%C%/%(%s%I$,JV$9B?$/$N%0%k!<%W$KBP$7$F$3$l(B ($BLuCm(B: $B?7$7$$%0%k!<%W$H$7$F07$&$3$H(B) $B$r$7$F$O$$$1$^$;$s!#IaDL!"%f!<%6!<<+?H$,:n$C(B -$B$?%0%k!<%W$J$i$PB?$9$.$k$3$H$O$J$$$G$7$g$&!#$G$9$+$i(B nnml $B$H$=$l$KN`$9$k(B -$B$b$N$O$?$V$s?4G[$"$j$^$;$s!#$7$+$7(B nntp $B$N$h$&$J%P%C%/%(%s%I$G$O%0%k!<%W(B -$B$O%5!<%P!<$K$h$C$F:n$i$l$F$$$^$9$+$i!"B?$/$N%0%k!<%W$,JV$C$F$/$k$3$H$,$"(B -$B$j$($^$9!#(B +$B$?%0%k!<%W$J$i$PB?$9$.$k$3$H$O$J$$$G$7$g$&!#$G$9$+$i(B @code{nnml} $B$H$=$l(B +$B$KN`$9$k$b$N$O$?$V$s?4G[$"$j$^$;$s!#$7$+$7(B @code{nntp} $B$N$h$&$J%P%C%/%((B +$B%s%I$G$O%0%k!<%W$O%5!<%P!<$K$h$C$F:n$i$l$F$$$^$9$+$i!"B?$/$N%0%k!<%W$,JV$C(B +$B$F$/$k$3$H$,$"$j$($^$9!#(B @item (nnchoke-request-create-group GROUP &optional SERVER) @@ -23038,9 +23043,10 @@ description-buffer = *description-line @node Mail-like Back Ends @subsubsection $B%a!<%kIw%P%C%/%(%s%I(B -$B%a!<%k%P%C%/%(%s%I$,$=$NB>$N%P%C%/%(%s%I$KBP$7$F0l@~$r2h$7$F$$$kE@$O!"%a!<(B -$B%k%P%C%/%(%s%I$O(B @file{nnmail.el} $B$NCf$N6&DL4X?t$K6/$/0MB8$7$F$$$k$H$$$&(B -$BE@$G$9!#Nc$($P!"(B@code{nnml-request-scan} $B$NDj5A$O$3$N$h$&$K$J$j$^$9!#(B +$B%a!<%k%P%C%/%(%s%I$,$=$NB>$N%P%C%/%(%s%I$KBP$7$F0l@~$r2h$7$F$$$kE@$O!"$[(B +$B$H$s$I$N%a!<%k%P%C%/%(%s%I$O(B @file{nnmail.el} $B$NCf$N6&DL4X?t$K6/$/0MB8$7(B +$B$F$$$k$H$$$&E@$G$9!#Nc$($P!"(B@code{nnml-request-scan} $B$NDj5A$O$3$N$h$&$K(B +$B$J$j$^$9!#(B @lisp (deffoo nnml-request-scan (&optional group server) diff --git a/texi/gnus.texi b/texi/gnus.texi index fc7afc9..0900ce6 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -1317,8 +1317,9 @@ thought it would be nice to have two of these. This variable is more meant for setting some ground rules, while the other variable is used more for user fiddling. By default this variable makes all new groups that come from mail back ends (@code{nnml}, @code{nnbabyl}, -@code{nnfolder}, @code{nnmbox}, and @code{nnmh}) subscribed. If you -don't like that, just set this variable to @code{nil}. +@code{nnfolder}, @code{nnmbox}, @code{nnmh}, and @code{nnmaildir}) +subscribed. If you don't like that, just set this variable to +@code{nil}. New groups that match this regexp are subscribed using @code{gnus-subscribe-options-newsgroup-method}. @@ -5549,15 +5550,11 @@ All articles that you have replied to or made a followup to (i.e., have answered) will be marked with an @samp{A} in the second column (@code{gnus-replied-mark}). +@item @vindex gnus-forwarded-mark All articles that you have forwarded will be marked with an @samp{F} in the second column (@code{gnus-forwarded-mark}). -@vindex gnus-recent-mark -Articles that are ``recently'' arrived in the group will be marked -with an @samp{N} in the second column (@code{gnus-recent-mark}). Most -back end doesn't support the mark, in which case it's not shown. - @item @vindex gnus-cached-mark Articles stored in the article cache will be marked with an @samp{*} in @@ -5574,7 +5571,7 @@ religiously) are marked with an @samp{S} in the second column Articles that according to the back end haven't been seen by the user before are marked with a @samp{N} in the second column (@code{gnus-recent-mark}). Note that not all back ends support this -mark, in which case it simply never appear. +mark, in which case it simply never appears. @item @vindex gnus-unseen-mark @@ -6323,9 +6320,10 @@ connect as many loose threads as possible, you should set this variable to @code{some} or a number. If you set it to a number, no more than that number of extra old headers will be fetched. In either case, fetching old headers only works if the back end you are using carries -overview files---this would normally be @code{nntp}, @code{nnspool} and -@code{nnml}. Also remember that if the root of the thread has been -expired by the server, there's not much gnus can do about that. +overview files---this would normally be @code{nntp}, @code{nnspool}, +@code{nnml}, and @code{nnmaildir}. Also remember that if the root of +the thread has been expired by the server, there's not much Gnus can do +about that. This variable can also be set to @code{invisible}. This won't have any visible effects, but is useful if you use the @kbd{A T} command a lot @@ -9029,12 +9027,12 @@ then ask Deja if that fails: @end lisp Most of the mail back ends support fetching by @code{Message-ID}, but -do not do a particularly excellent job at it. That is, @code{nnmbox} -and @code{nnbabyl} are able to locate articles from any groups, while -@code{nnml}, @code{nnfolder} and @code{nnimap}1 are only able to locate -articles that have been posted to the current group. (Anything else -would be too time consuming.) @code{nnmh} does not support this at -all. +do not do a particularly excellent job at it. That is, @code{nnmbox}, +@code{nnbabyl}, and @code{nnmaildir} are able to locate articles from +any groups, while @code{nnml}, @code{nnfolder}, and @code{nnimap} are +only able to locate articles that have been posted to the current group. +(Anything else would be too time consuming.) @code{nnmh} does not +support this at all. @node Alternative Approaches @@ -13738,8 +13736,8 @@ to trudge through a big mbox file just to read your new mail. @code{nnml} is probably the slowest back end when it comes to article splitting. It has to create lots of files, and it also generates -@sc{nov} databases for the incoming mails. This makes it the fastest -back end when it comes to reading mail. +@sc{nov} databases for the incoming mails. This makes it possibly the +fastest back end when it comes to reading mail. @cindex self contained nnml servers When the marks file is used (which it is by default), @code{nnml} @@ -14193,30 +14191,33 @@ leisure from your local disk. No more World Wide Wait for you. @cindex archiving mail @cindex backup of mail -Some of the back ends, notably nnml and nnfolder, now actually store -the article marks with each group. For these servers, archiving and -restoring a group while preserving marks is fairly simple. +Some of the back ends, notably @code{nnml}, @code{nnfolder}, and +@code{nnmaildir}, now actually store the article marks with each group. +For these servers, archiving and restoring a group while preserving +marks is fairly simple. (Preserving the group level and group parameters as well still requires ritual dancing and sacrifices to the @file{.newsrc.eld} deity though.) -To archive an entire @code{nnml} or @code{nnfolder} server, take a -recursive copy of the server directory. There is no need to shut down -Gnus, so archiving may be invoked by @code{cron} or similar. You -restore the data by restoring the directory tree, and adding a server -definition pointing to that directory in Gnus. The @ref{Article -Backlog}, @ref{Asynchronous Fetching} and other things might interfer -with overwriting data, so you may want to shut down Gnus before you -restore the data. - -It is also possible to archive individual @code{nnml} or -@code{nnfolder} groups, while preserving marks. For @code{nnml}, you -copy all files in the group's directory. For @code{nnfolder} you need -to copy both the base folder file itself (@file{FOO}, say), and the -marks file (@file{FOO.mrk} in this example). Restoring the group is -done with @kbd{G m} from the Group buffer. The last step makes Gnus -notice the new directory. +To archive an entire @code{nnml}, @code{nnfolder}, or @code{nnmaildir} +server, take a recursive copy of the server directory. There is no need +to shut down Gnus, so archiving may be invoked by @code{cron} or +similar. You restore the data by restoring the directory tree, and +adding a server definition pointing to that directory in Gnus. The +@ref{Article Backlog}, @ref{Asynchronous Fetching} and other things +might interfer with overwriting data, so you may want to shut down Gnus +before you restore the data. + +It is also possible to archive individual @code{nnml}, +@code{nnfolder}, or @code{nnmaildir} groups, while preserving marks. +For @code{nnml} or @code{nnmaildir}, you copy all files in the group's +directory. For @code{nnfolder} you need to copy both the base folder +file itself (@file{FOO}, say), and the marks file (@file{FOO.mrk} in +this example). Restoring the group is done with @kbd{G m} from the Group +buffer. The last step makes Gnus notice the new directory. +@code{nnmaildir} notices the new directory automatically, so @kbd{G m} +is unnecessary in that case. @node Web Searches @subsection Web Searches @@ -23210,9 +23211,9 @@ It is okay for this function to return `too many' groups; some back ends might find it cheaper to return the full list of groups, rather than just the new groups. But don't do this for back ends with many groups. Normally, if the user creates the groups herself, there won't be too -many groups, so nnml and the like are probably safe. But for back ends -like nntp, where the groups have been created by the server, it is quite -likely that there can be many groups. +many groups, so @code{nnml} and the like are probably safe. But for +back ends like @code{nntp}, where the groups have been created by the +server, it is quite likely that there can be many groups. @item (nnchoke-request-create-group GROUP &optional SERVER) @@ -23547,9 +23548,9 @@ The user should be prompted for an address when doing commands like @subsubsection Mail-like Back Ends One of the things that separate the mail back ends from the rest of the -back ends is the heavy dependence by the mail back ends on common -functions in @file{nnmail.el}. For instance, here's the definition of -@code{nnml-request-scan}: +back ends is the heavy dependence by most of the mail back ends on +common functions in @file{nnmail.el}. For instance, here's the +definition of @code{nnml-request-scan}: @lisp (deffoo nnml-request-scan (&optional group server) -- 1.7.10.4