[PATCH v2 0/4] Quoting HTML Emails in Reply
Adam Wolfe Gordon
awg+notmuch at xvx.ca
Mon Jan 16 10:13:19 PST 2012
Hi everyone,
This is the second version of my patch series [1] implementing a new JSON format
for notmuch reply and modifying the emacs UI to use this format, allowing for
nice quoting of HTML-only emails.
This version of the patches corrects some flaws mentioned on the mailing list
and on IRC. The biggest change is that instead of directly using w3 to parse
HTML emails in emacs, notmuch-mua uses mm-display-part, which should allow HTML
emails to be quoted even if the user does not have w3m.el (or even the w3m
binary) installed. Thanks to Dmitry Kurochkin for this suggestion.
Still outstanding is adding customization variables to the emacs interface to
control which parts are preferred for quoting, and possibly to allow
customization of the "On %s, %s wrote" line. I don't think this necessarily
needs to be added before these patches are merged, since they retain the current
functionality for emails with plaintext parts, but I'm happy to hear opinions on
this. Either way, I'll add customization as a separate patch.
Of course, I'm happy to hear any comments on the updated code, especially if I
missed anything from the last set of reviews.
[1] id:1326009162-19524-1-git-send-email-awg+notmuch at xvx.ca
Adam Wolfe Gordon (4):
test: Add broken test for the new JSON reply format.
reply: Add a JSON reply format.
man: Update notmuch-reply man page for JSON format.
emacs: Use the new JSON reply format.
emacs/notmuch-lib.el | 8 ++
emacs/notmuch-mua.el | 95 +++++++++-----
man/man1/notmuch-reply.1 | 5 +
notmuch-reply.c | 313 +++++++++++++++++++++++++++++++++++++---------
test/emacs | 1 +
test/multipart | 7 +
6 files changed, 336 insertions(+), 93 deletions(-)
--
1.7.5.4
More information about the notmuch
mailing list