unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Add customization group for replying
@ 2012-07-26 13:58 Michal Sojka
  2012-07-30  3:00 ` Jameson Graef Rollins
  2012-09-04  7:35 ` Michal Sojka
  0 siblings, 2 replies; 11+ messages in thread
From: Michal Sojka @ 2012-07-26 13:58 UTC (permalink / raw)
  To: notmuch

When one wants to customize the format of reply message, there 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 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 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 |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 30db58f..47d9e0c 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -45,6 +45,17 @@
   "Showing messages and threads."
   :group 'notmuch)
 
+(defgroup notmuch-reply
+  '((message-citation-line-function custom-variable)
+    (message-citation-line-format custom-variable)
+    (message-insertion custom-group))
+  "Replying to messages.
+
+Replying in notmuch can be customized in `Message insertion'
+group. However, the most important options from that group are
+also included here."
+  :group 'notmuch)
+
 (defgroup notmuch-send nil
   "Sending messages from Notmuch."
   :group 'notmuch)
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-06  9:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 13:58 [PATCH] emacs: Add customization group for replying Michal Sojka
2012-07-30  3:00 ` Jameson Graef Rollins
2012-09-04  7:35 ` Michal Sojka
2012-09-04  9:13   ` Tomi Ollila
2012-09-04 16:29     ` Michal Sojka
2012-09-05  6:48       ` Tomi Ollila
2012-09-06  8:10         ` Michal Sojka
2012-09-06  9:00           ` Tomi Ollila
2012-09-04 12:16   ` Michal Nazarewicz
2012-09-04 16:33     ` Michal Sojka
2012-09-04 17:20       ` Michal Nazarewicz

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).