aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2009-09-10 00:12:07 +0000
committerKatsumi Yamaoka2009-09-10 00:12:07 +0000
commit83ccc32ced9213f3256843b741ba15de0c18db3b (patch)
treee6690d1f0598ce9fa96840645329ff3b2d8c5da6
parentc1905ca3e6b687db0f951aa07789dc90d5310109 (diff)
downloademacs-83ccc32ced9213f3256843b741ba15de0c18db3b.tar.gz
emacs-83ccc32ced9213f3256843b741ba15de0c18db3b.zip
* nnrss.el (nnrss-request-article): Remove binding of
default-enable-multibyte-characters that has gotten needless by the 2007-07-13 change in rfc2047-encode-message-header. * mml.el (mml-insert-multipart): Error on the message header. (mml-insert-part): Error on the message header; position point at the end of a MIME tag.
-rw-r--r--lisp/gnus/ChangeLog10
-rw-r--r--lisp/gnus/mml.el19
-rw-r--r--lisp/gnus/nnrss.el2
3 files changed, 21 insertions, 10 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 61754929324..7a140a5ee65 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,13 @@
12009-09-10 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * nnrss.el (nnrss-request-article): Remove binding of
4 default-enable-multibyte-characters that has gotten needless by
5 the 2007-07-13 change in rfc2047-encode-message-header.
6
7 * mml.el (mml-insert-multipart): Error on the message header.
8 (mml-insert-part): Error on the message header; position point at
9 the end of a MIME tag.
10
12009-09-09 Katsumi Yamaoka <yamaoka@jpl.org> 112009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
2 12
3 * gnus-util.el (with-no-warnings): Define it for old Emacsen. 13 * gnus-util.el (with-no-warnings): Define it for old Emacsen.
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index f397ef2b479..24a88806759 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -1387,20 +1387,23 @@ TYPE is the MIME type to use."
1387 (file-name-nondirectory file)))))) 1387 (file-name-nondirectory file))))))
1388 1388
1389(defun mml-insert-multipart (&optional type) 1389(defun mml-insert-multipart (&optional type)
1390 (interactive (list (completing-read "Multipart type (default mixed): " 1390 (interactive (if (message-in-body-p)
1391 '(("mixed") ("alternative") ("digest") ("parallel") 1391 (list (completing-read "Multipart type (default mixed): "
1392 ("signed") ("encrypted")) 1392 '(("mixed") ("alternative")
1393 nil nil "mixed"))) 1393 ("digest") ("parallel")
1394 ("signed") ("encrypted"))
1395 nil nil "mixed"))
1396 (error "Use this command in the message body")))
1394 (or type 1397 (or type
1395 (setq type "mixed")) 1398 (setq type "mixed"))
1396 (mml-insert-empty-tag "multipart" 'type type) 1399 (mml-insert-empty-tag "multipart" 'type type)
1397 (forward-line -1)) 1400 (forward-line -1))
1398 1401
1399(defun mml-insert-part (&optional type) 1402(defun mml-insert-part (&optional type)
1400 (interactive 1403 (interactive (if (message-in-body-p)
1401 (list (mml-minibuffer-read-type ""))) 1404 (list (mml-minibuffer-read-type ""))
1402 (mml-insert-tag 'part 'type type 'disposition "inline") 1405 (error "Use this command in the message body")))
1403 (forward-line -1)) 1406 (mml-insert-tag 'part 'type type 'disposition "inline"))
1404 1407
1405(declare-function message-subscribed-p "message" ()) 1408(declare-function message-subscribed-p "message" ())
1406(declare-function message-make-mail-followup-to "message" 1409(declare-function message-make-mail-followup-to "message"
diff --git a/lisp/gnus/nnrss.el b/lisp/gnus/nnrss.el
index b7c9a4fa2ba..b51894d9a94 100644
--- a/lisp/gnus/nnrss.el
+++ b/lisp/gnus/nnrss.el
@@ -226,8 +226,6 @@ used to render text. If it is nil, text will simply be folded.")
226 (link (nth 2 e)) 226 (link (nth 2 e))
227 (enclosure (nth 7 e)) 227 (enclosure (nth 7 e))
228 (comments (nth 8 e)) 228 (comments (nth 8 e))
229 ;; Enable encoding of Newsgroups header in XEmacs.
230 (default-enable-multibyte-characters t)
231 (rfc2047-header-encoding-alist 229 (rfc2047-header-encoding-alist
232 (if (mm-coding-system-p 'utf-8) 230 (if (mm-coding-system-p 'utf-8)
233 (cons '("Newsgroups" . utf-8) 231 (cons '("Newsgroups" . utf-8)