From: yamaoka Date: Tue, 8 Apr 2003 23:09:35 +0000 (+0000) Subject: Synch to Oort Gnus 200304082308. X-Git-Tag: t-gnus-6_15_19-00-quimby~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=279c0f6625bf18b2c904541aef688f41fddeae53;p=elisp%2Fgnus.git- Synch to Oort Gnus 200304082308. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 552b53f..cce4efa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2003-04-08 Jesper Harder + * mm-uu.el (mm-uu-diff-groups-regexp, mm-uu-type-alist) + (mm-uu-diff-extract, mm-uu-diff-test): New functionality: + recognize diffs. + * mm-bodies.el (mm-decode-body): Use the supplied charset unconditionally if `code-pages' hasn't been loaded. diff --git a/lisp/mm-uu.el b/lisp/mm-uu.el index 50a618e..10c8aa3 100644 --- a/lisp/mm-uu.el +++ b/lisp/mm-uu.el @@ -78,6 +78,11 @@ This can be either \"inline\" or \"attachment\".") (defvar mm-uu-emacs-sources-regexp "gnu\\.emacs\\.sources" "The regexp of emacs sources groups.") +(defcustom mm-uu-diff-groups-regexp "gnus\\.commits" + "*Regexp matching diff groups." + :type 'regexp + :group 'gnus-article-mime) + (defvar mm-uu-type-alist '((postscript "^%!PS-" @@ -139,7 +144,13 @@ This can be either \"inline\" or \"attachment\".") "^;;;?[ \t]*\\([^ \t]+\\.el\\)[ \t]+ends here" mm-uu-emacs-sources-extract nil - mm-uu-emacs-sources-test))) + mm-uu-emacs-sources-test) + (diff + "^Index: " + nil + mm-uu-diff-extract + nil + mm-uu-diff-test))) (defcustom mm-uu-configure-list '((shar . disabled)) "A list of mm-uu configuration. @@ -249,6 +260,15 @@ Return that buffer." mm-uu-emacs-sources-regexp (string-match mm-uu-emacs-sources-regexp gnus-newsgroup-name))) +(defun mm-uu-diff-extract () + (mm-make-handle (mm-uu-copy-to-buffer start-point end-point) + '("text/x-patch"))) + +(defun mm-uu-diff-test () + (and gnus-newsgroup-name + mm-uu-diff-groups-regexp + (string-match mm-uu-diff-groups-regexp gnus-newsgroup-name))) + (defun mm-uu-forward-extract () (mm-make-handle (mm-uu-copy-to-buffer (progn (goto-char start-point) (forward-line) (point)) diff --git a/texi/ChangeLog b/texi/ChangeLog index 35d09d0..6cd913a 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,7 @@ +2003-04-08 Jesper Harder + + * emacs-mime.texi (Non-MIME): Add diff. + 2003-04-07 Jesper Harder * message.texi (Security): Fix typo. diff --git a/texi/emacs-mime.texi b/texi/emacs-mime.texi index f249157..c68450d 100644 --- a/texi/emacs-mime.texi +++ b/texi/emacs-mime.texi @@ -135,8 +135,8 @@ descend the message, following the structure, and return a tree of @vindex mm-uu-configure-list Gnus also understands some non-@sc{mime} attachments, such as -postscript, uuencode, binhex, yenc, shar, forward, gnatsweb, pgp. -Each of these features can be disabled by add an item into +postscript, uuencode, binhex, yenc, shar, forward, gnatsweb, pgp, +diff. Each of these features can be disabled by add an item into @code{mm-uu-configure-list}. For example, @lisp @@ -187,9 +187,17 @@ PGP public keys. @item emacs-sources @findex emacs-sources +@vindex mm-uu-emacs-sources-regexp Emacs source code. This item works only in the groups matching @code{mm-uu-emacs-sources-regexp}. +@item diff +@vindex diff +@vindex mm-uu-diff-groups-regexp +Patches. This is intended for groups where diffs of committed files +are automatically sent to. It only works in groups matching +@code{mm-uu-diff-groups-regexp}. + @end table @node Handles diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 4607310..07e7c62 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -22994,13 +22994,21 @@ Borges $B$K$h$C$F9;@5$5$l!"(BJost Krieger $B$K$h$C$F0lItJ,$r9;@5$5$l$^$7$?!# Christopher Davis, Andrew Eskilsson, Kai Grossjohann, +Kevin Greiner, +Jesper Harder, +Paul Jarc, +Simon Josefsson, David K,Ae(Bgedal, Richard Pieri, Fabrice Popineau, Daniel Quinlan, +Michael Shields, +Reiner Steib, Jason L. Tibbitts, III, +Jack Vinson, +$B;32,(B $B9nH~(B, and -Jack Vinson. +Teodor Zlatanov. $B$=$l$H!"0J2<$N?M$K$b%Q%C%A$d$=$NB>$N$b$N$r46ED(B $B7u0l(B, Raja R. Harinath, -Yoshiki Hayashi, @c ? +$BNS(B $BK'.NS(B $B=$J?(B, Petr Konecny, -Koseki Yoshinori, @c Koseki +$B>.4X(B $B5HB'(B, Thor Kristoffersen, Jens Lautenbacher, Martin Larose, @@ -23120,7 +23127,7 @@ Gordon Matzigkeit, Timo Metzemakers, Richard Mlynarik, Lantz Moore, -Morioka Tomohiko, @c Morioka +$B(B $B2m@2(B, +$B>.Ln(B $B=(5.(B, Ettore Perazzoli, William Perry, Stephen Peters, @@ -23175,11 +23182,11 @@ Sam Steingold, Paul Stevenson, Jonas Steverud, Paul Stodghill, -Kiyokazu Suto, @c Suto +$B?\F#(B $B@60l(B, Kurt Swanson, Samuel Tardieu, Teddy, -Tozawa Akihiko, @c Tozawa +$B8MBt(B $B>=I'(B, Chuck Thompson, Philippe Troin, James Troup, @@ -23196,7 +23203,6 @@ Barry A. Warsaw, Christoph Wedler, Joe Wells, Lee Willis, -Katsumi Yamaoka @c Yamaoka and Lloyd Zusman. diff --git a/texi/gnus.texi b/texi/gnus.texi index 36ba224..2aab7a3 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -23503,13 +23503,21 @@ The following people have contributed many patches and suggestions: Christopher Davis, Andrew Eskilsson, Kai Grossjohann, +Kevin Greiner, +Jesper Harder, +Paul Jarc, +Simon Josefsson, David Kågedal, Richard Pieri, Fabrice Popineau, Daniel Quinlan, +Michael Shields, +Reiner Steib, Jason L. Tibbitts, III, +Jack Vinson, +Katsumi Yamaoka, @c Yamaoka and -Jack Vinson. +Teodor Zlatanov. Also thanks to the following for patches and stuff: @@ -23580,7 +23588,7 @@ D. Hall, Magnus Hammerin, Kenichi Handa, @c Handa Raja R. Harinath, -Yoshiki Hayashi, @c ? +Yoshiki Hayashi, @c Hayashi P. E. Jareth Hein, Hisashige Kenji, @c Hisashige Scott Hofmann, @@ -23590,7 +23598,7 @@ Richard Hoskins, Brad Howes, Miguel de Icaza, François Felix Ingrand, -Tatsuya Ichikawa, @c ? +Tatsuya Ichikawa, @c Ichikawa Ishikawa Ichiro, @c Ishikawa Lee Iverson, Iwamuro Motonori, @c Iwamuro @@ -23600,7 +23608,6 @@ Adam P. Jenkins, Randell Jesup, Fred Johansen, Gareth Jones, -Simon Josefsson, Greg Klanderman, Karl Kleinpaste, Michael Klingbeil, @@ -23704,7 +23711,6 @@ Barry A. Warsaw, Christoph Wedler, Joe Wells, Lee Willis, -Katsumi Yamaoka @c Yamaoka and Lloyd Zusman.