From: yamaoka Date: Fri, 2 Jul 2004 09:31:03 +0000 (+0000) Subject: Synch to No Gnus 200407020930. X-Git-Tag: t-gnus-6_17_4-quimby-~831 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=63928fd8f77bcbbc182726d1345fbab1e2590c1f;p=elisp%2Fgnus.git- Synch to No Gnus 200407020930. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75ccc01..5f6c7ba 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,13 @@ +2004-07-02 Katsumi Yamaoka + + * mm-encode.el (mm-content-transfer-encoding-defaults): Use + qp-or-base64 for the application/* types. + +2004-07-02 Jesper Harder + + * nnrss.el (nnrss-read-group-data): Fix off-by-one error. From + Joakim Verona . + 2004-06-30 Teodor Zlatanov * gnus-registry.el (gnus-registry-trim): don't allow a negative diff --git a/lisp/mm-encode.el b/lisp/mm-encode.el index e39e72f..79ab2c6 100644 --- a/lisp/mm-encode.el +++ b/lisp/mm-encode.el @@ -36,14 +36,18 @@ '(("text/x-patch" 8bit) ("text/.*" qp-or-base64) ("message/rfc822" 8bit) - ("application/emacs-lisp" 8bit) - ("application/x-emacs-lisp" 8bit) - ("application/x-patch" 8bit) + ("application/emacs-lisp" qp-or-base64) + ("application/x-emacs-lisp" qp-or-base64) + ("application/x-patch" qp-or-base64) (".*" base64)) "Alist of regexps that match MIME types and their encodings. If the encoding is `qp-or-base64', then either quoted-printable or base64 will be used, depending on what is more efficient. +`qp-or-base64' has another effect. It will fold long lines so that +MIME parts may not be broken by MTA. So do `quoted-printable' and +`base64'. + Note: It affects body encoding only when a part is a raw forwarded message (which will be made by `gnus-summary-mail-forward' with the arg 2 for example) or is neither the text/* type nor the message/* diff --git a/lisp/nnrss.el b/lisp/nnrss.el index 55dd460..8028831 100644 --- a/lisp/nnrss.el +++ b/lisp/nnrss.el @@ -331,7 +331,7 @@ ARTICLE is the article number of the current headline.") (let ((coding-system-for-read 'binary)) (load file nil t t)) (dolist (e nnrss-group-data) - (puthash (or (nth 2 e) (nth 5 e)) t nnrss-group-hashtb) + (puthash (or (nth 2 e) (nth 6 e)) t nnrss-group-hashtb) (when (and (car e) (> nnrss-group-min (car e))) (setq nnrss-group-min (car e))) (when (and (car e) (< nnrss-group-max (car e))) diff --git a/texi/ChangeLog b/texi/ChangeLog index 37dd127..2c3fa0d 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,7 @@ +2004-07-02 Katsumi Yamaoka + + * emacs-mime.texi (Encoding Customization): Addition. + 2004-06-29 Katsumi Yamaoka * emacs-mime.texi (Encoding Customization): Add a note to the diff --git a/texi/emacs-mime.texi b/texi/emacs-mime.texi index 1ce8d69..00e8f44 100644 --- a/texi/emacs-mime.texi +++ b/texi/emacs-mime.texi @@ -854,6 +854,10 @@ used except, e.g., when other requirements force a safer encoding each case the most efficient of quoted-printable and base64 should be used. +@code{qp-or-base64} has another effect. It will fold long lines so that +MIME parts may not be broken by MTA. So do @code{quoted-printable} and +@code{base64}. + Note that it affects body encoding only when a part is a raw forwarded message (which will be made by @code{gnus-summary-mail-forward} with the arg 2 for example) or is neither the @samp{text/*} type nor the