Re: [PATCH] emacs: Add customization group for replying
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 4 Sep 2012 16:29:02 +0000 (18:29 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:21 +0000 (09:49 -0800)
50/b10e3c54d77bb522b4837d3687323eb6557535 [new file with mode: 0644]

diff --git a/50/b10e3c54d77bb522b4837d3687323eb6557535 b/50/b10e3c54d77bb522b4837d3687323eb6557535
new file mode 100644 (file)
index 0000000..0b85be7
--- /dev/null
@@ -0,0 +1,117 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 24378431FB6\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Sep 2012 09:29:13 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id fgmQPuafrpMP for <notmuch@notmuchmail.org>;\r
+       Tue,  4 Sep 2012 09:29:12 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3DE61431FAF\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Sep 2012 09:29:12 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 947BB19F332E;\r
+       Tue,  4 Sep 2012 18:29:07 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id 1XVKltS11Vn3; Tue,  4 Sep 2012 18:29:02 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 8703D19F3333;\r
+       Tue,  4 Sep 2012 18:29:02 +0200 (CEST)\r
+Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 447D9660904;\r
+       Tue,  4 Sep 2012 18:29:02 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.80)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1T8vzq-0001KF-3P; Tue, 04 Sep 2012 18:29:02 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Add customization group for replying\r
+In-Reply-To: <m2ligqnoap.fsf@guru.guru-group.fi>\r
+References: <1343311113-22171-1-git-send-email-sojkam1@fel.cvut.cz>\r
+       <87vcfu2qap.fsf@steelpick.2x.cz>\r
+       <m2ligqnoap.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.14+3~g608c52f (http://notmuchmail.org) Emacs/24.1.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 04 Sep 2012 18:29:02 +0200\r
+Message-ID: <87zk55n44x.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Sep 2012 16:29:13 -0000\r
+\r
+On Tue, Sep 04 2012, Tomi Ollila wrote:\r
+> On Tue, Sep 04 2012, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+>\r
+>> On Thu, Jul 26 2012, Michal Sojka wrote:\r
+>>> When one wants to customize the format of reply message, there nothing\r
+>>> to tell the user how to do it.  Without knowing that construction of\r
+>>> reply buffer is actually implemented in the message package, it seems\r
+>>> that replying cannot be customized.\r
+>>>\r
+>>> Because I was getting annoyed by the empty line the between citation\r
+>>> line and the quoted message, I figured out that changing this is fairly\r
+>>> easy when one knows what to customize.\r
+>>>\r
+>>> This patch adds notmuch-reply customization group that that contains\r
+>>> references to the relevant customization options. The new group is easy\r
+>>> to find as it is shown as a result of running "M-x customize-group RET\r
+>>> notmuch RET".\r
+>>\r
+>> Ping.\r
+>>\r
+>> Any objections against applying?\r
+>\r
+> Nobody dares to say anything due to infamiliriaty of this spesific case ;/.\r
+>\r
+> I could not find any reference this has been made before.\r
+\r
+It's at least documented at\r
+http://www.gnu.org/software/emacs/manual/html_node/elisp/Group-Definitions.html\r
+\r
+  The argument members is a list specifying an initial set of\r
+  customization items to be members of the group. However, most often\r
+  members is nil, and you specify the group's members by using the\r
+  :group keyword when defining those members.\r
+\r
+> I could not find any discussion about this issue.\r
+>\r
+> With little effort I could not extract the customization tree to\r
+> stdout I could have attempted to grep whether there is same variable\r
+> in many groups.\r
+\r
+I tried to grep emacs sources and found the following:\r
+\r
+(defgroup message '((user-mail-address custom-variable)\r
+(defgroup gnus-message '((message custom-group))\r
+(defgroup ps-print-printer '((lpr custom-group))\r
+(defgroup customize '((widgets custom-group))\r
+(defgroup font-lock '((jit-lock custom-group))\r
+\r
+At least the first line corresponds exactly to what is proposed in my\r
+patch.\r
+\r
+Cheers,\r
+-Michal\r