Re: [PATCH v2 3/3] search: Support automatic tag exclusions
authorDavid Edmondson <dme@dme.org>
Mon, 16 Jan 2012 09:12:38 +0000 (09:12 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:14 +0000 (09:42 -0800)
d5/da9c9d0f8a6fec03fc448b2fe7ee78431a80fa [new file with mode: 0644]

diff --git a/d5/da9c9d0f8a6fec03fc448b2fe7ee78431a80fa b/d5/da9c9d0f8a6fec03fc448b2fe7ee78431a80fa
new file mode 100644 (file)
index 0000000..3e5e642
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <dme@dme.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 BD74F431E62\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 01:14:01 -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 A-vJgu8vxJzv for <notmuch@notmuchmail.org>;\r
+       Mon, 16 Jan 2012 01:14:01 -0800 (PST)\r
+Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
+       [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id F2B16431FC0\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 01:14:00 -0800 (PST)\r
+Received: by wibhr12 with SMTP id hr12so2198004wib.26\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 01:13:59 -0800 (PST)\r
+Received: by 10.180.85.4 with SMTP id d4mr17933375wiz.0.1326705239921;\r
+       Mon, 16 Jan 2012 01:13:59 -0800 (PST)\r
+Received: from hotblack-desiato.hh.sledj.net\r
+       (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
+       by mx.google.com with ESMTPS id ej7sm21431762wbb.20.2012.01.16.01.13.58\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 16 Jan 2012 01:13:58 -0800 (PST)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+       id A74949FD88; Mon, 16 Jan 2012 09:12:38 +0000 (GMT)\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v2 3/3] search: Support automatic tag exclusions\r
+In-Reply-To: <87wr8tsvit.fsf@servo.finestructure.net>\r
+References: <1326258173-21163-1-git-send-email-amdragon@mit.edu>\r
+       <1326496024-14403-1-git-send-email-amdragon@mit.edu>\r
+       <1326496024-14403-4-git-send-email-amdragon@mit.edu>\r
+       <87wr8tsvit.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.10.2+186~gd0f7804 (http://notmuchmail.org)\r
+       Emacs/24.0.92.1 (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Mon, 16 Jan 2012 09:12:38 +0000\r
+Message-ID: <cunfwfg57uh.fsf@hotblack-desiato.hh.sledj.net>\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: Mon, 16 Jan 2012 09:14:01 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, 14 Jan 2012 15:40:26 -0800, Jameson Graef Rollins <jrollins@finestr=\r
+ucture.net> wrote:\r
+> This patch looks fine.  Philosophical UI discussion to follow:\r
+>=20\r
+> On Fri, 13 Jan 2012 18:07:04 -0500, Austin Clements <amdragon@MIT.EDU> wr=\r
+ote:\r
+> > +    if (notmuch_config_get_auto_exclude_tags (config, &tmp) =3D=3D NUL=\r
+L) {\r
+> > +  const char *tags[] =3D { "deleted", "spam" };\r
+> > +  notmuch_config_set_auto_exclude_tags (config, tags, 2);\r
+> > +    }\r
+>=20\r
+> This creates the config section with the exclude list pre-set to\r
+> "deleted;spam".\r
+\r
+I don't think that anything should be excluded from the search results\r
+by default, at least not as a default behaviour of the 'notmuch'\r
+binary.\r
+\r
+Having "deleted" and "spam" as default settings in the configuration\r
+file might be more reasonable.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk8T6gYACgkQaezQq/BJZRZ0EQCcC/YqvlEOonCwA8D/oHjy2he5\r
+GmAAn2oNgiUBUSpVwHXJ9uVpXUXLFHYW\r
+=CgtL\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r