Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D7FEB431FBD for ; Mon, 14 Jul 2014 09:02:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k9DwWtF25BKf for ; Mon, 14 Jul 2014 09:02:32 -0700 (PDT) Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 0B794431FBC for ; Mon, 14 Jul 2014 09:02:31 -0700 (PDT) X-AuditID: 12074423-f79bf6d000007580-ad-53c3ff1771ed Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 1F.21.30080.71FF3C35; Mon, 14 Jul 2014 12:02:31 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s6EG2TeT030476; Mon, 14 Jul 2014 12:02:30 -0400 Received: from drake.dyndns.org (static-155-212-141-65.mas.onecommunications.net [155.212.141.65]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s6EG2MCj026028 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 14 Jul 2014 12:02:28 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1X6ihp-0006r8-Lx; Mon, 14 Jul 2014 12:02:21 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 0/2] emacs: Shortcut keys to saved searches Date: Mon, 14 Jul 2014 12:02:13 -0400 Message-Id: <1405353735-26244-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 2.0.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsUixCmqrCv+/3CwweZzMhY3WrsZLfbd2cJk sXouj8X1mzOZHVg8dj3/y+Sxc9Zddo9nq24xe2w59J45gCWKyyYlNSezLLVI3y6BK2PztyWs Bbc5Ko79+sLawLiJvYuRg0NCwERi63/fLkZOIFNM4sK99WxdjFwcQgKzmSSWfZvPDuFsZJRo /XOUHaRKSOAGk8Sxr5YQibmMEt/39oEl2AQ0JLbtX84IYosISEvsvDubFcRmFrCV+NT6nwnE Fhawlphw4g9YPYuAqsTfQ60sIFfwCjhIrF0ZCnGFnETDjU9sExh5FzAyrGKUTcmt0s1NzMwp Tk3WLU5OzMtLLdI108vNLNFLTSndxAgKHnYX5R2Mfw4qHWIU4GBU4uGVeHc4WIg1say4MvcQ oyQHk5Ior9AvoBBfUn5KZUZicUZ8UWlOavEhRgkOZiUR3qMfgHK8KYmVValF+TApaQ4WJXHe t9ZWwUIC6YklqdmpqQWpRTBZGQ4OJQnetL9AjYJFqempFWmZOSUIaSYOTpDhPEDDo0FqeIsL EnOLM9Mh8qcYFaXEeZv+ACUEQBIZpXlwvbDofsUoDvSKMG8cSDsPMDHAdb8CGswENLi8Bmxw SSJCSqqBcX/L4Y9WbksaDp7YcdTfUN7J/Onqw3uPVpiZ28uWJU+6YvKvTXHCroQlXSdmWH8I S0ppmLoscbeS3K0usy36vuU7J12+5b6s3XLV/onyFpECwvMOvS1f8r/BOrh8c8en29qzDtft UFx6infe2WrTn9+NJTWkbhvc22766rXm5HuP57rzREm/Oq7EUpyRaKjFXFScCADPnnsfyQIA AA== X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 16:02:39 -0000 This series combines my original notmuch-go [1] with modifications from Mark [2] and with dme's notmuch-jump [3]. Like dme's patch, this is bound to "j", is named notmuch-jump for consistency, and uses shortcut keys configured through notmuch-saved-searches. I simplified the original notmuch-go code using an idea from dme's patch to just show the bindings help in the minibuffer (rather than in a separate buffer). Unlike dme's patch, mine always shows the bindings, rather than requiring the user to guess that "?" will do something helpful. This seems strictly more friendly to inexperienced users and doesn't seem to have any real downside for experienced users. My patch also goes to more effort to display these bindings nicely, since they're always visible, and suggests to the user what to do when no bindings are configured. [1] https://github.com/aclements/notmuch/blob/go-hack/emacs/notmuch-go.el [2] http://www.maths.qmul.ac.uk/~walters/tmp/notmuch-go.el and http://www.maths.qmul.ac.uk/~walters/tmp/0001-defcustom.patch [3] id:1399461694-25350-2-git-send-email-dme@dme.org