Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 24 / a8f60b866bd170f4df6b330343834128431cf4
1 Return-Path: <sojkam1@fel.cvut.cz>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id F2555431FAF\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Sep 2012 01:23:45 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id x+4JdLQHCsj7 for <notmuch@notmuchmail.org>;\r
16         Thu,  6 Sep 2012 01:23:45 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3B2F6431FAE\r
19         for <notmuch@notmuchmail.org>; Thu,  6 Sep 2012 01:23:45 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 5AAC419F32FE;\r
22         Thu,  6 Sep 2012 10:23:40 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id oPkKaDVXTOIx; Thu,  6 Sep 2012 10:23:36 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 0ADFA19F30DD;\r
30         Thu,  6 Sep 2012 10:23:36 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 06286660904;\r
34         Thu,  6 Sep 2012 10:23:36 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.80)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1T9XN9-0005Jw-UT; Thu, 06 Sep 2012 10:23:35 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH v2] emacs: Add customization group for replying\r
41 Date: Thu,  6 Sep 2012 10:23:35 +0200\r
42 Message-Id: <1346919815-20397-1-git-send-email-sojkam1@fel.cvut.cz>\r
43 X-Mailer: git-send-email 1.7.10.4\r
44 In-Reply-To: <Date: Wed, 05 Sep 2012 09:48:58 +0300>\r
45 References: <Date: Wed, 05 Sep 2012 09:48:58 +0300>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Thu, 06 Sep 2012 08:23:46 -0000\r
59 \r
60 When one wants to customize the format of reply message, there is nothing\r
61 to tell the user how to do it.  Without knowing that construction of\r
62 reply buffer is actually implemented in the message package, it seems\r
63 that replying cannot be customized.\r
64 \r
65 Because I was getting annoyed by the empty line the between the citation\r
66 line and the quoted message, I figured out that changing this is fairly\r
67 easy when one knows what to customize.\r
68 \r
69 This patch adds notmuch-reply customization group that contains\r
70 references to the relevant customization options. The new group is easy\r
71 to find as it is shown as a result of running "M-x customize-group RET\r
72 notmuch RET".\r
73 ---\r
74  emacs/notmuch-lib.el |   10 ++++++++++\r
75  1 file changed, 10 insertions(+)\r
76 \r
77 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
78 index 900235b..c045a32 100644\r
79 --- a/emacs/notmuch-lib.el\r
80 +++ b/emacs/notmuch-lib.el\r
81 @@ -45,6 +45,16 @@\r
82    "Showing messages and threads."\r
83    :group 'notmuch)\r
84  \r
85 +(defgroup notmuch-reply\r
86 +  '((message-insertion custom-group)\r
87 +    (notmuch-message-replied-tags custom-variable))\r
88 +  "Replying to messages.\r
89 +\r
90 +Most of the reply customization settings can be found in `Message\r
91 +insertion' group. Notmuch specific settings is included directly\r
92 +here."\r
93 +  :group 'notmuch)\r
94 +\r
95  (defgroup notmuch-send nil\r
96    "Sending messages from Notmuch."\r
97    :group 'notmuch)\r
98 -- \r
99 1.7.10.4\r
100 \r