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 AF1EA429E3C for ; Fri, 5 Jul 2013 11:12:35 -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 i1jNs6wC4X9P for ; Fri, 5 Jul 2013 11:12:30 -0700 (PDT) Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 0295B431FBD for ; Fri, 5 Jul 2013 11:11:49 -0700 (PDT) Received: by mail-ea0-f178.google.com with SMTP id l15so1651476eak.9 for ; Fri, 05 Jul 2013 11:11:48 -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=SNhOy0XIAIv2MndcVsE3JYr+XNapWgcN2KXrPkOV3HI=; b=WqrOFN793dY2RjUvLmbmy1Ja961ZXoA4Cw4Z7k6jOy6oxP9gAI4RaOpbuCsMfehKyZ LbDKWgq+0Uq1UkAg8sHehDX95rnh2GbN5EoVYEoEkX12NHD2umHCD6KTvZDL+zf1N8n/ 0wUqUt8Aah3Lz+uSLhn/OqnSFPEJUMJIXd4ueRlLRkpTzKDv9DToluotX491nX8cYD6o OZek41uGGiRon6nUPvubnOjy4aq4PCEeakUBBfCpMdkA30Vp2y9E+Kzip7Ff+gGmyCam KfE+2DlQsgpzSZAnNVDh5ii2UXfr7TSFYMf1UG80ee518/799RHqupbRmWnkHx2E1sbf FmLw== X-Received: by 10.15.34.77 with SMTP id d53mr13346671eev.95.1373047908874; Fri, 05 Jul 2013 11:11:48 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id a4sm16049655eez.0.2013.07.05.11.11.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 05 Jul 2013 11:11:48 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 09/11] contrib: pick: make help close the message pane first Date: Fri, 5 Jul 2013 19:11:16 +0100 Message-Id: <1373047878-20822-10-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:36 -0000 Previously pressing "?" for help when the message pane was open meant the help window was very small. Close the message pane before displaying help. --- contrib/notmuch-pick/notmuch-pick.el | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 4ad6ef6..c3c8b20 100644 --- a/contrib/notmuch-pick/notmuch-pick.el +++ b/contrib/notmuch-pick/notmuch-pick.el @@ -235,10 +235,12 @@ FUNC." (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)) + ;; bindings from show (or elsewhere) but we close the message pane first. + (define-key map "?" (notmuch-pick-close-message-pane-and #'notmuch-help)) + ;; The main pick bindings (define-key map "q" 'notmuch-pick-quit) (define-key map "x" 'notmuch-pick-quit) - (define-key map "?" 'notmuch-help) (define-key map "a" 'notmuch-pick-archive-message-then-next) (define-key map "=" 'notmuch-pick-refresh-view) (define-key map "s" 'notmuch-pick-to-search) -- 1.7.9.1