Re: [PATCH] emacs: Add customization group for replying
[notmuch-archives.git] / 50 / b10e3c54d77bb522b4837d3687323eb6557535
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 24378431FB6\r
6         for <notmuch@notmuchmail.org>; Tue,  4 Sep 2012 09:29:13 -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 fgmQPuafrpMP for <notmuch@notmuchmail.org>;\r
16         Tue,  4 Sep 2012 09:29:12 -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 3DE61431FAF\r
19         for <notmuch@notmuchmail.org>; Tue,  4 Sep 2012 09:29:12 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 947BB19F332E;\r
22         Tue,  4 Sep 2012 18:29:07 +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 1XVKltS11Vn3; Tue,  4 Sep 2012 18:29:02 +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 8703D19F3333;\r
30         Tue,  4 Sep 2012 18:29:02 +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 447D9660904;\r
34         Tue,  4 Sep 2012 18:29:02 +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 1T8vzq-0001KF-3P; Tue, 04 Sep 2012 18:29:02 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
40 Subject: Re: [PATCH] emacs: Add customization group for replying\r
41 In-Reply-To: <m2ligqnoap.fsf@guru.guru-group.fi>\r
42 References: <1343311113-22171-1-git-send-email-sojkam1@fel.cvut.cz>\r
43         <87vcfu2qap.fsf@steelpick.2x.cz>\r
44         <m2ligqnoap.fsf@guru.guru-group.fi>\r
45 User-Agent: Notmuch/0.14+3~g608c52f (http://notmuchmail.org) Emacs/24.1.1\r
46         (x86_64-pc-linux-gnu)\r
47 Date: Tue, 04 Sep 2012 18:29:02 +0200\r
48 Message-ID: <87zk55n44x.fsf@steelpick.2x.cz>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Tue, 04 Sep 2012 16:29:13 -0000\r
64 \r
65 On Tue, Sep 04 2012, Tomi Ollila wrote:\r
66 > On Tue, Sep 04 2012, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
67 >\r
68 >> On Thu, Jul 26 2012, Michal Sojka wrote:\r
69 >>> When one wants to customize the format of reply message, there nothing\r
70 >>> to tell the user how to do it.  Without knowing that construction of\r
71 >>> reply buffer is actually implemented in the message package, it seems\r
72 >>> that replying cannot be customized.\r
73 >>>\r
74 >>> Because I was getting annoyed by the empty line the between citation\r
75 >>> line and the quoted message, I figured out that changing this is fairly\r
76 >>> easy when one knows what to customize.\r
77 >>>\r
78 >>> This patch adds notmuch-reply customization group that that contains\r
79 >>> references to the relevant customization options. The new group is easy\r
80 >>> to find as it is shown as a result of running "M-x customize-group RET\r
81 >>> notmuch RET".\r
82 >>\r
83 >> Ping.\r
84 >>\r
85 >> Any objections against applying?\r
86 >\r
87 > Nobody dares to say anything due to infamiliriaty of this spesific case ;/.\r
88 >\r
89 > I could not find any reference this has been made before.\r
90 \r
91 It's at least documented at\r
92 http://www.gnu.org/software/emacs/manual/html_node/elisp/Group-Definitions.html\r
93 \r
94   The argument members is a list specifying an initial set of\r
95   customization items to be members of the group. However, most often\r
96   members is nil, and you specify the group's members by using the\r
97   :group keyword when defining those members.\r
98 \r
99 > I could not find any discussion about this issue.\r
100 >\r
101 > With little effort I could not extract the customization tree to\r
102 > stdout I could have attempted to grep whether there is same variable\r
103 > in many groups.\r
104 \r
105 I tried to grep emacs sources and found the following:\r
106 \r
107 (defgroup message '((user-mail-address custom-variable)\r
108 (defgroup gnus-message '((message custom-group))\r
109 (defgroup ps-print-printer '((lpr custom-group))\r
110 (defgroup customize '((widgets custom-group))\r
111 (defgroup font-lock '((jit-lock custom-group))\r
112 \r
113 At least the first line corresponds exactly to what is proposed in my\r
114 patch.\r
115 \r
116 Cheers,\r
117 -Michal\r