From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 3F3886DE0C69 for ; Thu, 6 Oct 2016 07:59:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.003 X-Spam-Level: X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[AWL=-0.127, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eVWutE0LFDNN for ; Thu, 6 Oct 2016 07:59:56 -0700 (PDT) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id CE8B76DE0BF6 for ; Thu, 6 Oct 2016 07:59:55 -0700 (PDT) Received: by mail-wm0-f66.google.com with SMTP id b201so3932172wmb.1 for ; Thu, 06 Oct 2016 07:59:55 -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; bh=fTDCUREHImmzbUlULDhSkRoNzDEXCUCTwCrTOy32nLY=; b=qDd6sCfkhx6nEtCWC0T88ylKk3HLIw0bcbyI56IwtN9mGP8UkEIA33WbvgDAGbqFX7 hLnSMz4spGuOnsbw2KgWmqjKjIOU2CMEOf+IsXwa4qw4Rp/HUlJgtBwn5s/bj3UJ+Edt fR+yEfLh9AcP6H+3zR880VoQ8UN6ddFZ+IQi8H03p0mIT1uoaOoK+sEcVCv2TJwDVZNo AaCTeE7WfKO8EYmm6tpmueEJocWVCFJWTrxEUrc254NrIpX/RnS+DRc/NlrVIrVl6I2d viYGNb5M8sQ7KIuBPGQUSrhA4QrePp84L7NAVcRoTHBCUqOLv4ePf/+sgRZ26uqJlZ9H W8aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fTDCUREHImmzbUlULDhSkRoNzDEXCUCTwCrTOy32nLY=; b=JAquLUQup/WtzwUmJkXxlJa3tzNdmjzuvdwQQe46cyf+ID9Ci+L3RoYaHzXPMlK+16 LGYir8ijjaHc7ksUdJErKtD6ky+cJU0oD3pZXvSCIeXkm/kzL4c5TGpgVMHvbBX6gp36 gkmnmv7rIf0EVBraSU8aQKTlpCvJlVmf4ne8Gd8p+bbYSm5X+sRYrb1yPhPxitwZwaHM vBsryS5yaebcB8ZWJxFqy4Pr/5TdMSOQ5rYj6Y5OZzN9rs4Nykuyr9x2fyoiMOeiFSlT FU4xFvTTZdhjER5TtMzftBiMLBN283ZZExNMrKCs0QSlT+8PW9XxPSscY7VM2rBoy/ko oNBA== X-Gm-Message-State: AA6/9RkaE68H6T42W2+RbE23Nk+26z4VY4Ie5QV7U3Rtegd9LECC1SFPH5MWqI0M5Aol0w== X-Received: by 10.28.14.16 with SMTP id 16mr6841806wmo.126.1475765993670; Thu, 06 Oct 2016 07:59:53 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id l3sm14950811wjp.17.2016.10.06.07.59.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Oct 2016 07:59:52 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 1/2] emacs: tag-jump: make k binding for the reverse tag change map Date: Thu, 6 Oct 2016 15:59:49 +0100 Message-Id: <1475765990-15031-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Thu, 06 Oct 2016 14:59:57 -0000 Currently, by default k invokes the tag-jump menu, and following it by r invokes the reverse tag change jump menu. This is awkward to type (e.g. k r u for undoing a -unread change). This changes it so that k followed by k invokes the reverse menu. --- There has been discussion on irc and reasonable agreement that this is more convenient. This patch can be applied on its own, or with the second patch. Since it is relatively hard to configure the internal binding to jump to the reverse tag changes it might be worth applying. Alternatively we could have a defvar variable that specifies the key, so a user can configure it if they want. Since the first patch changes default keybindigs it is probably worth applying that one soon, and then considering what, if anything, to do about the second. Best wishes Mark emacs/notmuch-tag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index 49662c2..36a498d 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -523,7 +523,7 @@ and vice versa." (push (list key name-string `(lambda () (,tag-function ',tag-change))) action-map))) - (push (list "r" (if reverse + (push (list "k" (if reverse "Forward tag changes " "Reverse tag changes") (apply-partially 'notmuch-tag-jump (not reverse))) -- 2.1.4