]> git.notmuchmail.org Git - notmuch/commit
emacs: fix MML quoting in replies
authorJani Nikula <jani@nikula.org>
Sun, 4 Mar 2012 08:25:38 +0000 (10:25 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 11 Mar 2012 01:24:14 +0000 (21:24 -0400)
commit90f310b4fb8903898ead674059584737e448eb8a
tree32dcfac5eb5780341bc0bf47393322bca8d52770
parentcfc5f1059aa16753cba610c41601cacc97260e08
emacs: fix MML quoting in replies

The reply MML quoting added in commit ae438cc unintentionally MML
quotes also the signature/encryption MML tags added via
message-setup-hook, causing the reply not to be signed/encrypted.

MML quote just the original message in the temp buffer before
inserting it to the message buffer, to not interfere with message mode
hooks or message construction in general.

See [1] and [2] for bug reports.

Thanks to Tim Bielawa <tbielawa@redhat.com> for testing.

[1] id:"87hay78x6l.fsf@wyzanski.jamesvasile.com"
[2] id:"1330812262-28272-1-git-send-email-tbielawa@redhat.com".

Signed-off-by: Jani Nikula <jani@nikula.org>
emacs/notmuch-mua.el