--- /dev/null
+Return-Path: <andrew.burgess@embecosm.com>\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 527E06DE02CE\r
+ for <notmuch@notmuchmail.org>; Sun, 13 Dec 2015 11:09:53 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.668\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.668 tagged_above=-999 required=5 tests=[AWL=0.052,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 buBqO9UrCsb2 for <notmuch@notmuchmail.org>;\r
+ Sun, 13 Dec 2015 11:09:51 -0800 (PST)\r
+Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com\r
+ [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 885406DE0231 for\r
+ <notmuch@notmuchmail.org>; Sun, 13 Dec 2015 11:09:50 -0800 (PST)\r
+Received: by mail-wm0-f52.google.com with SMTP id n186so18751779wmn.0\r
+ for <notmuch@notmuchmail.org>; Sun, 13 Dec 2015 11:09:50 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=embecosm-com.20150623.gappssmtp.com; s=20150623;\r
+ h=date:from:to:cc:subject:message-id:references:mime-version\r
+ :content-type:content-disposition:in-reply-to:user-agent;\r
+ bh=gDMLVVlPt6KuoNCZMsgKeBfrmMyVNcZQeqEd/1bU744=;\r
+ b=hAYWRl1pEnHQN6KOVLPcSj+eJqB8SSGiDdztCtiN0jeQ6V2zdnIVqBarUqdIKYAIvP\r
+ dvvuP7lkUzWDTY2u2XV5j4pelGD3GmJsUJ/+qJB2fiYdeNV2qS3ot4Zc+qzUpmLcNPK8\r
+ HdtyoTI7bNUjbvY7Gs6ehNicKKOScLm4GXIDeRyjpx4QqTCPp9rKPc62PNp1jYiQrPE2\r
+ q9ASjTUZ8X1fl/Azs1OsxRjw9Byw8KViO/h/4lU7OovMLdLMTQMgh1uhfjJ3P1Ak6R57\r
+ e1zfkLe2D3auKUOyi7Bbbz6FBZ0c1BFGrRvn8Tp0q1BYHWJ3CFiQI3r1GojQa7LqknSb\r
+ hUeA==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:date:from:to:cc:subject:message-id:references\r
+ :mime-version:content-type:content-disposition:in-reply-to\r
+ :user-agent;\r
+ bh=gDMLVVlPt6KuoNCZMsgKeBfrmMyVNcZQeqEd/1bU744=;\r
+ b=IBrYmMlKcxGSfTz50eohekwpFuyQ3EoSjFV1q638uH7C8KsgW76Aszz95/8wq7G4Z+\r
+ JyK7fvuVmfAfzcA6feeiqfmMC4YbKLt1yLiWpSVcHdOvNmCSjO5OCPjA8r9OpI4hSk+7\r
+ ha2mytOBSTBBqxpNEABP3geniHOauth6iPZQOJxhQMfcLky0v9QLVb3r7amQTNzugGdM\r
+ jpOlVk6N3JLsaZuqGp2jXXt/DtSx3V2uVGnZbOlil+UBI2xSCbOK7tFfK5VrIrTRNAY6\r
+ t5ODb/lkAueN5iTZGtPQGvv/6x1m2uySSK0HMGLGheSKp6ARrcAIsU6h7uUezG/eoOkA\r
+ MaqA==\r
+X-Gm-Message-State: ALoCoQkEWmDbUbbmbAa8rI7hiGWY3TMT3BhiPhPdLd+i9kcaG8tm+8TU1flTbmkTvT5w3NbPRWFV0G14wQCsW89Bz2CZErYPgA==\r
+X-Received: by 10.28.64.131 with SMTP id n125mr20117708wma.103.1450033788732; \r
+ Sun, 13 Dec 2015 11:09:48 -0800 (PST)\r
+Received: from localhost (host86-138-95-213.range86-138.btcentralplus.com.\r
+ [86.138.95.213])\r
+ by smtp.gmail.com with ESMTPSA id t64sm12712583wmf.23.2015.12.13.11.09.47\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sun, 13 Dec 2015 11:09:48 -0800 (PST)\r
+Date: Sun, 13 Dec 2015 19:09:46 +0000\r
+From: Andrew Burgess <andrew.burgess@embecosm.com>\r
+To: Jani Nikula <jani@nikula.org>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: hello: display jump key next to saved search when\r
+ available\r
+Message-ID: <20151213190946.GA4520@embecosm.com>\r
+References: <1450031043-24038-1-git-send-email-jani@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <1450031043-24038-1-git-send-email-jani@nikula.org>\r
+X-Operating-System: Linux/4.2.6-201.fc22.x86_64 (x86_64)\r
+X-Uptime: 19:06:44 up 1 day, 22:02,\r
+X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ]\r
+User-Agent: Mutt/1.5.24 (2015-08-30)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 13 Dec 2015 19:09:53 -0000\r
+\r
+* Jani Nikula <jani@nikula.org> [2015-12-13 20:24:03 +0200]:\r
+\r
+> Display the shortcut jump key next to the saved search name in notmuch\r
+> hello, if one is defined for the saved search.\r
+> \r
+> ---\r
+> \r
+> This is probably something with infinite bikeshedding\r
+> potential. Therefore I just quickly hacked something together as a\r
+> proof of concept. This displays the jump keys like this:\r
+> \r
+> 154 Inbox [j i]\r
+> \r
+> Maybe the space between "j" and the key is unnecessary? Maybe the "j"\r
+> itself is unnecessary? Maybe the brackets are unnecessary? Maybe it\r
+> could use some color? Does displaying these need to be customizable?\r
+> Etc?\r
+> ---\r
+> emacs/notmuch-hello.el | 8 ++++++--\r
+> 1 file changed, 6 insertions(+), 2 deletions(-)\r
+> \r
+> diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+> index 738baad23b20..3c5440331669 100644\r
+> --- a/emacs/notmuch-hello.el\r
+> +++ b/emacs/notmuch-hello.el\r
+> @@ -578,7 +578,9 @@ with `notmuch-hello-query-counts'."\r
+> (oldest-first t)\r
+> (otherwise notmuch-search-oldest-first)))\r
+> (search-type (eq (plist-get elem :search-type) 'tree))\r
+> - (msg-count (plist-get elem :count)))\r
+> + (msg-count (plist-get elem :count))\r
+> + (key (plist-get elem :key))\r
+> + (shortcut (if key (format " [j %s]" key) nil)))\r
+\r
+You should probably make use of `substitute-command-key' instead of\r
+hard-coding the "j", something like (untested):\r
+\r
+ (format (substitute-command-key " [\[notmuch-jump-search] %s]") key)\r
+\r
+Thanks,\r
+Andrew\r