Re: [PATCH 6/6] emacs: `notmuch-show-tag-all' sans prefix arg only tags open messages
[notmuch-archives.git] / d4 / 72ba066149bf683f501c1c6a5c60023edee81a
1 Return-Path: <pieter@praet.org>\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 2C1E7431FAF\r
6         for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:55 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 S1gU6RcbFR6P for <notmuch@notmuchmail.org>;\r
16         Thu, 19 Jan 2012 11:14:54 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  92A44431FAE    for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:54 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so285605wgb.2\r
23         for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:53 -0800 (PST)\r
24 Received: by 10.180.19.42 with SMTP id b10mr41609091wie.13.1327000493329;\r
25         Thu, 19 Jan 2012 11:14:53 -0800 (PST)\r
26 Received: from localhost ([109.131.97.13])\r
27         by mx.google.com with ESMTPS id gy6sm29669071wib.11.2012.01.19.11.14.52\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Thu, 19 Jan 2012 11:14:52 -0800 (PST)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Austin Clements <amdragon@MIT.EDU>,\r
32         David Bremner <david@tethera.net>\r
33 Subject: [PATCH] emacs: invert relation between 'notmuch-send and 'message\r
34         customization groups\r
35 Date: Thu, 19 Jan 2012 20:13:05 +0100\r
36 Message-Id: <1327000385-24246-1-git-send-email-pieter@praet.org>\r
37 X-Mailer: git-send-email 1.7.8.1\r
38 In-Reply-To: <87k44no6dp.fsf@praet.org>\r
39 References: <87k44no6dp.fsf@praet.org>\r
40 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Thu, 19 Jan 2012 19:14:55 -0000\r
54 \r
55 'message contains options relevant to 'notmuch-send, not the other way around.\r
56 \r
57 Thanks to Austin for suggesting `custom-add-to-group'.\r
58   id:"20120118184408.GD16740@mit.edu"\r
59 \r
60 ---\r
61  emacs/notmuch-lib.el |    5 +++--\r
62  1 files changed, 3 insertions(+), 2 deletions(-)\r
63 \r
64 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
65 index 9242537..e33e69a 100644\r
66 --- a/emacs/notmuch-lib.el\r
67 +++ b/emacs/notmuch-lib.el\r
68 @@ -42,8 +42,9 @@\r
69  \r
70  (defgroup notmuch-send nil\r
71    "Sending messages from Notmuch."\r
72 -  :group 'notmuch\r
73 -  :group 'message)\r
74 +  :group 'notmuch)\r
75 +\r
76 +(custom-add-to-group 'notmuch-send 'message 'custom-group)\r
77  \r
78  (defgroup notmuch-crypto nil\r
79    "Processing and display of cryptographic MIME parts."\r
80 -- \r
81 1.7.8.1\r
82 \r