From: Jani Nikula Date: Sun, 7 Feb 2016 10:58:41 +0000 (+0200) Subject: Re: [PATCH] emacs: hello: display jump key next to saved search when available X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8149337cd6e5d9fbbc5a41cfc92a6d432e480e9;p=notmuch-archives.git Re: [PATCH] emacs: hello: display jump key next to saved search when available --- diff --git a/a1/bec5d7df23a55161e076c5d61561b07488df3b b/a1/bec5d7df23a55161e076c5d61561b07488df3b new file mode 100644 index 000000000..2bdd50d1b --- /dev/null +++ b/a1/bec5d7df23a55161e076c5d61561b07488df3b @@ -0,0 +1,102 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 188E56DE0B27 + for ; Sun, 7 Feb 2016 02:59:45 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.549 +X-Spam-Level: +X-Spam-Status: No, score=-0.549 tagged_above=-999 required=5 tests=[AWL=0.171, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 qA7FCJFvhoq1 for ; + Sun, 7 Feb 2016 02:59:41 -0800 (PST) +Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com + [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 6DE2F6DE0B25 for + ; Sun, 7 Feb 2016 02:59:41 -0800 (PST) +Received: by mail-wm0-f52.google.com with SMTP id 128so122086380wmz.1 + for ; Sun, 07 Feb 2016 02:59:41 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nikula-org.20150623.gappssmtp.com; s=20150623; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=wkHlZy74e4xfgqza/dwKAvXDPYwhvg7l8Tvu2x+gEBU=; + b=UfHHAWreR6g/dFw1EcTzniSYfz2RQbB05rnTD31EL8viUH8oGpz5eaikjhfLZLp8MM + 4eAjTckdODwVER8DkfL712hm5mrupAubpV7VN1GrLnvfIm8vrpJ1lKrm8yf98xRbN2I7 + FebPHSupj3i2eay2jET/conBR1s3ZSGkS8GYyj/08QzvbgOXFg1L2wdKH8KANp/V2mHh + IO55LOLh5AsxHov6jqQhsz9d8ITYwOxDpBTry5pJn+xAByyr15wB8G0SXMvPAXh/Wqr6 + YcpJqiU+1GQ94Fk1KsArH1GR5xvErmjdbMOJxNSRhOO4n0vin6m+74vunW0zCtKC8DdK + GY5w== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:in-reply-to:references + :user-agent:date:message-id:mime-version:content-type; + bh=wkHlZy74e4xfgqza/dwKAvXDPYwhvg7l8Tvu2x+gEBU=; + b=AqtivZArLVFOvlH6Ibql70xIh35J0htQV12wnZ5XSvNocjDIlMEp10f0OY4Gynrdho + Hj9wAMRORcTogf8WLZNMwz2LoC2BF+g4tjlhnkqYQHdDowMgxvwWBP4DebqrM0FPcNu1 + u/NsmFXWZcZrjV5rJkteRhixnbuJtIu54Y8Syw+z9sMmIzSyX977HNfPF+nB4A2lklvS + izqJ8IIEU0pJex0i5tFDT1m9/X23ltQmn30jkjU94R24fpqzpQi+uXdUklhq30shNMG7 + jJrF3Ct0ou643fYBJY3Mdb0nZuUnTVnjusuHTeLJ/uae+Tzswvl+eXIjVCyGbCxzpYiC + ID6Q== +X-Gm-Message-State: + AG10YOSHFrOdn0eO9NrphHhpTT4S7n5w/CYMiAJY+gCTvUzvXBEzvLARzi07g8dvAe6wWA== +X-Received: by 10.28.47.23 with SMTP id v23mr25970032wmv.7.1454842779858; + Sun, 07 Feb 2016 02:59:39 -0800 (PST) +Received: from localhost (mobile-access-bcee08-161.dhcp.inet.fi. + [188.238.8.161]) + by smtp.gmail.com with ESMTPSA id t3sm24418609wjz.11.2016.02.07.02.59.38 + (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 07 Feb 2016 02:59:39 -0800 (PST) +From: Jani Nikula +To: David Edmondson , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: hello: display jump key next to saved search when + available +In-Reply-To: +References: <1450031043-24038-1-git-send-email-jani@nikula.org> + +User-Agent: Notmuch/0.21+34~ge1fb729 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 07 Feb 2016 12:58:41 +0200 +Message-ID: <87y4aw3hy6.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sun, 07 Feb 2016 10:59:45 -0000 + +On Sun, 07 Feb 2016, David Edmondson wrote: +> On Sun, Dec 13 2015, Jani Nikula wrote: +>> Display the shortcut jump key next to the saved search name in notmuch +>> hello, if one is defined for the saved search. +> +> I quite like the idea of this (and Mark's followup), but I wonder about +> the utility. With notmuch-jump, as soon as I hit `j' a list of the +> possible keystrokes and the corresponding search is presented, so I +> don't need to refer to the list in the hello buffer to know what to do. + +Much of the point in this was to discuss how to make the UI, and the +very capable features we have, more discoverable to new uses. Most +people won't start by reading the documentation (which we don't even +really have for notmuch-emacs). Keeping the UI uncluttered and clean at +the same time is hard. + +Perhaps promoting the '?' key in my other patch is enough. Perhaps an +alternative would be to highlight the 'j' key in "Saved searches: +[edit]" somehow. + +BR, +Jani.