diff options
| author | Glenn Morris | 2009-12-01 03:13:03 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-12-01 03:13:03 +0000 |
| commit | 0c9ff2c5167aac3358fe735a68e3472acbcf6e57 (patch) | |
| tree | afab60b59987a3ae0494d939516e97fb6cdbbd63 | |
| parent | 8d53846a14c8eeb3986b08d5a027e0a9216507b0 (diff) | |
| download | emacs-0c9ff2c5167aac3358fe735a68e3472acbcf6e57.tar.gz emacs-0c9ff2c5167aac3358fe735a68e3472acbcf6e57.zip | |
(rmail-mime-handle): Doc fix.
(rmail-mime-show): Downcase the encoding. (Bug#5070)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/rmailmm.el | 21 |
2 files changed, 18 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 200c238faa6..ff79d3b3469 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-12-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmailmm.el (rmail-mime-handle): Doc fix. | ||
| 4 | (rmail-mime-show): Downcase the encoding. (Bug#5070) | ||
| 5 | |||
| 1 | 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | Make vc-print-log buttons work. | 8 | Make vc-print-log buttons work. |
diff --git a/lisp/mail/rmailmm.el b/lisp/mail/rmailmm.el index 41704cf5187..1d7ef5eb4f3 100644 --- a/lisp/mail/rmailmm.el +++ b/lisp/mail/rmailmm.el | |||
| @@ -329,8 +329,9 @@ The current buffer should be narrowed to the respective body, and | |||
| 329 | point should be at the beginning of the body. | 329 | point should be at the beginning of the body. |
| 330 | 330 | ||
| 331 | CONTENT-TYPE, CONTENT-DISPOSITION, and CONTENT-TRANSFER-ENCODING | 331 | CONTENT-TYPE, CONTENT-DISPOSITION, and CONTENT-TRANSFER-ENCODING |
| 332 | are the values of the respective parsed headers. The parsed | 332 | are the values of the respective parsed headers. The latter should |
| 333 | headers for CONTENT-TYPE and CONTENT-DISPOSITION have the form | 333 | be downcased. The parsed headers for CONTENT-TYPE and CONTENT-DISPOSITION |
| 334 | have the form | ||
| 334 | 335 | ||
| 335 | \(VALUE . ALIST) | 336 | \(VALUE . ALIST) |
| 336 | 337 | ||
| @@ -408,12 +409,16 @@ modified." | |||
| 408 | (mail-fetch-field "Content-Transfer-Encoding") | 409 | (mail-fetch-field "Content-Transfer-Encoding") |
| 409 | content-disposition | 410 | content-disposition |
| 410 | (mail-fetch-field "Content-Disposition"))))) | 411 | (mail-fetch-field "Content-Disposition"))))) |
| 411 | (if content-type | 412 | ;; Per RFC 2045, C-T-E is case insensitive (bug#5070), but the others |
| 412 | (setq content-type (mail-header-parse-content-type | 413 | ;; are not completely so. Hopefully mail-header-parse-* DTRT. |
| 413 | content-type)) | 414 | (if content-transfer-encoding |
| 414 | ;; FIXME: Default "message/rfc822" in a "multipart/digest" | 415 | (setq content-transfer-encoding (downcase content-transfer-encoding))) |
| 415 | ;; according to RFC 2046. | 416 | (setq content-type |
| 416 | (setq content-type '("text/plain"))) | 417 | (if content-type |
| 418 | (mail-header-parse-content-type content-type) | ||
| 419 | ;; FIXME: Default "message/rfc822" in a "multipart/digest" | ||
| 420 | ;; according to RFC 2046. | ||
| 421 | '("text/plain"))) | ||
| 417 | (setq content-disposition | 422 | (setq content-disposition |
| 418 | (if content-disposition | 423 | (if content-disposition |
| 419 | (mail-header-parse-content-disposition content-disposition) | 424 | (mail-header-parse-content-disposition content-disposition) |