diff options
| author | Andrew Cohen | 2011-08-11 22:36:54 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-08-11 22:36:54 +0000 |
| commit | fb568e63275f2dc92de1eb506a6f12838757b2bd (patch) | |
| tree | fe24d8913de8ed3ac4fbe1d394d7aa4ba75109a7 | |
| parent | 3e26a4a28c6ad382f3bea07a1a6e0175ed8acdc6 (diff) | |
| download | emacs-fb568e63275f2dc92de1eb506a6f12838757b2bd.tar.gz emacs-fb568e63275f2dc92de1eb506a6f12838757b2bd.zip | |
nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of type MESSAGE and subtype RFC822 is slightly different from those of type TEXT.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e13d2d594ca..7f4116d6636 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-08-11 Andrew Cohen <cohen@andy.bu.edu> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of | ||
| 4 | type MESSAGE and subtype RFC822 is slightly different from those of | ||
| 5 | type TEXT. | ||
| 6 | |||
| 1 | 2011-08-05 Andrew Cohen <cohen@andy.bu.edu> | 7 | 2011-08-05 Andrew Cohen <cohen@andy.bu.edu> |
| 2 | 8 | ||
| 3 | * gnus-sum.el (gnus-summary-refer-article): Warp to article. This | 9 | * gnus-sum.el (gnus-summary-refer-article): Warp to article. This |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index f41f4af71b4..c940e06fbb6 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -218,7 +218,11 @@ textual parts.") | |||
| 218 | (while (and (consp structure) | 218 | (while (and (consp structure) |
| 219 | (not (stringp (car structure)))) | 219 | (not (stringp (car structure)))) |
| 220 | (setq structure (car structure))) | 220 | (setq structure (car structure))) |
| 221 | (setq lines (nth 7 structure)))) | 221 | (setq lines (if (and |
| 222 | (equal (upcase (nth 0 structure)) "MESSAGE") | ||
| 223 | (equal (upcase (nth 1 structure)) "RFC822")) | ||
| 224 | (nth 9 structure) | ||
| 225 | (nth 7 structure))))) | ||
| 222 | (delete-region (line-beginning-position) (line-end-position)) | 226 | (delete-region (line-beginning-position) (line-end-position)) |
| 223 | (insert (format "211 %s Article retrieved." article)) | 227 | (insert (format "211 %s Article retrieved." article)) |
| 224 | (forward-line 1) | 228 | (forward-line 1) |