]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
emacs: Add customization group for replying reply-group
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 26 Jul 2012 13:43:56 +0000 (15:43 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 2 Nov 2012 17:06:03 +0000 (18:06 +0100)
When one wants to customize the format of reply message, there is nothing
to tell the user how to do it.  Without knowing that construction of
reply buffer is actually implemented in the message package, it seems
that replying cannot be customized.

Because I was getting annoyed by the empty line the between the citation
line and the quoted message, I figured out that changing this is fairly
easy when one knows what to customize.

This patch adds notmuch-reply customization group that contains
references to the relevant customization options. The new group is easy
to find as it is shown as a result of running "M-x customize-group RET
notmuch RET".

emacs/notmuch-lib.el

index 1d0ec1741ea675cd2e61011fafdc67ef347ead4b..8f1f68ba5254c9e6324e4727f8ce1fb8589612af 100644 (file)
   "Showing messages and threads."
   :group 'notmuch)
 
+(defgroup notmuch-reply
+  '((message-insertion custom-group)
+    (notmuch-message-replied-tags custom-variable))
+  "Replying to messages.
+
+Most of the reply customization settings can be found in `Message
+insertion' group. Notmuch specific settings is included directly
+here."
+  :group 'notmuch)
+
 (defgroup notmuch-send nil
   "Sending messages from Notmuch."
   :group 'notmuch)