--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id EE16B6DE17A6\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Aug 2015 03:35:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.144\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.144 tagged_above=-999 required=5 tests=[AWL=0.144]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Xpzq4T2BmlEl for <notmuch@notmuchmail.org>;\r
+ Sun, 2 Aug 2015 03:35:01 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 31FD26DE1761\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Aug 2015 03:35:01 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZLqar-0000qk-Qv; Sun, 02 Aug 2015 10:34:13 +0000\r
+Received: (nullmailer pid 31965 invoked by uid 1000); Sun, 02 Aug 2015\r
+ 10:33:58 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: sfischme@uwaterloo.ca, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] custom search prefix\r
+In-Reply-To: <87siceqcyl.fsf@uwaterloo.ca>\r
+References: <87siceqcyl.fsf@uwaterloo.ca>\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sun, 02 Aug 2015 12:33:58 +0200\r
+Message-ID: <87k2te3rop.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Sun, 02 Aug 2015 10:35:03 -0000\r
+\r
+\r
+Hi Sebastian;\r
+\r
+Sorry this sat so long in the queue.\r
+\r
+I agree it doesn't cost much to add it, but offhand I'm not sure what\r
+the use case is. It would be be good to (briefly) mention this in the\r
+commit message and also expand the docstring for the variable a bit,\r
+since this is currently our only documentation.\r
+\r
+> +(defcustom notmuch-query-prefix nil\r
+> + "Add a prefix to the standard query."\r
+> + :type 'string\r
+> + :group 'notmuch-search)\r
+> +\r
+\r
+In addition to general comments about, I'd say that "standard query" is\r
+a bit ambigious for me. It sounds like it would be added e.g. to\r
+saved-searches. Maybe "default" search, with some discussion of where\r
+it is used (so people don't have to read the source to figure it out).\r
+\r
+d\r