From fea860bf52101492b26377b2cb36625bff689560 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 18 Nov 2002 23:26:53 +0000 Subject: [PATCH] Synch with Oort Gnus. --- GNUS-NEWS | 4 ++++ lisp/ChangeLog | 4 ++++ lisp/gnus-sum.el | 21 ++++++++++++++++++ texi/ChangeLog | 10 +++++++++ texi/gnus-ja.texi | 50 ++++++++++++++++++++++++++++++++++-------- texi/gnus.texi | 63 +++++++++++++++++++++++++++++++++++++++-------------- 6 files changed, 127 insertions(+), 25 deletions(-) diff --git a/GNUS-NEWS b/GNUS-NEWS index 837f506..67bfadb 100644 --- a/GNUS-NEWS +++ b/GNUS-NEWS @@ -8,6 +8,8 @@ For older news, see Gnus info node "New Features". * Changes in Oort Gnus +** Gnus decodes morse encoded messages if you press W m. + ** Unread count correct in nnimap groups. The estimated number of unread articles in the group buffer should now @@ -228,6 +230,8 @@ S/MIME (RFC 2630-2633). This change was made to avoid conflict with the standard binding of `back-to-indentation', which is also useful in message mode. +** Bug fixes. + * Changes in Pterodactyl Gnus (5.8/5.9) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ebf2dea..b54157c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2002-11-18 Simon Josefsson + * gnus-sum.el (gnus-summary-morse-message): New function. + (gnus-summary-wash-map): Bind to `W m'. + (gnus-summary-make-menu-bar): Add. + * nnimap.el (nnimap-request-expire-articles): Compress sequence before storing \Deleted mark on expired articles. diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 9db5b1b..8d51b82 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -1778,6 +1778,7 @@ increase the score of each group you read." "f" gnus-article-display-x-face "l" gnus-summary-stop-page-breaking "r" gnus-summary-caesar-message + "m" gnus-summary-morse-message "t" gnus-summary-toggle-header "g" gnus-treat-smiley "v" gnus-summary-verbose-headers @@ -2069,6 +2070,7 @@ gnus-summary-show-article-from-menu-as-charset-%s" cs)))) ["Rot 13" gnus-summary-caesar-message ,@(if (featurep 'xemacs) '(t) '(:help "\"Caesar rotate\" article by 13"))] + ["Morse decode" gnus-summary-morse-message t] ["Unix pipe..." gnus-summary-pipe-message t] ["Add buttons" gnus-article-add-buttons t] ["Add buttons to head" gnus-article-add-buttons-to-head t] @@ -8559,6 +8561,25 @@ forward." (message-caesar-buffer-body arg) (set-window-start (get-buffer-window (current-buffer)) start)))))) +(defun gnus-summary-morse-message (&optional arg) + "Morse decode the current article." + (interactive "P") + (gnus-summary-select-article) + (let ((mail-header-separator "")) + (gnus-eval-in-buffer-window gnus-article-buffer + (save-excursion + (save-restriction + (widen) + (let ((start (window-start)) + (end (window-end)) + buffer-read-only) + (goto-char start) + (while (re-search-forward "ยท" end t) + (replace-match ".")) + (unmorse-region start end) + (set-window-start (get-buffer-window (current-buffer)) + start))))))) + (defun gnus-summary-stop-page-breaking () "Stop page breaking in the current article." (interactive) diff --git a/texi/ChangeLog b/texi/ChangeLog index 952944a..1b6f32e 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,13 @@ +2002-11-16 Kai Gro,A_(Bjohann + + * gnus.texi (Expiring Mail): Give summary on difference between + auto-expire and total-expire and provide information for choosing + between them. + +2002-11-18 Simon Josefsson + + * gnus.texi (Article Washing): Add morse. + 2002-11-17 Simon Josefsson * gnus.texi (Expiring in IMAP): Add. diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index dff0513..204569e 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -8050,6 +8050,12 @@ gnus $B$,5-;v$rI=<($9$k4{Dj$N$d$jJ}$rJQ$($?$$$H$-(B $B%5%k$,$3$N7A<0$N!"$(!<$H!"$A$g$C$H4JC1$J0E9f2=$r:NMQ$7$?$H$$$&1=$,$"$k$+(B $B$i$G$9!#(B +@item W m +@kindex W m ($B35N,(B) +@findex gnus-summary-morse-message +@c @icon{gnus-summary-morse-message} +$B5-;v%P%C%U%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=$K$7$J$1$l$P!"$=$l$OCO9v$,E`$j$D$/$^$G%7%9%F%`$K;D$j$D$E$1$^$9!#$3$l$O(B +$B$b$&0lEY6/D4IU$-$G7+$jJV$5$l$k$KB-$k$b$N$G$9(B: ``$B$b$7(B'' $B$"$J$?$,5-;v(B $B$r(B ``$B4|8B@Z$l>C5n2DG=(B'' $B$G$"$k$H(B ``$B$7$J$$(B'' $B$J$i!"(Bgnus $B$O(B ``$B7h$7$F(B'' $B$=(B $B$l$i$N(B ``$B5-;v(B'' $B$r>C5n$7$^$;$s!#(B +$BC5n2DG=$N0u$rIU$1$J$1$l$P$J$i$J$$$o$1$G$O$"$j$^$;(B +$B$s!#(Bgnus $B$O(B `auto-expire' $B$*$h$S(B `total-expire' $B$H8F$P$l$kFs$D$N5!G=$rDs(B +$B6!$7$F!"$"$J$?$NC5n2DG=$G$"$k(B +$B$H(B gnus $B$,2rC5n2DG=$G$"$k$H2r$l$N%j%9%H$r$=$l<+?H$N%0%k!<(B +$B%W$KJ,3d$7!"$=$l$i$N%0%k!<%W$KBP$7$F(B auto-expire $B$^$?$O(B total-expire $B$r(B +$BM-8z$K$7$^$9!#(B(@xref{Splitting Mail}, $B$=$l$>$l$N%j%9%H$N$=$l<+?H$N%0%k!<(B +$B%W$X$NJ,3d$K$D$$$F$N$5$i$J$k>pJs!#(B) + +Auto-expire $B$^$?$O(B total-expire $B$N$I$A$i$,NI$$$G$9$+(B? $B$=$l$OEz$($K$/$$$G(B +$B$9!#35$7$F8@$($P!"$?$V$s(B auto-expire $B$,B.$$$G$7$g$&!#(Bauto-expire $B$NJL$N(B +$BMxE@$O$h$jB?$/$N%^!<%/$r;H$($k(B - $B:F$SFI$`$3$H$K$J$C$F$$$k(B (be supposed +to stick around $B$N0ULu(B) $B5-;v$K$D$$$F$O!":#$^$G$I$*$j2D;k(B (tick)$B!"J](B +$BN1(B (dormant) $B$^$?$O4{FI(B (read) $B$NCf$+$iA*$V$3$H$,$G$-$k(B - $B$H$$$&$3$H$G$9!#(B +$B$7$+$7(B total-expire $B$G$O(B dormant $B$H(B ticked $B$+$i$7$+A*$Y$^$;$s!#(B +total-expire $B$NMxE@$O!"E,1~%9%3%"IU$1(B @pxref{Adaptive Scoring} $B$GNI9%$K(B +$BF/$/$3$H$G$9!#(BAuto-expire $B$ODL>o$N%9%3%"IU$1$G$OF0:n$7$^$9$,!"E,1~%9%3%"(B +$BIU$1$G$O$@$a$G$9!#(B + @vindex gnus-auto-expirable-newsgroups -$BC5n2DG=$N0u$rIU$1$J$1$l$P$J$i$J$$$o$1$G$O$"$j$^$;$s!#(B $B@55,I=8=(B @code{gnus-auto-expirable-newsgroups} $B$K9gCW$9$k%0%k!<%W$OA4$F(B $B$N4{FI5-;v$K<+F0E*$K4|8B@Z$l>C5n2DG=$N0u$,IU$1$i$l$^$9!#A4$F$N4|8B@Z$l>C(B $B5n2DG=$N0u$NIU$$$?5-;v$O35N,%P%C%U%!$N:G=i$N7e$K(B @samp{E} $B$,I=<($5$l$^$9!#(B @@ -14944,7 +14975,7 @@ Nnmail $B$GBP1~$9$k$b$N(B: @code{nnmail-split-fancy}. IMAP $B$NJ,3d(B (@pxref{Splitting in IMAP}) $B$G$O(B @sc{nnmail} $B$NJQ?t$rJ#@=$7(B $B$J$$(B ($BNc$($P(B @var{nnimap-expiry-wait} $B$r@8@.$7$J$$(B) $BE@$,0c$&$N$G$9$,!"(B @sc{nnmail} $B$NJQ?t$rN.MQ$7$^$9!#0J2<$O(B @sc{nnimap} $B$N4|8B@Z$l>C5n=hM}$G(B -$B;H$o$l$kJQ?t$H!";HMQJ}K!$K4XO"$7$?CmC5n$N0u$,$I$N$h$&$KE,@Z$K(B @sc{imap} $B%5!<%P!<$K5-O?$5$l$k$+$K$D(B $B$$$F$b$3$3$G8@5Z$7$F$*$-$^$7$g$&!#4|8B@Z$l>C5n$N0u$O(B @sc{imap} $B%/%i%$%"(B @@ -20924,7 +20955,8 @@ XEmacs $B$O%Q%C%1!<%8$N=/=8$H$7$FG[I[$5$l$F$$$^$9!#(Bgnus $B$N(B XEmacs $B% $B%8$,I,MW$H$9$k$b$N$O2?$G$"$l!"$"$J$?$O%$%s%9%H!<%k$9$Y$-$G$9!#:#$N$H$3$m(B $BI,MW$J$N$O(B @samp{gnus}, @samp{w3}, @samp{mh-e}, @samp{mailcrypt}, @samp{rmail}, @samp{eterm}, @samp{mail-lib}, @samp{xemacs-base} $B$*$h$S(B -@samp{fsf-compat} $B$G$9!#(B +@samp{fsf-compat} $B$G$9!#%b!<%k%9I|9f$N$?$a$K$O(B @samp{misc-games} $B%Q%C%1!<(B +$B%8$,I,MW$G$9!#(B @node History @section $BNr;K(B diff --git a/texi/gnus.texi b/texi/gnus.texi index 09fc2b7..5b3d9d9 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -8205,6 +8205,12 @@ positions in the alphabet, e. g. @samp{B} (letter #2) -> @samp{O} (letter #15). It is sometimes referred to as ``Caesar rotate'' because Caesar is rumored to have employed this form of, uh, somewhat weak encryption. +@item W m +@kindex W m (Summary) +@findex gnus-summary-morse-message +@c @icon{gnus-summary-morse-message} +Morse decode the article buffer (@code{gnus-summary-morse-message}). + @item W t @item t @kindex W t (Summary) @@ -13639,20 +13645,45 @@ Gnus will not delete your old, read mail. Unless you ask it to, of course. To make Gnus get rid of your unwanted mail, you have to mark the -articles as @dfn{expirable}. This does not mean that the articles will -disappear right away, however. In general, a mail article will be +articles as @dfn{expirable}. (With the default keybindings, this means +that you have to type @kbd{E}.) This does not mean that the articles +will disappear right away, however. In general, a mail article will be deleted from your system if, 1) it is marked as expirable, AND 2) it is more than one week old. If you do not mark an article as expirable, it will remain on your system until hell freezes over. This bears repeating one more time, with some spurious capitalizations: IF you do NOT mark articles as EXPIRABLE, Gnus will NEVER delete those ARTICLES. +You do not have to mark articles as expirable by hand. Gnus provides +two features, called `auto-expire' and `total-expire', that can help you +with this. In a nutshell, `auto-expire' means that Gnus hits @kbd{E} +for you when you select an article. And `total-expire' means that Gnus +considers all articles as expirable that are read. So, in addition to +the articles marked @samp{E}, also the articles marked @samp{r}, +@samp{R}, @samp{O}, @samp{K}, @samp{Y} and so on are considered +expirable. + +When should either auto-expire or total-expire be used? Most people +who are subscribed to mailing lists split each list into its own group +and then turn on auto-expire or total-expire for those groups. +(@xref{Splitting Mail}, for more information on splitting each list +into its own group.) + +Which one is better, auto-expire or total-expire? It's not easy to +answer. Generally speaking, auto-expire is probably faster. Another +advantage of auto-expire is that you get more marks to work with: for +the articles that are supposed to stick around, you can still choose +between tick and dormant and read marks. But with total-expire, you +only have dormant and ticked to choose from. The advantage of +total-expire is that it works well with adaptive scoring @pxref{Adaptive +Scoring}. Auto-expire works with normal scoring but not with adaptive +scoring. + @vindex gnus-auto-expirable-newsgroups -You do not have to mark articles as expirable by hand. Groups that -match the regular expression @code{gnus-auto-expirable-newsgroups} will -have all articles that you read marked as expirable automatically. All -articles marked as expirable have an @samp{E} in the first -column in the summary buffer. +Groups that match the regular expression +@code{gnus-auto-expirable-newsgroups} will have all articles that you +read marked as expirable automatically. All articles marked as +expirable have an @samp{E} in the first column in the summary buffer. By default, if you have auto expiry switched on, Gnus will mark all the articles you read as expirable, no matter if they were read or unread @@ -15367,17 +15398,16 @@ it supports most features in regular expiring (@pxref{Expiring Mail}). Unlike splitting in IMAP (@pxref{Splitting in IMAP}) it do not clone the @sc{nnmail} variables (i.e., creating @var{nnimap-expiry-wait}) but reuse the @sc{nnmail} variables. What follows below are the -variables used by the @sc{nnimap} expiry process and any related notes -on their usage. +variables used by the @sc{nnimap} expiry process. A note on how the expire mark is stored on the @sc{imap} server is appropriate here as well. The expire mark is translated into a -@sc{imap} client specific mark @code{gnus-expire} and store on the -message. This means that only likely only Gnus will understand and -treat the @code{gnus-expire} mark properly, although other clients may -allow to view client specific flags on a message. It also means that -your server must support the permanent storage of client specific -flags on messages. Most do, fortunately. +@sc{imap} client specific mark, @code{gnus-expire}, and stored on the +message. This means that likely only Gnus will understand and treat +the @code{gnus-expire} mark properly, although other clients may allow +you to view client specific flags on the message. It also means that +your server must support permanent storage of client specific flags on +messages. Most do, fortunately. @table @code @@ -21360,7 +21390,8 @@ XEmacs is distributed as a collection of packages. You should install whatever packages the Gnus XEmacs package requires. The current requirements are @samp{gnus}, @samp{w3}, @samp{mh-e}, @samp{mailcrypt}, @samp{rmail}, @samp{eterm}, @samp{mail-lib}, -@samp{xemacs-base}, and @samp{fsf-compat}. +@samp{xemacs-base}, and @samp{fsf-compat}. The @samp{misc-games} +package is required for Morse decoding. @node History -- 1.7.10.4