nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of type MESSAGE and subtype RFC822 is slightly different from those of type TEXT.

This commit is contained in:
Andrew Cohen 2011-08-11 22:36:54 +00:00 committed by Katsumi Yamaoka
parent 3e26a4a28c
commit fb568e6327
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-08-11 Andrew Cohen <cohen@andy.bu.edu>
* nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of
type MESSAGE and subtype RFC822 is slightly different from those of
type TEXT.
2011-08-05 Andrew Cohen <cohen@andy.bu.edu>
* gnus-sum.el (gnus-summary-refer-article): Warp to article. This

View file

@ -218,7 +218,11 @@ textual parts.")
(while (and (consp structure)
(not (stringp (car structure))))
(setq structure (car structure)))
(setq lines (nth 7 structure))))
(setq lines (if (and
(equal (upcase (nth 0 structure)) "MESSAGE")
(equal (upcase (nth 1 structure)) "RFC822"))
(nth 9 structure)
(nth 7 structure)))))
(delete-region (line-beginning-position) (line-end-position))
(insert (format "211 %s Article retrieved." article))
(forward-line 1)