From 2c6710e3ba22f5af6e5813dad8bee732e6c5d02c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 4 Feb 2012 13:40:24 -0500 Subject: [PATCH] emacs: use mark instead of point-max in MML quoting. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- emacs/notmuch-mua.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2