emacs: Mark the quoted region during reply.
authorDavid Edmondson <dme@dme.org>
Fri, 6 Jan 2012 10:03:40 +0000 (10:03 +0000)
committerDavid Bremner <bremner@debian.org>
Tue, 10 Jan 2012 10:31:02 +0000 (06:31 -0400)
Mark the quoted region of text during a reply, making it easy for the
user to delete it quickly.

emacs/notmuch-mua.el

index 7114e48a4b8ca94223c969cefebcb5f50fde55fa..32e2e30bfd938d96a37ad6014768810006e0e737 100644 (file)
@@ -108,7 +108,8 @@ list."
     (if (re-search-backward message-signature-separator nil t)
          (forward-line -1)
       (goto-char (point-max)))
     (if (re-search-backward message-signature-separator nil t)
          (forward-line -1)
       (goto-char (point-max)))
-    (insert body))
+    (insert body)
+    (push-mark))
   (set-buffer-modified-p nil)
 
   (message-goto-body))
   (set-buffer-modified-p nil)
 
   (message-goto-body))