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 952B7421170 for ; Wed, 11 Jul 2012 11:57:28 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, 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 VPQvi5YwiV84 for ; Wed, 11 Jul 2012 11:57:27 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B3CBE429E57 for ; Wed, 11 Jul 2012 11:57:24 -0700 (PDT) Received: by weyt57 with SMTP id t57so1096499wey.26 for ; Wed, 11 Jul 2012 11:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=XMwlRvviS6lRssRWeeqjX0c4BUOyCUflk0ciL2nMgnQ=; b=D2ajN27rfPzGtaAuJ3RZS8ueFQPC7IxbHGtc++xA35mNps+PfnNrpqOJWMvAxHZJVw DZXAbTopHdNrVdn/mWrNLZ+dvQQoQ5fnmTNV/xfyt+PZ15LO+mFrxBO8rjyY143cS8Z3 a5uNIoo+qwAwMUJGhMLpxQbVwkePQ2EzfUPFZRK/bLxgVH4WMMFdIbMLFhf2p0BFzqGZ 3ax+/9PWNxQ4eoJ0H83P4KYUm0EECW4x9yFI7N3yrb1JX1uuOk+atPMEDqBQ1bPkWa6/ ik318I7Qw02ydXNVPrBiFlA4QE79RdbmqJu9Z9zo4pL6DPu2HTxg1YN4B5rDTzkNxA3J QsvA== Received: by 10.216.131.13 with SMTP id l13mr15926699wei.195.1342033043479; Wed, 11 Jul 2012 11:57:23 -0700 (PDT) Received: from localhost (94-192-233-223.zone6.bethere.co.uk. [94.192.233.223]) by mx.google.com with ESMTPS id l5sm6976439wix.5.2012.07.11.11.57.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jul 2012 11:57:21 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 2/3] emacs: add a stub entry to notmuch-pick in notmuch.el Date: Wed, 11 Jul 2012 19:57:06 +0100 Message-Id: <1342033027-30286-3-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com> References: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com> 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: Wed, 11 Jul 2012 18:57:29 -0000 This adds the stub entry to notmuch-pick.el to notmuch.el. We call notmuch-pick-init when notmuch starts up; by default this function does nothing but if the user replaces the file by the "proper" one from contrib then this will setup key binding for the various entries to notmuch-pick. --- emacs/notmuch.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index fabb7c0..2d32baa 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -58,6 +58,7 @@ (require 'notmuch-hello) (require 'notmuch-maildir-fcc) (require 'notmuch-message) +(require 'notmuch-pick) (defcustom notmuch-search-result-format `(("date" . "%12s ") @@ -1032,6 +1033,7 @@ current search results AND that are tagged with the given tag." (defun notmuch () "Run notmuch and display saved searches, known tags, etc." (interactive) + (notmuch-pick-init) (notmuch-hello)) (defun notmuch-interesting-buffer (b) -- 1.7.9.1