Re: [PATCH] emacs: hello: display jump key next to saved search when available
authorDavid Edmondson <dme@dme.org>
Tue, 9 Feb 2016 20:42:56 +0000 (20:42 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:03 +0000 (16:21 -0700)
91/2bd8688954fac4beeae52c00435d76f821fd9a [new file with mode: 0644]

diff --git a/91/2bd8688954fac4beeae52c00435d76f821fd9a b/91/2bd8688954fac4beeae52c00435d76f821fd9a
new file mode 100644 (file)
index 0000000..3bc84cf
--- /dev/null
@@ -0,0 +1,107 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 8A6B96DE14FD\r
+ for <notmuch@notmuchmail.org>; Tue,  9 Feb 2016 12:43:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.099\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
+ tests=[AWL=-0.032, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id MhGlL682FLXy for <notmuch@notmuchmail.org>;\r
+ Tue,  9 Feb 2016 12:43:00 -0800 (PST)\r
+Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com\r
+ [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id 3D79B6DE01D3 for\r
+ <notmuch@notmuchmail.org>; Tue,  9 Feb 2016 12:43:00 -0800 (PST)\r
+Received: by mail-wm0-f42.google.com with SMTP id p63so769684wmp.1\r
+ for <notmuch@notmuchmail.org>; Tue, 09 Feb 2016 12:43:00 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=to:subject:in-reply-to:references:from:date:message-id:mime-version\r
+ :content-type; bh=WxtyB4UHzhwyCCuClyjvzNSRS4vYMU5XwtFs7+vJTOY=;\r
+ b=UZviDIzMz3nVRdqMzaagwqVcerph91By0/A/a2IHs+2Pg9ZQjsPe9KVqWMOmx8HWDN\r
+ mrFWEYbDVQjCFbIhxbjPDJr2AuTL0sbL7O/DGhr/FhWv3EqjFVEM9E3UarlV7yEHoO+I\r
+ dRMwSYdEmEANaH2+BNbZYMr9ibb/WJVUPUMK/VvabTjm8+7o0BGgb2FLRiFjruHBXsi3\r
+ +wxkf2+66LV2rj2cJRl/9zbnjUgYMYocaxzHN5FHWiOJ2ysRRHuTh9w6T1FDvF030ki4\r
+ mfPRDRioR89sDA6pVJI4+S+Ov/CYatTCTf20gc1iDNXpFFYYrgC9oTTkBa33cQ901JuT\r
+ D6lg==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:to:subject:in-reply-to:references:from:date\r
+ :message-id:mime-version:content-type;\r
+ bh=WxtyB4UHzhwyCCuClyjvzNSRS4vYMU5XwtFs7+vJTOY=;\r
+ b=k/t9gxL4HQOANcJwydZI9GQcDHpKtWZM5hyK+JC0C2ibLuU598lCCuJDfE2CKE3jZP\r
+ IAPLbzC6L6+Y7Imos9nTBJV4/zo6z/lm7+u90MUX/vRwlkTYNWvyWF84ehBfktvXwt2y\r
+ pLCfwZRR+9j5n2UYeU6lwBuyd3szeLG1RPWnamX2LukrzkE9Id5LmeOyRjoKt/psCVXS\r
+ 4qARr1gHoj8l5g+HNbNvOfhc/r1kp3czo+cUKpfchWcQSKoa0n/fPOVhyf1O6CvWourC\r
+ XaNtw4s8W/4RuA6GSY//jQ5wXgNjUiXLMzZLVcqC3kpF3ZDMddWT3hee5tiL1HfsgURH\r
+ Ki1A==\r
+X-Gm-Message-State:\r
+ AG10YOQrTLf/zDH/iOuydF9FisE4EwWDozh9xGNWHhEuXoDc1JMQO0FBW961ZD+yloqs8w==\r
+X-Received: by 10.28.86.10 with SMTP id k10mr7140184wmb.28.1455050578684;\r
+ Tue, 09 Feb 2016 12:42:58 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id ka4sm36385945wjc.47.2016.02.09.12.42.57\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Tue, 09 Feb 2016 12:42:57 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id d3bfc8bb;\r
+ Tue, 9 Feb 2016 20:42:56 +0000 (UTC)\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: hello: display jump key next to saved search when\r
+ available\r
+In-Reply-To: <87y4aw3hy6.fsf@nikula.org>\r
+References: <1450031043-24038-1-git-send-email-jani@nikula.org>\r
+ <cunwpqgop0m.fsf@disaster-area.hh.sledj.net> <87y4aw3hy6.fsf@nikula.org>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Tue, 09 Feb 2016 20:42:56 +0000\r
+Message-ID: <m2r3gl399r.fsf@dme.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 09 Feb 2016 20:43:02 -0000\r
+\r
+On Sun, Feb 07 2016, Jani Nikula wrote:\r
+> On Sun, 07 Feb 2016, David Edmondson <dme@dme.org> wrote:\r
+>> On Sun, Dec 13 2015, Jani Nikula <jani@nikula.org> wrote:\r
+>>> Display the shortcut jump key next to the saved search name in notmuch\r
+>>> hello, if one is defined for the saved search.\r
+>>\r
+>> I quite like the idea of this (and Mark's followup), but I wonder about\r
+>> the utility. With notmuch-jump, as soon as I hit `j' a list of the\r
+>> possible keystrokes and the corresponding search is presented, so I\r
+>> don't need to refer to the list in the hello buffer to know what to do.\r
+>\r
+> Much of the point in this was to discuss how to make the UI, and the\r
+> very capable features we have, more discoverable to new uses. Most\r
+> people won't start by reading the documentation (which we don't even\r
+> really have for notmuch-emacs). Keeping the UI uncluttered and clean at\r
+> the same time is hard.\r
+>\r
+> Perhaps promoting the '?' key in my other patch is enough. Perhaps an\r
+> alternative would be to highlight the 'j' key in "Saved searches:\r
+> [edit]" somehow.\r
+\r
+I think the advertisement of '?' is sufficient. We don't provide an\r
+on-screen guide in any of the other modes and (it appears to be emerging\r
+that) emacs tools are providing help for complex sequences of operations\r
+via secondary popups (like notmuch-jump or the magit equivalent).\r