]> git.notmuchmail.org Git - notmuch/commit
emacs: Use the new JSON reply format and message-cite-original
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Sun, 18 Mar 2012 16:32:42 +0000 (10:32 -0600)
committerDavid Bremner <bremner@debian.org>
Tue, 20 Mar 2012 01:03:23 +0000 (22:03 -0300)
commit650123510cfa64caf6b20f5239f43433fa6f2941
tree694e42a989687e4df268ad6714164e3e7fc2709d
parent8420ba10358dcc1d0d306dd1298f07fae2150e11
emacs: Use the new JSON reply format and message-cite-original

Use the new JSON reply format to create replies in emacs. Quote HTML
parts nicely by using mm-display-part to turn them into displayable
text, then quoting them with message-cite-original. This is very
useful for users who regularly receive HTML-only email.

Use message-mode's message-cite-original function to create the
quoted body for reply messages. In order to make this act like the
existing notmuch defaults, you will need to set the following in
your emacs configuration:

message-citation-line-format "On %a, %d %b %Y, %f wrote:"
message-citation-line-function 'message-insert-formatted-citation-line

The tests have been updated to reflect the (ugly) emacs default.
emacs/notmuch-lib.el
emacs/notmuch-mua.el
emacs/notmuch-show.el
test/emacs