Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D6621431FAF for ; Wed, 18 Jan 2012 10:44:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4RTfidujtVKC for ; Wed, 18 Jan 2012 10:44:26 -0800 (PST) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id 35967431FAE for ; Wed, 18 Jan 2012 10:44:26 -0800 (PST) X-AuditID: 1209190d-b7fbf6d0000008ba-91-4f1713097225 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id D3.56.02234.903171F4; Wed, 18 Jan 2012 13:44:25 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q0IIiOXD021985; Wed, 18 Jan 2012 13:44:25 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0IIiN96005710 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 18 Jan 2012 13:44:24 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RnaUS-0001XS-Vb; Wed, 18 Jan 2012 13:44:09 -0500 Date: Wed, 18 Jan 2012 13:44:08 -0500 From: Austin Clements To: Pieter Praet Subject: Re: [PATCH v4] emacs: logically group def{custom,face}s Message-ID: <20120118184408.GD16740@mit.edu> References: <871ur02awi.fsf@praet.org> <1326710313-21417-1-git-send-email-pieter@praet.org> <20120116191622.GB16740@mit.edu> <87ipk98h5d.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ipk98h5d.fsf@praet.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnleLIzCtJLcpLzFFi42IR4hTV1uUUFvc3eL1I0+JGazejxfWbM5kt fr++wezA7PFs1S1mj459l1k9thx6zxzAHMVlk5Kak1mWWqRvl8CV8fTXcZaCi7wVE2cuYm9g PMjVxcjJISFgInFq1js2CFtM4sK99UA2F4eQwD5GidOvJjJBOBsYJb6/uwnlnGSS+PrpAjuE s4RRYs6BF+wg/SwCqhIrn59iBrHZBDQktu1fzghiiwgoS5x+8hOshlnAV2Lupx9gNcICDhK7 umawgNi8AjoS5549hdo9l1Fi+6pVrBAJQYmTM5+wQDRrSdz49xLoDA4gW1pi+T8OkDCngLrE rCnLweaLCqhITDm5jW0Co9AsJN2zkHTPQuhewMi8ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdI LzezRC81pXQTIzjcJXl3ML47qHSIUYCDUYmHV2KDqL8Qa2JZcWXuIUZJDiYlUd5QfnF/Ib6k /JTKjMTijPii0pzU4kOMEhzMSiK8X/iAcrwpiZVVqUX5MClpDhYlcV5VrXd+QgLpiSWp2amp BalFMFkZDg4lCV4NIaBGwaLU9NSKtMycEoQ0EwcnyHAeoOHlIDW8xQWJucWZ6RD5U4yKUuK8 XiAJAZBERmkeXC8sHb1iFAd6RZi3G6SKB5jK4LpfAQ1mAhrs0SQGMrgkESEl1cB4+ctOObdw k3/r41/Y7GzZ03Ezdp51uFsuR8VXycfH2xd8fvtjW71i4f8Jwol/wj4uEOBILwhcoFq2QWdl 65HLFXOvp4tGTHd7q+Uwj9v/QUkeK3O+eP0Fzu6oWUlHflSfF7wYIVXPuPkJo9NJGYv7lZ/i +yae79gUd63wwQbFFwa3PeYG721SYinOSDTUYi4qTgQAcV5yYSIDAAA= Cc: Notmuch Mail X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 18:44:27 -0000 Quoth Pieter Praet on Jan 18 at 11:00 am: > On Mon, 16 Jan 2012 14:16:22 -0500, Austin Clements wrote: > > LGTM. > > > > Quoth Pieter Praet on Jan 16 at 11:38 am: > > > - Add `notmuch-send' to the `message' group, as per Austin's > > > recommendation [1]. > > > > This is actually the reverse of what I was suggesting (though is also > > reasonable). Since notmuch uses message-mode, I was saying that the > > notmuch group (or the notmuch-send group) should link to the message > > group. That way, if you customize-group notmuch, you get all of the > > options that affect notmuch, even those that aren't strictly notmuch > > variables. > > Sorry, failed to mention; I tried that, but the additional > > :link '(custom-group-link :tag "Message" message) > > didn't seem all that useful compared to (or combined with) > adding `message' as parent group to `notmuch-send': > > #+begin_example > Parent groups: Message Notmuch > > /- Notmuch Send group: Sending messages from Notmuch.--------------------\ > State: something in this group has been changed outside customize. > #+end_example > > vs. > > #+begin_example > Parent groups: Message Notmuch > > /- Notmuch Send group: Sending messages from Notmuch.--------------------\ > State: something in this group has been changed outside customize. > See also Message. > #+end_example > > ... so I ripped it out again. Should I add it back? Hmm. You're right that the :link doesn't do much. One other possibility to consider is (custom-add-to-group 'notmuch-show 'message 'custom-group) or even (custom-add-to-group 'notmuch 'message 'custom-group)