all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ken Olum <kdo@cosmos.phy.tufts.edu>
Cc: emacs-devel@gnu.org
Subject: Re: HTML mail in rmail
Date: Fri, 11 Oct 2013 23:33:50 +0300	[thread overview]
Message-ID: <83mwmfr1ht.fsf@gnu.org> (raw)
In-Reply-To: <E1VUjCr-0006AC-6W@cosmos.phy.tufts.edu>

> From: Ken Olum <kdo@cosmos.phy.tufts.edu>
> Date: Fri, 11 Oct 2013 16:21:05 -0400
> 
> What are people doing about HTML mail in the new mime-enabled rmail?
> A big fraction of mail nowadays is either entirely HTML, or it is
> multipart/alternative, but the text part just says to see the HTML.
> In the current world (at least in emacs 23.3, and it looks like the
> emacs-24 code is the same), if the message is entirely HTML, it just
> displays the HTML, which is fine if the actual text is legible, but
> otherwise not much use.  In the multipart/alternative case, it shows
> the useless text/plain part and you can show the HTML if you wish, but
> it might be illegible.
> 
> I tried changing rmail-mime-process to treat text/html as bulk, and
> then I can click "Save" and read it in my browser, but that is not
> very convenient, especially if I want to be able to move around easily
> among my messages using rmail commands.
> 
> The ideal thing from my point of view would be to display the HTML as
> text.  It seems that emacs has plenty of support for such conversions,
> but rmail seems not to use it.  Have I missed some feature?  If not,
> has someone thought about how to implement this?

You should add an HTML handler to rmailmm.el, and in that handler call
functions from shr.el, which implements an HTML renderer.  That would
be indeed a great feature.



  reply	other threads:[~2013-10-11 20:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 20:21 HTML mail in rmail Ken Olum
2013-10-11 20:33 ` Eli Zaretskii [this message]
2013-10-13 11:50   ` Kenichi Handa
2013-12-27 20:10     ` bug#4258: [patch] " Ken Olum
2013-12-27 20:10     ` Ken Olum
2014-01-07 19:15       ` Glenn Morris
2014-01-07 20:08         ` joakim
2013-10-11 22:58 ` Richard Stallman
2013-10-12  1:36   ` Stephen J. Turnbull
     [not found] <q5238csecdk.fsf@cosmos.phy.tufts.edu>
2014-08-20 14:19 ` bug#4258: Your Emacs contributions Stefan Monnier
2014-08-20 14:48   ` Eli Zaretskii
2014-08-26 18:45     ` Eli Zaretskii
2014-08-27 14:30       ` Ken Olum
2014-08-27 14:58         ` Eli Zaretskii
2014-08-28 15:18       ` Eli Zaretskii
2014-09-04 15:52         ` bug#4258: Preferring HTML parts Ken Olum
2014-09-04 16:28           ` Stefan Monnier
2014-09-04 17:59             ` Ken Olum
2014-09-04 20:27               ` Stefan Monnier
2014-09-06 15:19           ` Eli Zaretskii
2014-09-07  0:11             ` Ken Olum
2014-09-13  9:29               ` Eli Zaretskii
2014-09-13 16:44                 ` Glenn Morris
2014-09-13 19:03                   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-08-25 18:36 bug#4258: Feature Request - Rmail - Html Marco Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mwmfr1ht.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kdo@cosmos.phy.tufts.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.