--- /dev/null
+Return-Path: <matt@bubblegen.co.uk>\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 AC3C36DE0A7F\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Jul 2015 04:40:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.512\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.512 tagged_above=-999 required=5 tests=[AWL=0.188,\r
+ RCVD_IN_DNSWL_LOW=-0.7] 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 vKUs5NeZsRBq for <notmuch@notmuchmail.org>;\r
+ Tue, 14 Jul 2015 04:40:00 -0700 (PDT)\r
+X-Greylist: delayed 456 seconds by postgrey-1.35 at arlo;\r
+ Tue, 14 Jul 2015 04:40:00 PDT\r
+Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 14B696DE02DD\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Jul 2015 04:39:59 -0700 (PDT)\r
+Received: from localhost ([84.93.237.98]) by avasout04 with smtp\r
+ id sBYH1q007283uBY01BYJSd; Tue, 14 Jul 2015 12:32:19 +0100\r
+X-CM-Score: 0.00\r
+X-CNFS-Analysis: v=2.1 cv=JOrGyJ+b c=1 sm=1 tr=0\r
+ a=BJaFPv9AyABFDM2hXLRoEA==:117 a=BJaFPv9AyABFDM2hXLRoEA==:17 a=0Bzu9jTXAAAA:8\r
+ a=80hmnl3cAAAA:8 a=qFRnvRBcnqcA:10 a=8nJEP1OIZ-IA:10 a=zOBTXjUuO1YA:10\r
+ a=7SeAVy26aQNrBdFefJwA:9 a=wPNLvfGTeEIA:10\r
+Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
+ by localhost with esmtp (Exim 4.76)\r
+ (envelope-from <matt@bubblegen.co.uk>) id 1ZEyRd-0006yv-3o\r
+ for notmuch@notmuchmail.org; Tue, 14 Jul 2015 12:32:17 +0100\r
+Received: from 216.31.211.11 (proxying for unknown)\r
+ (SquirrelMail authenticated user bubblegen+matt)\r
+ by webmail.plus.net with HTTP; Tue, 14 Jul 2015 12:32:17 +0100\r
+Message-ID: <8cd45d0665469d8f5e98928e61e9a411.squirrel@webmail.plus.net>\r
+Date: Tue, 14 Jul 2015 12:32:17 +0100\r
+Subject: (emacs) customise key bindings taking text input\r
+From: "Matthew Lear" <matt@bubblegen.co.uk>\r
+To: notmuch@notmuchmail.org\r
+Reply-To: matt@bubblegen.co.uk\r
+User-Agent: SquirrelMail\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;charset=iso-8859-1\r
+Content-Transfer-Encoding: 8bit\r
+X-Priority: 3 (Normal)\r
+Importance: Normal\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: Tue, 14 Jul 2015 11:40:02 -0000\r
+\r
+Hi all,\r
+\r
+I was wondering if there was a way to add a new search similar to what\r
+pressing s does, but make it use a predefined list of search terms in\r
+addition to the text being entered? For example, I have reams of bug\r
+notification emails which currently have various tags applied. If I wanted\r
+to search a subset of these tags with a number (bug id) in the subject,\r
+right now I have to press s and type tag:foo and tag:bar and subject:1234.\r
+If I could add a new search option (eg 'B') and after pressing that I\r
+simply enter the bug id and hit return, it would save me a lot of typing.\r
+I have custom searches set up which do the 'tag:foo and tag:bar' and I can\r
+filter on the subject, but that still means pressing f and typing\r
+subject:1234.\r
+\r
+I fear I'm rambling here but hopefully I've conveyed what I'm trying to do.\r
+Is this possible?\r
+Just trying to cut down on my typing ;-)\r
+\r
+Thanks,\r
+-- Matt\r
+\r