From: yamaoka Date: Mon, 9 Sep 2002 15:28:45 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_8-04-quimby~56 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c67b12bf144d9ec35ac482d31b0acd9a2949af9a;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index faabeb5..dec07eb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2002-09-09 Simon Josefsson + + * gnus-art.el (gnus-button-man-handler): New variable. + (gnus-button-alist): Use g-b-handle-man. + (gnus-button-handle-man): New, call g-b-man-handler. + 2002-09-08 Simon Josefsson * gnus-art.el (gnus-button-alist): Buttonize man page links. diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 1e0c4f9..e22fde7 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -5729,6 +5729,15 @@ after replacing with the original article." :group 'gnus-article-buttons :type 'regexp) +(defcustom gnus-button-man-handler 'man + "Function to use for displaying man pages. +The function must take at least one argument with a string naming the +man page." + :type '(choice (function-item :tag "Man" man) + (function-item :tag "Woman" woman) + (function :tag "Other")) + :group 'gnus-article-buttons) + (defcustom gnus-button-alist '(("<\\(url:[>\n\t ]*?\\)?\\(nntp\\|news\\):[>\n\t ]*\\([^>\n\t ]*@[^>\n\t ]*\\)>" 0 t gnus-button-handle-news 3) @@ -5751,7 +5760,7 @@ after replacing with the original article." ;; Raw URLs. (gnus-button-url-regexp 0 t browse-url 0) ;; man pages - ("\\b\\([a-z]+\\)([0-9])\\W" 0 t man 1)) + ("\\b\\([a-z]+\\)([0-9])\\W" 0 t gnus-button-handle-man 1)) "*Alist of regexps matching buttons in article bodies. Each entry has the form (REGEXP BUTTON FORM CALLBACK PAR...), where @@ -6170,6 +6179,10 @@ specified by `gnus-button-alist'." (group (gnus-button-fetch-group url))))) +(defun gnus-button-handle-man (url) + "Fetch a man page." + (funcall gnus-button-man-handler url)) + (defun gnus-button-handle-info (url) "Fetch an info URL." (if (string-match diff --git a/texi/ChangeLog b/texi/ChangeLog index ccd5d19..f814141 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,19 @@ +2002-09-09 Kai Gro,b_(Bjohann + + * gnus.texi (Splitting Mail): Typo. + +2002-09-09 Simon Josefsson + + * gnus.texi (Article Buttons): Add. + +2002-09-09 Kai Gro,b_(Bjohann + + * gnus.texi (Splitting Mail): Document nnmail-resplit-incoming, + xref to Mail Source Specifiers. + (Mail Source Specifiers): Add index entry for + nnmail-scan-directory-mail-source-once. Add index entry for + nnmail-resplit-incoming, with xref to Splitting Mail. + 2002-09-06 Lars Magne Ingebrigtsen * gnus.texi (Browse Foreign Server): Addition. diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 427fddd..1826c0f 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -8272,10 +8272,11 @@ html2text ($B%7%s%W%k$J(B @sc{html} $B%3%s%P!<%?!H$N>e$G(B @kbd{RET} $B$rBG$D$+!"%^%&%9$N??Cf$N(B $B%\%?%s$r;H$&;v$K$h$C$F!":G>.8B$NEXNO$GH$K(B@dfn{$B%\%?%s(B}$B$rIU$1$^$9(B: $B$A$c$s$H(B -$B$7$?(B URL$B!"%a!<%k%"%I%l%9!"(BMessage-ID $B$G$9!#$3$l$OFs$D$NJQ?t$K$h$C$F@)8f(B -$B$5$l$F$$$F!"$=$N0l$D$O5-;v$NK\BN$r07$$!"$b$&0l$D$O5-;v$N%X%C%@!<$r07$$$^(B -$B$9!#(B +$B$7$?(B URL$B!"%a!<%k%"%I%l%9!"(BMessage-ID$B!"(BInfo $B$X$N%j%s%/!"$=$l$K(B man $B%Z!<%8(B +$B$G$9!#$3$l$OFs$D$NJQ?t$K$h$C$F@)8f$5$l$F$$$F!"$=$N0l$D$O5-;v$NK\BN$r07$$!"(B +$B$b$&0l$D$O5-;v$N%X%C%@!<$r07$$$^$9!#(B @table @code @item gnus-button-alist @@ -11983,6 +11984,14 @@ nnmail-split-history} $B$r;H$&;v$,$G$-$^$9!#$3$l$+$i%9%W!<%k$7D>$=$&$H$9$k(B $B$3$H$K$h$C$F40A4$K;_$a$k$3$H$,$G$-!"@8$N%X%C%@!<$N%G!<%?$r85$K5-;v$K%^%C(B $B%A$5$;$?$$>l9g$K$OM-8z$G$7$g$&!#(B +@vindex nnmail-resplit-incoming +$B%G%#%U%)%k%H$G$OF~$C$F$/$k$9$Y$F$N%a%C%;!<%8$KBP$7$FJ,3d$OF/$-$^$;$s!#$b(B +$B$7(B @code{mail-sources} $BJQ(B +$B?t(B (@pxref{Mail Source Specifiers}) $B$K(B @code{directory} $B$N9`$r@_Dj$7$F$b!"(B +$B%G%#%U%)%k%H$G$O$7$+$7J,3d$O(B @emph{$B5/$3$j$^$;$s(B}$B!#JQ(B +$B?t(B @code{nnmail-resplit-incoming} $B$rHs(B-@code{nil} $B$JCM$K@_Dj$9$k$3$H$K$h$C(B +$B$F!"$3$N>l9g$G$bJ,3d$r5/$3$5$;$k$3$H$,$G$-$^$9!#(B + Gnus $B$O$"$J$?$K<+J,<+?H$KD7$MJV$C$F$/$k$h$&$J2DG=@-$N$"$kA4$F$N5!2q$rDs(B $B6!$7$^$9!#Nc$($P!"$"$J$?$N>e;J$+$i$/$kA4$F$N%a!<%k$r4^$s$@%0%k!<%W$r:n$C(B $B$?$H$7$^$7$g$&!#$=$l$+$i!"6vH/E*$K$=$N%0%k!<%W$N9XFI/dev/null && cat $TMP $B$($F$/$@$5$$!#(B @item directory +@vindex nnmail-scan-directory-mail-source-once $B%G%#%l%/%H%j!/dev/null && cat $TMP $B$9$k$H!"(Bgnus $B$O?7$7$$%a!<%k%=!<%9$r0l2s$@$1D4$Y$k$h$&$K$J$j$^$9!#$3$l$O!"(B $B;XDj$7$?%l%Y%k$N%a!<%k%0%k!<%W$@$1$rD4$Y$?$$$H$-$K!"$H$j$o$1JXMx$G$9!#(B +@vindex nnmail-resplit-incoming @code{nnmail-resplit-incoming} $B$H$$$&JQ?t$b$"$j!"$3$l$rHs(B-@code{nil} $B$K(B $B$9$k$HDL>o$NJ,3d=hM}$,%G%#%l%/%H%j!