The backwards regexp was most likely just old cruft. Simply put the
point at the beginning of message body. It's guaranteed to be before
the signature.
---
 emacs/notmuch-mua.el |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 2baae5f..a4be394 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -190,12 +190,8 @@ list."
                            (notmuch-headers-plist-to-alist reply-headers)
                            nil (notmuch-mua-get-switch-function))))

-      ;; Insert the message body - but put it in front of the signature
-      ;; if one is present
-      (goto-char (point-max))
-      (if (re-search-backward message-signature-separator nil t)
-         (forward-line -1)
-       (goto-char (point-max)))
+      ;; Move point to the beginning of the message body.
+      (message-goto-body)

       (let ((from (plist-get original-headers :From))
            (date (plist-get original-headers :Date))
-- 
1.7.10.4

Reply via email to