--- /dev/null
+Return-Path: <pieter@praet.org>\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 2C1E7431FAF\r
+ for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:55 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 S1gU6RcbFR6P for <notmuch@notmuchmail.org>;\r
+ Thu, 19 Jan 2012 11:14:54 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 92A44431FAE for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:54 -0800\r
+ (PST)\r
+Received: by wgbdt12 with SMTP id dt12so285605wgb.2\r
+ for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 11:14:53 -0800 (PST)\r
+Received: by 10.180.19.42 with SMTP id b10mr41609091wie.13.1327000493329;\r
+ Thu, 19 Jan 2012 11:14:53 -0800 (PST)\r
+Received: from localhost ([109.131.97.13])\r
+ by mx.google.com with ESMTPS id gy6sm29669071wib.11.2012.01.19.11.14.52\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Thu, 19 Jan 2012 11:14:52 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Austin Clements <amdragon@MIT.EDU>,\r
+ David Bremner <david@tethera.net>\r
+Subject: [PATCH] emacs: invert relation between 'notmuch-send and 'message\r
+ customization groups\r
+Date: Thu, 19 Jan 2012 20:13:05 +0100\r
+Message-Id: <1327000385-24246-1-git-send-email-pieter@praet.org>\r
+X-Mailer: git-send-email 1.7.8.1\r
+In-Reply-To: <87k44no6dp.fsf@praet.org>\r
+References: <87k44no6dp.fsf@praet.org>\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\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: Thu, 19 Jan 2012 19:14:55 -0000\r
+\r
+'message contains options relevant to 'notmuch-send, not the other way around.\r
+\r
+Thanks to Austin for suggesting `custom-add-to-group'.\r
+ id:"20120118184408.GD16740@mit.edu"\r
+\r
+---\r
+ emacs/notmuch-lib.el | 5 +++--\r
+ 1 files changed, 3 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
+index 9242537..e33e69a 100644\r
+--- a/emacs/notmuch-lib.el\r
++++ b/emacs/notmuch-lib.el\r
+@@ -42,8 +42,9 @@\r
+ \r
+ (defgroup notmuch-send nil\r
+ "Sending messages from Notmuch."\r
+- :group 'notmuch\r
+- :group 'message)\r
++ :group 'notmuch)\r
++\r
++(custom-add-to-group 'notmuch-send 'message 'custom-group)\r
+ \r
+ (defgroup notmuch-crypto nil\r
+ "Processing and display of cryptographic MIME parts."\r
+-- \r
+1.7.8.1\r
+\r