Re: [PATCH] emacs: Make the queries used in the all-tags section
authorCarl Worth <cworth@cworth.org>
Tue, 24 May 2011 20:39:44 +0000 (13:39 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:19 +0000 (09:38 -0800)
09/f1832de8dc0815ccad0000c6e708a2c9fcec01 [new file with mode: 0644]

diff --git a/09/f1832de8dc0815ccad0000c6e708a2c9fcec01 b/09/f1832de8dc0815ccad0000c6e708a2c9fcec01
new file mode 100644 (file)
index 0000000..1b5cff6
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <cworth@cworth.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 02466431FD0\r
+       for <notmuch@notmuchmail.org>; Tue, 24 May 2011 13:39:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
+       tests=[T_MIME_NO_TEXT=0.01] 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 O0-HHPlKLaON for <notmuch@notmuchmail.org>;\r
+       Tue, 24 May 2011 13:39:55 -0700 (PDT)\r
+Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2A61C431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 24 May 2011 13:39:55 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by arlo.cworth.org (Postfix) with ESMTP id 98E1A29A057;\r
+       Tue, 24 May 2011 13:39:53 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 89C8725417E; Tue, 24 May 2011 13:39:53 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Daniel Schoepe <daniel.schoepe@googlemail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Make the queries used in the all-tags section\r
+In-Reply-To: <87fwoath2s.fsf@gilead.home.box>\r
+References: <87fwoath2s.fsf@gilead.home.box>\r
+User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
+       (i486-pc-linux-gnu)\r
+Date: Tue, 24 May 2011 13:39:44 -0700\r
+Message-ID: <87ei3nltnz.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\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: Tue, 24 May 2011 20:39:56 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, 20 May 2011 01:18:35 +0200, Daniel Schoepe <daniel.schoepe@googlema=\r
+il.com> wrote:\r
+> From the commit message:\r
+>=20\r
+>     emacs: Make queries used in the all-tags section configurable\r
+>=20=20=20=20=20\r
+>     This patch adds a customization variable that controls what queries\r
+>     are used to construct the all-tags section in notmuch-hello. It allows\r
+>     the user to specify a function to construct the query given a tag. It\r
+>     also allows hiding tags by returning nil.\r
+\r
+This seems like a useful feature, but perhaps it's a little too general?\r
+\r
+I'm imagining a user wanting to use this functionality but not knowing\r
+anything about writing an emacs-lisp function. For such a user, this\r
+variable won't provide much of a feature.\r
+\r
+I think that might be an argument for dropping this variable from the\r
+notmuch customization group. That customization page is starting to get\r
+crowded, and if there are things there that can't be easily manipulated\r
+with the available controls, I think they're mostly just clutter.\r
+\r
+Perhaps this could be addressed by allowing this variable to be an alist\r
+instead of (or in addition to) a function. What do you think?\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk3cF5AACgkQ6JDdNq8qSWif/gCfSPHOWPIrWTVA7dINHVz4nFdL\r
+6jEAoKaSKl5v+6/es3tWZ+jj51V63BpP\r
+=prau\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r