unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v2 0/4] Quoting HTML Emails in Reply
@ 2012-01-16 18:13 Adam Wolfe Gordon
  2012-01-16 18:13 ` [PATCH v2 1/4] test: Add broken test for the new JSON reply format Adam Wolfe Gordon
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Adam Wolfe Gordon @ 2012-01-16 18:13 UTC (permalink / raw)
  To: notmuch

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@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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-01-18 23:29 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 18:13 [PATCH v2 0/4] Quoting HTML Emails in Reply Adam Wolfe Gordon
2012-01-16 18:13 ` [PATCH v2 1/4] test: Add broken test for the new JSON reply format Adam Wolfe Gordon
2012-01-16 18:13 ` [PATCH v2 2/4] reply: Add a " Adam Wolfe Gordon
2012-01-18 23:07   ` Jani Nikula
2012-01-18 23:29     ` Adam Wolfe Gordon
2012-01-16 18:13 ` [PATCH v2 3/4] man: Update notmuch-reply man page for JSON format Adam Wolfe Gordon
2012-01-16 18:13 ` [PATCH v2 4/4] emacs: Use the new JSON reply format Adam Wolfe Gordon
2012-01-17  9:04   ` David Edmondson
2012-01-17 16:18     ` Adam Wolfe Gordon
2012-01-17 22:53     ` [PATCH v2 4/5] " Adam Wolfe Gordon
2012-01-17 22:53       ` [PATCH v2 5/5] emacs: Use message-citation-line-format in reply Adam Wolfe Gordon
2012-01-18  6:54       ` [PATCH v2 4/5] emacs: Use the new JSON reply format David Edmondson
2012-01-18 16:29         ` Adam Wolfe Gordon
2012-01-18 16:32         ` Adam Wolfe Gordon
2012-01-18 16:41           ` David Edmondson
2012-01-18 17:08             ` Adam Wolfe Gordon
2012-01-17  1:18 ` [PATCH v2 5/4] emacs: Add customization for the first line of quotes Adam Wolfe Gordon
2012-01-17  7:17   ` how about message-citation-line-format (was: Re: [PATCH v2 5/4] emacs: Add customization for the first line of quotes.) Gregor Zattler
2012-01-17  9:05     ` David Edmondson
2012-01-17 16:20     ` Adam Wolfe Gordon

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).