Re: [PATCH] emacs: keep customizations in groups
authorJani Nikula <jani@nikula.org>
Mon, 5 Mar 2012 07:24:33 +0000 (09:24 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:14 +0000 (09:45 -0800)
63/82402d18da2d65a40bc85029b720ffb28a2eba [new file with mode: 0644]

diff --git a/63/82402d18da2d65a40bc85029b720ffb28a2eba b/63/82402d18da2d65a40bc85029b720ffb28a2eba
new file mode 100644 (file)
index 0000000..083324e
--- /dev/null
@@ -0,0 +1,236 @@
+Return-Path: <jani@nikula.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 49418431FBC\r
+       for <notmuch@notmuchmail.org>; Sun,  4 Mar 2012 23:24:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[HTML_MESSAGE=0.001, 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 rz6mRokxkK92 for <notmuch@notmuchmail.org>;\r
+       Sun,  4 Mar 2012 23:24:34 -0800 (PST)\r
+Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com\r
+       [209.85.210.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 5B459431FAE\r
+       for <notmuch@notmuchmail.org>; Sun,  4 Mar 2012 23:24:34 -0800 (PST)\r
+Received: by dadp14 with SMTP id p14so3268881dad.18\r
+       for <notmuch@notmuchmail.org>; Sun, 04 Mar 2012 23:24:33 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of jani@nikula.org designates\r
+       10.68.225.73 as permitted sender) client-ip=10.68.225.73; \r
+Authentication-Results: mr.google.com;\r
+       spf=pass (google.com: domain of jani@nikula.org\r
+       designates 10.68.225.73 as permitted sender)\r
+       smtp.mail=jani@nikula.org\r
+Received: from mr.google.com ([10.68.225.73])\r
+       by 10.68.225.73 with SMTP id ri9mr45614452pbc.70.1330932273515\r
+       (num_hops = 1); Sun, 04 Mar 2012 23:24:33 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.68.225.73 with SMTP id ri9mr39027932pbc.70.1330932273252; Sun,\r
+       04 Mar 2012 23:24:33 -0800 (PST)\r
+Received: by 10.68.12.103 with HTTP; Sun, 4 Mar 2012 23:24:33 -0800 (PST)\r
+Received: by 10.68.12.103 with HTTP; Sun, 4 Mar 2012 23:24:33 -0800 (PST)\r
+In-Reply-To:\r
+ <CAB+hUn8J=Hd1ASOw9oga=2L1Au4nCjc3FszjP6SnK438tPXj8A@mail.gmail.com>\r
+References: <1330811724-30901-1-git-send-email-jani@nikula.org>\r
+       <87d38r6i0s.fsf@qmul.ac.uk>\r
+       <CAB+hUn8J=Hd1ASOw9oga=2L1Au4nCjc3FszjP6SnK438tPXj8A@mail.gmail.com>\r
+Date: Mon, 5 Mar 2012 09:24:33 +0200\r
+Message-ID:\r
+ <CAB+hUn9PmZE_Yc83ojnhAdLBoob_aLb5_rufSxL_0z4eDms_JQ@mail.gmail.com>\r
+Subject: Re: [PATCH] emacs: keep customizations in groups\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Mark Walters <markwalters1009@gmail.com>\r
+Content-Type: multipart/alternative; boundary=e89a8ff2437d5e0a0104ba79d128\r
+X-Gm-Message-State:\r
+ ALoCoQkLYo+ro36GpsM3JvNRB1ex3ukiIigt2/QICYrFte9qR6/zcP0y9Sj0k1H0t79fpaXV7HR3\r
+Cc: 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: Mon, 05 Mar 2012 07:24:36 -0000\r
+\r
+--e89a8ff2437d5e0a0104ba79d128\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+On Mar 5, 2012 1:50 AM, "Mark Walters" <markwalters1009@gmail.com> wrote:\r
+>\r
+> On Sat,  3 Mar 2012 23:55:24 +0200, Jani Nikula <jani@nikula.org> wrote:\r
+> > Move hello section customization to notmuch-hello group and printing\r
+> > customization to notmuch-show group from the top level customization\r
+> > group.\r
+>\r
+> Hi\r
+>\r
+> This is an clear improvement but I wonder about the positioning of these\r
+> two options inside the subgroups. It makes\r
+>\r
+> notmuch-hello-sections the last option under notmuch-hello and\r
+>\r
+> notmuch-print-mechanism the first option under notmuch-show\r
+>\r
+> both of which seem slightly strange positions.\r
+>\r
+> (Personally I would place notmuch-hello-sections towards the top, and\r
+> notmuch-print-mechanism towards the bottom. If you decided on this\r
+> ordering then I am happy to go with it: I am only commenting in case it\r
+> is just accidental.)\r
+\r
+I just changed the groups, and that's where the options landed... I don't\r
+know how to change the order.\r
+\r
+>\r
+> Best wishes\r
+>\r
+> Mark\r
+>\r
+>\r
+>\r
+> > ---\r
+> >  emacs/notmuch-hello.el |    2 +-\r
+> >  emacs/notmuch-print.el |    2 +-\r
+> >  2 files changed, 2 insertions(+), 2 deletions(-)\r
+> >\r
+> > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+> > index e089290..0cf613f 100644\r
+> > --- a/emacs/notmuch-hello.el\r
+> > +++ b/emacs/notmuch-hello.el\r
+> > @@ -226,7 +226,7 @@ by an additional filter query. Similarly, the count\r
+of messages\r
+> >  displayed next to the buttons can be generated by applying a\r
+> >  different filter to the tag query. These filters are also\r
+> >  supported for \"Customized queries section\" items."\r
+> > -  :group 'notmuch\r
+> > +  :group 'notmuch-hello\r
+> >    :type\r
+> >    '(repeat\r
+> >      (choice (function-item notmuch-hello-insert-header)\r
+> > diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el\r
+> > index 6653d97..8c18f4b 100644\r
+> > --- a/emacs/notmuch-print.el\r
+> > +++ b/emacs/notmuch-print.el\r
+> > @@ -25,7 +25,7 @@\r
+> >\r
+> >  (defcustom notmuch-print-mechanism 'notmuch-print-lpr\r
+> >    "How should printing be done?"\r
+> > -  :group 'notmuch\r
+> > +  :group 'notmuch-show\r
+> >    :type '(choice\r
+> >         (function :tag "Use lpr" notmuch-print-lpr)\r
+> >         (function :tag "Use ps-print" notmuch-print-ps-print)\r
+> > --\r
+> > 1.7.5.4\r
+> >\r
+> > _______________________________________________\r
+> > notmuch mailing list\r
+> > notmuch@notmuchmail.org\r
+> > http://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+--e89a8ff2437d5e0a0104ba79d128\r
+Content-Type: text/html; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<p><br>\r
+On Mar 5, 2012 1:50 AM, &quot;Mark Walters&quot; &lt;<a href=3D"mailto:mark=\r
+walters1009@gmail.com">markwalters1009@gmail.com</a>&gt; wrote:<br>\r
+&gt;<br>\r
+&gt; On Sat, =C2=A03 Mar 2012 23:55:24 +0200, Jani Nikula &lt;<a href=3D"ma=\r
+ilto:jani@nikula.org">jani@nikula.org</a>&gt; wrote:<br>\r
+&gt; &gt; Move hello section customization to notmuch-hello group and print=\r
+ing<br>\r
+&gt; &gt; customization to notmuch-show group from the top level customizat=\r
+ion<br>\r
+&gt; &gt; group.<br>\r
+&gt;<br>\r
+&gt; Hi<br>\r
+&gt;<br>\r
+&gt; This is an clear improvement but I wonder about the positioning of the=\r
+se<br>\r
+&gt; two options inside the subgroups. It makes<br>\r
+&gt;<br>\r
+&gt; notmuch-hello-sections the last option under notmuch-hello and<br>\r
+&gt;<br>\r
+&gt; notmuch-print-mechanism the first option under notmuch-show<br>\r
+&gt;<br>\r
+&gt; both of which seem slightly strange positions.<br>\r
+&gt;<br>\r
+&gt; (Personally I would place notmuch-hello-sections towards the top, and<=\r
+br>\r
+&gt; notmuch-print-mechanism towards the bottom. If you decided on this<br>\r
+&gt; ordering then I am happy to go with it: I am only commenting in case i=\r
+t<br>\r
+&gt; is just accidental.)</p>\r
+<p>I just changed the groups, and that&#39;s where the options landed... I =\r
+don&#39;t know how to change the order.</p>\r
+<p>&gt;<br>\r
+&gt; Best wishes<br>\r
+&gt;<br>\r
+&gt; Mark<br>\r
+&gt;<br>\r
+&gt;<br>\r
+&gt;<br>\r
+&gt; &gt; ---<br>\r
+&gt; &gt; =C2=A0emacs/notmuch-hello.el | =C2=A0 =C2=A02 +-<br>\r
+&gt; &gt; =C2=A0emacs/notmuch-print.el | =C2=A0 =C2=A02 +-<br>\r
+&gt; &gt; =C2=A02 files changed, 2 insertions(+), 2 deletions(-)<br>\r
+&gt; &gt;<br>\r
+&gt; &gt; diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el<br>\r
+&gt; &gt; index e089290..0cf613f 100644<br>\r
+&gt; &gt; --- a/emacs/notmuch-hello.el<br>\r
+&gt; &gt; +++ b/emacs/notmuch-hello.el<br>\r
+&gt; &gt; @@ -226,7 +226,7 @@ by an additional filter query. Similarly, the=\r
+ count of messages<br>\r
+&gt; &gt; =C2=A0displayed next to the buttons can be generated by applying =\r
+a<br>\r
+&gt; &gt; =C2=A0different filter to the tag query. These filters are also<b=\r
+r>\r
+&gt; &gt; =C2=A0supported for \&quot;Customized queries section\&quot; item=\r
+s.&quot;<br>\r
+&gt; &gt; - =C2=A0:group &#39;notmuch<br>\r
+&gt; &gt; + =C2=A0:group &#39;notmuch-hello<br>\r
+&gt; &gt; =C2=A0 =C2=A0:type<br>\r
+&gt; &gt; =C2=A0 =C2=A0&#39;(repeat<br>\r
+&gt; &gt; =C2=A0 =C2=A0 =C2=A0(choice (function-item notmuch-hello-insert-h=\r
+eader)<br>\r
+&gt; &gt; diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el<br>\r
+&gt; &gt; index 6653d97..8c18f4b 100644<br>\r
+&gt; &gt; --- a/emacs/notmuch-print.el<br>\r
+&gt; &gt; +++ b/emacs/notmuch-print.el<br>\r
+&gt; &gt; @@ -25,7 +25,7 @@<br>\r
+&gt; &gt;<br>\r
+&gt; &gt; =C2=A0(defcustom notmuch-print-mechanism &#39;notmuch-print-lpr<b=\r
+r>\r
+&gt; &gt; =C2=A0 =C2=A0&quot;How should printing be done?&quot;<br>\r
+&gt; &gt; - =C2=A0:group &#39;notmuch<br>\r
+&gt; &gt; + =C2=A0:group &#39;notmuch-show<br>\r
+&gt; &gt; =C2=A0 =C2=A0:type &#39;(choice<br>\r
+&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 (function :tag &quot;Use lpr&quot; no=\r
+tmuch-print-lpr)<br>\r
+&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 (function :tag &quot;Use ps-print&quo=\r
+t; notmuch-print-ps-print)<br>\r
+&gt; &gt; --<br>\r
+&gt; &gt; 1.7.5.4<br>\r
+&gt; &gt;<br>\r
+&gt; &gt; _______________________________________________<br>\r
+&gt; &gt; notmuch mailing list<br>\r
+&gt; &gt; <a href=3D"mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.or=\r
+g</a><br>\r
+&gt; &gt; <a href=3D"http://notmuchmail.org/mailman/listinfo/notmuch">http:=\r
+//notmuchmail.org/mailman/listinfo/notmuch</a><br>\r
+</p>\r
+\r
+--e89a8ff2437d5e0a0104ba79d128--\r