Support rendering of HTML parts in Rmail (bug #4258).
commitcea1424e92494e1933f16e3e3c266be75d188e35
authorKen Olum <kdo@cosmos.phy.tufts.edu>
Sat, 13 Sep 2014 09:01:56 +0000 (13 12:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Sep 2014 09:01:56 +0000 (13 12:01 +0300)
treec7f0b00f416adc8c06463b1ca409c9ca0ae14ede
parent55998321452ca84a5e6be71c97063d8514cd8668
Support rendering of HTML parts in Rmail (bug #4258).

 lisp/mail/rmailmm.el (rmail-mime-process): Handle text/html
 separately from other text/ types.  Suppress tagline for
 multipart body.
 (rmail-mime-parse): Don't change visibility of tagline here.
 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
 Handle text/html specially.
 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
 (rmail-mime-insert-html, rmail-mime-render-html-shr)
 (rmail-mime-render-html-lynx): New functions.
 (rmail-mime-fix-inserted-faces): New function.
 (rmail-mime-process-multipart): Find the best part to show
 following rmail-mime-prefer-html if set.
 (rmail-mime-searching): New variable.
 (rmail-search-mime-message): Bind rmail-mime-searching to
 suppress rendering while searching.
lisp/ChangeLog
lisp/mail/rmailmm.el