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 24B3F429E52 for ; Fri, 5 Jul 2013 11:12:32 -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 xN3E4VJ8h7SV for ; Fri, 5 Jul 2013 11:12:24 -0700 (PDT) Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com [209.85.215.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 04CFD429E3C for ; Fri, 5 Jul 2013 11:11:44 -0700 (PDT) Received: by mail-ea0-f172.google.com with SMTP id q10so1623003eaj.17 for ; Fri, 05 Jul 2013 11:11:43 -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=rSLhG5PTcgNY4QdJOzxpOUmpfFK9rTwa4pHrAErECYE=; b=GNzGrAcAxt2IHIQX0nb6b+ZGMR37lYsisGoKEacXVbq6nD7nhCb/+QJULGDMb2x/O3 4SioB2JgzL0CMQ4IMA0hdFpycC6LnY+7hcgpZSOg4hdd0ZvNjWEXIIdXSu4c24HZ5TtR xoFsZ+M+UyDP6b6lHcRe4NccFgrfcdZx8wnjLdVQ3ieA+kFH8aT2YyZLi/MEZXfP7h+/ QqwtPatnWplxWAnqxxsbxLEMXNh1j2gjM4QgJoCsYvhqCkMZwBV6yzp1azNv1pJI+cAO X2y4GxgrwNm8q8uWC4c7P0Qrw8Tq17g3TCH+NESB84pZ2coXUAyaAxuo6tu7tfwVyNqn mCvA== X-Received: by 10.15.102.68 with SMTP id bq44mr13503376eeb.89.1373047903861; Fri, 05 Jul 2013 11:11:43 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id c44sm15942322eeb.8.2013.07.05.11.11.42 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 05 Jul 2013 11:11:43 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 07/11] contrib: pick: pass tab through to the message pane Date: Fri, 5 Jul 2013 19:11:14 +0100 Message-Id: <1373047878-20822-8-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com> References: <1373047878-20822-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: Fri, 05 Jul 2013 18:12:32 -0000 This makes tab move to next button in the message pane and binds button activate (in message pane) to "/". This means that is easy to toggle hidden parts or hidden citations etc in the message pane. --- contrib/notmuch-pick/notmuch-pick.el | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 775b783..77b257d 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -217,6 +217,12 @@ This function does not give an error if there is no button." (define-key map "v" 'notmuch-show-view-all-mime-parts) (define-key map "c" 'notmuch-show-stash-map) + ;; these apply to the message pane + (define-key map (kbd "M-TAB") (notmuch-pick-to-message-pane #'notmuch-show-previous-button)) + (define-key map (kbd "") (notmuch-pick-to-message-pane #'notmuch-show-previous-button)) + (define-key map (kbd "TAB") (notmuch-pick-to-message-pane #'notmuch-show-next-button)) + (define-key map "/" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate)) + ;; The main pick bindings (define-key map "q" 'notmuch-pick-quit) (define-key map "x" 'notmuch-pick-quit) -- 1.7.9.1