From: Alex Ghitza <aghitza@gmail.com>
To: notmuch@notmuchmail.org
Subject: viewing text/html (inline or otherwise)
Date: Tue, 09 Feb 2010 21:28:25 +1100 [thread overview]
Message-ID: <54iqa6bt4m.fsf@gmail.com> (raw)
Dear Notmuch folks,
I've been using notmuch exclusively (or almost, see below) for the past
couple of months and it is absolutely fabulous! It also keeps getting
better for me, due for instance to the improved speed from the xapian
bug #250 being fixed, and Jesse and Jamie's code for setting Fcc (which
is working like a charm for me).
There were still two typical occasions when I needed to resort to
logging into Gmail: (a) to look at attachments and (b) to read html
mail. Tonight, after some searching, I managed to get my emacs to do
(a), and it would be really sweet if I could also do (b) from notmuch in
emacs. It's such a basic thing that I'm sure everybody else has it
figured out; in fact, I resisted the temptation to be lazy and ask about
this for quite some time, but nothing that I tried got me very far. (To
be specific, my latest attempt involved w3m, and now when I press 'v'
within a message that has a text/html part, I see "Rendering... done"
followed by "Fontifying... done", but then nothing.)
Ideally, I'd like to be able to see what's hidden behind the
"Non-text part: text/html", and if it could happen inline that would be
great. I would also entertain the idea of opening an external browser
window, if that's the way this has to go.
Back in the days when I was using mutt, this could be done by adding
something like:
in .muttrc:
auto_view text/html
in .mailcap:
text/html; lynx -dump %s ; copiousoutput ; nametemplate=%s.html
Is something like this possible in notmuch+emacs? (The alternative is
that I get procmail to send all html mail back to sender with a request
to resend as plain text, but most of the culprits won't know what I'm
talking about.)
Best,
Alex
--
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/
next reply other threads:[~2010-02-09 10:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 10:28 Alex Ghitza [this message]
2010-02-10 0:22 ` viewing text/html (inline or otherwise) Carl Worth
2010-02-10 0:43 ` Alexander Botero-Lowry
2010-02-10 6:40 ` Alex Ghitza
2010-02-10 8:14 ` Sebastian Spaeth
2010-02-10 6:10 ` Keith Packard
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54iqa6bt4m.fsf@gmail.com \
--to=aghitza@gmail.com \
--cc=notmuch@notmuchmail.org \
/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 public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).