From 9536747e8d5b4a92482f5a72d84c2bf0c37f708f Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Fri, 1 Nov 2013 09:23:44 +0000 Subject: [PATCH] [PATCH v2 10/11] emacs: add z to common keymap --- 75/d31cbce6a2f6819054d5f6caf341927af4a55b | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 75/d31cbce6a2f6819054d5f6caf341927af4a55b diff --git a/75/d31cbce6a2f6819054d5f6caf341927af4a55b b/75/d31cbce6a2f6819054d5f6caf341927af4a55b new file mode 100644 index 000000000..fd0c8f4e3 --- /dev/null +++ b/75/d31cbce6a2f6819054d5f6caf341927af4a55b @@ -0,0 +1,97 @@ +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 283B8429E30 + for ; Fri, 1 Nov 2013 02:24:19 -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 8JI2RURnVOkD for ; + Fri, 1 Nov 2013 02:24:13 -0700 (PDT) +Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com + [74.125.82.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 5D851431E84 for ; Fri, 1 Nov 2013 02:24:09 -0700 + (PDT) +Received: by mail-wg0-f44.google.com with SMTP id n12so3714468wgh.11 + for ; Fri, 01 Nov 2013 02:24:08 -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:in-reply-to:references; + bh=D0Clpa4grQl38TY8Ld9LVi3WPx3RwfDyTw7iLTDgu3w=; + b=FgSu8wHwwBJkpgcYHWWe7GGiEgiFUDdeZFh23N4L9tJaz6axtw4nmx7mn6Gg8DuBeZ + RCZC9QrkapHo8kPJozXTmLB+orwneBd4SPtnYaIF0PSYWrjMVIFom8gyVwYDigF1qdgM + krNb0LxS82ywK6eikct7rd85xXMzyq85uoCgz0bntHxtHwZmcBNdZ6JN8DeGHEodQCIj + kyBIEqe88qeAfw6KmG6/NujIFqFsMfnSwND3N4bzeadOLrHpDiI4tkry0cZaytGwOpil + c39Q1/1C7dWXln1ghAFcCZtNoVE6yES8tEHgmwF5gf7J+n/xzs9bYNr+vRc+ILJrPp3g + H7tA== +X-Received: by 10.180.10.136 with SMTP id i8mr1531660wib.46.1383297848275; + Fri, 01 Nov 2013 02:24:08 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id j3sm4523944wie.2.2013.11.01.02.24.07 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 01 Nov 2013 02:24:07 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 10/11] emacs: add z to common keymap +Date: Fri, 1 Nov 2013 09:23:44 +0000 +Message-Id: <1383297825-12326-5-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1383297825-12326-1-git-send-email-markwalters1009@gmail.com> +References: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> + <1383297825-12326-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, 01 Nov 2013 09:24:19 -0000 + +Add the main entry "z" to notmuch-tree to the common keymap. +--- + emacs/notmuch-lib.el | 1 + + emacs/notmuch-tree.el | 1 - + 2 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el +index e7c5c97..921ed20 100644 +--- a/emacs/notmuch-lib.el ++++ b/emacs/notmuch-lib.el +@@ -133,6 +133,7 @@ For example, if you wanted to remove an \"inbox\" tag and add an + (define-key map "?" 'notmuch-help) + (define-key map "q" 'notmuch-kill-this-buffer) + (define-key map "s" 'notmuch-search) ++ (define-key map "z" 'notmuch-tree) + (define-key map "m" 'notmuch-mua-new-mail) + (define-key map "=" 'notmuch-refresh-this-buffer) + (define-key map "G" 'notmuch-poll-and-refresh-this-buffer) +diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el +index 78b4a57..c66dd35 100644 +--- a/emacs/notmuch-tree.el ++++ b/emacs/notmuch-tree.el +@@ -919,7 +919,6 @@ The arguments are: + + + ;; Set up key bindings from the rest of notmuch. +-(define-key notmuch-common-keymap "z" 'notmuch-tree) + (define-key notmuch-show-mode-map "Z" 'notmuch-tree-from-show-current-query) + + (provide 'notmuch-tree) +-- +1.7.9.1 + -- 2.26.2