From: David Bremner Date: Sat, 4 Feb 2012 18:40:24 +0000 (-0500) Subject: emacs: use mark instead of point-max in MML quoting. X-Git-Tag: debian/0.12_rc1-1~118 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=2c6710e3ba22f5af6e5813dad8bee732e6c5d02c;hp=57702cc43017cfd5c5ad65a986ef962f5e40cd59 emacs: use mark instead of point-max in MML quoting. As Aaron explains in id:"m2vco72tf3.fsf@wal122.wireless-pennnet.upenn.edu" Using point-max would include the signature in the quoting as well. It would probably be fairly odd to want to put an MML tag in one’s signature, but that doesn’t mean that we should break that usage. We had to use point-max in the 0.11.1 bug-fix release, because the mark functionality was added post 0.11. --- diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c07b67ba..4be7c13d 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -121,7 +121,7 @@ list." ;; properly quote them in the reply. Note that using `point-max' ;; instead of `mark' here is wrong. The buffer may include user's ;; signature which should not be MML-quoted. - (mml-quote-region (point) (point-max))) + (mml-quote-region (point) (mark))) (defun notmuch-mua-forward-message () (message-forward)