From 9c6c9e30cf16a8f345331c9678a44f0bec06e19b Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 3 Mar 2012 23:55:24 +0200 Subject: [PATCH] [PATCH] emacs: keep customizations in groups --- e1/7fc0a251d0a6f9bfa81061195397d0db1d0773 | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 e1/7fc0a251d0a6f9bfa81061195397d0db1d0773 diff --git a/e1/7fc0a251d0a6f9bfa81061195397d0db1d0773 b/e1/7fc0a251d0a6f9bfa81061195397d0db1d0773 new file mode 100644 index 000000000..da6ba4b41 --- /dev/null +++ b/e1/7fc0a251d0a6f9bfa81061195397d0db1d0773 @@ -0,0 +1,98 @@ +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 F4089431FAF + for ; Sat, 3 Mar 2012 13:55:30 -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 j9fbSMSqcLSx for ; + Sat, 3 Mar 2012 13:55:30 -0800 (PST) +Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com + [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 4E30B431FAE + for ; Sat, 3 Mar 2012 13:55:30 -0800 (PST) +Received: by lahc1 with SMTP id c1so3541318lah.26 + for ; Sat, 03 Mar 2012 13:55:28 -0800 (PST) +Received-SPF: pass (google.com: domain of jani@nikula.org designates + 10.152.135.148 as permitted sender) client-ip=10.152.135.148; +Authentication-Results: mr.google.com; + spf=pass (google.com: domain of jani@nikula.org + designates 10.152.135.148 as permitted sender) + smtp.mail=jani@nikula.org +Received: from mr.google.com ([10.152.135.148]) + by 10.152.135.148 with SMTP id ps20mr13407824lab.20.1330811728861 + (num_hops = 1); Sat, 03 Mar 2012 13:55:28 -0800 (PST) +MIME-Version: 1.0 +Received: by 10.152.135.148 with SMTP id ps20mr11036002lab.20.1330811728788; + Sat, 03 Mar 2012 13:55:28 -0800 (PST) +Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi. + [84.248.80.253]) + by mx.google.com with ESMTPS id tt8sm14825413lbb.16.2012.03.03.13.55.26 + (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 13:55:27 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs: keep customizations in groups +Date: Sat, 3 Mar 2012 23:55:24 +0200 +Message-Id: <1330811724-30901-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 1.7.5.4 +X-Gm-Message-State: + ALoCoQl5ssxUuPuEOz71lsYuXKZMy/I30z8SbD5zxb2uaNwNol9xzx3cXQuLmM/lU8W2zn+hz7/T +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: Sat, 03 Mar 2012 21:55:31 -0000 + +Move hello section customization to notmuch-hello group and printing +customization to notmuch-show group from the top level customization +group. +--- + emacs/notmuch-hello.el | 2 +- + emacs/notmuch-print.el | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el +index e089290..0cf613f 100644 +--- a/emacs/notmuch-hello.el ++++ b/emacs/notmuch-hello.el +@@ -226,7 +226,7 @@ by an additional filter query. Similarly, the count of messages + displayed next to the buttons can be generated by applying a + different filter to the tag query. These filters are also + supported for \"Customized queries section\" items." +- :group 'notmuch ++ :group 'notmuch-hello + :type + '(repeat + (choice (function-item notmuch-hello-insert-header) +diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el +index 6653d97..8c18f4b 100644 +--- a/emacs/notmuch-print.el ++++ b/emacs/notmuch-print.el +@@ -25,7 +25,7 @@ + + (defcustom notmuch-print-mechanism 'notmuch-print-lpr + "How should printing be done?" +- :group 'notmuch ++ :group 'notmuch-show + :type '(choice + (function :tag "Use lpr" notmuch-print-lpr) + (function :tag "Use ps-print" notmuch-print-ps-print) +-- +1.7.5.4 + -- 2.26.2