From fdeaf1093fffcb3ba2383c49c81b9d35675e8fe8 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Sun, 7 Feb 2016 09:17:10 +0000 Subject: [PATCH] Re: [PATCH] emacs: hello: tell the user about help and notmuch customization --- 53/034926df65225cae1d2cb0cacc9fed63d5b042 | 121 ++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 53/034926df65225cae1d2cb0cacc9fed63d5b042 diff --git a/53/034926df65225cae1d2cb0cacc9fed63d5b042 b/53/034926df65225cae1d2cb0cacc9fed63d5b042 new file mode 100644 index 000000000..f565d5f44 --- /dev/null +++ b/53/034926df65225cae1d2cb0cacc9fed63d5b042 @@ -0,0 +1,121 @@ +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 B3D316DE09ED + for ; Sun, 7 Feb 2016 01:17:18 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.079 +X-Spam-Level: +X-Spam-Status: No, score=0.079 tagged_above=-999 required=5 tests=[AWL=0.146, + 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, SPF_NEUTRAL=0.652, + UNPARSEABLE_RELAY=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 eaaeVWvjgH0T for ; + Sun, 7 Feb 2016 01:17:15 -0800 (PST) +Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com + [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id 5B4E76DE0261 for + ; Sun, 7 Feb 2016 01:17:14 -0800 (PST) +Received: by mail-wm0-f41.google.com with SMTP id g62so98003408wme.0 + for ; Sun, 07 Feb 2016 01:17:14 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=dme-org.20150623.gappssmtp.com; s=20150623; + h=to:subject:in-reply-to:references:from:date:message-id:mime-version + :content-type; bh=i13t8YNrc05rbp4VBazGME4/nU7tkqf6u6qDlRaUO/o=; + b=KcAM9TRuflv5PrBf41GGcSDC7exlgw4cU//FLjtlTQkYTcFweWhVN/vaNUZPvVXAMu + /TK/QvNRCZ1957tDevD3iIazQ8nNy2E3yjSHXEzpQS+oxGfdV01xHlMhINyM6T9erBff + hzob4OGGFJomXMUmUPB9Y0Q+5vyShyL+jF6mpVQGMC6OI2v0CYA77Nz9jczkO+qi25lX + Y0dGeH6yhuqAdcoZ73l9vn+k5ntfsT1zwZSlYFGqrMlJGCnlXh4MEK1ZTDhU+rIs4ekX + 5254AWVAa6TEqqURslMWNkt+DjLGYJ/081koJLDZ31RKN9zislWTQZk0iMBPeGzOxC4W + ApsA== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:in-reply-to:references:from:date + :message-id:mime-version:content-type; + bh=i13t8YNrc05rbp4VBazGME4/nU7tkqf6u6qDlRaUO/o=; + b=GA39Hk/iEFldQvEuFaGUYnTgmn8UOhaWxcrcTUmi7UFaO72ZlVD9Voxr0o1p4g/Ay7 + 0skzq79nF7Xe3AKpFMCGC4x9VIAIlavzWc+493eTW3tEykD9OHNVMn9AYt4+i/IeXTv0 + 0yMo4Av2Nnd9Vnx43iXxSpI4y2Vgut0xA14SHDeOTNTQleVteoJRYBMJDDZFmUMpF0rj + L4fgdT11vDn6yh+liui+/E4XbXr5cJOfwvzoBtypjUusU/h1CK+kbdXzGC7aYYuNNc05 + AWsRK5aBtffz4o2GLI24KatMQMn81hXOq1ghzZrIYleDHl7Z5j2XZS2bhEgLrCmK4LA7 + uAOw== +X-Gm-Message-State: + AG10YORBpIOyu5z6q6WVtJyrLA9SH7GmwofhYyej1vRWjfIf4mavRy/29+jRJ1wvQSmN8g== +X-Received: by 10.28.53.138 with SMTP id c132mr26965523wma.93.1454836633463; + Sun, 07 Feb 2016 01:17:13 -0800 (PST) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by smtp.gmail.com with ESMTPSA id az10sm24103004wjc.28.2016.02.07.01.17.11 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sun, 07 Feb 2016 01:17:12 -0800 (PST) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 593fe407; + Sun, 7 Feb 2016 09:17:10 +0000 (UTC) +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: hello: tell the user about help and notmuch + customization +In-Reply-To: <1450026221-23286-1-git-send-email-jani@nikula.org> +References: <1450026221-23286-1-git-send-email-jani@nikula.org> +From: David Edmondson +Date: Sun, 07 Feb 2016 09:17:10 +0000 +Message-ID: +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 09:17:18 -0000 + +This change looks good, seems worthwhile. + +On Sun, Dec 13 2015, Jani Nikula wrote: +> Make it easier for new users to find out about thing in notmuch-emacs. +> --- +> emacs/notmuch-hello.el | 11 +++++++++-- +> 1 file changed, 9 insertions(+), 2 deletions(-) +> +> diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el +> index b42e0f24148a..738baad23b20 100644 +> --- a/emacs/notmuch-hello.el +> +++ b/emacs/notmuch-hello.el +> @@ -915,12 +915,19 @@ following: +> (widget-insert "Edit saved searches with the `edit' button.\n")) +> (widget-insert "Hit RET or click on a saved search or tag name to view matching threads.\n") +> (widget-insert "`=' to refresh this screen. `s' to search messages. `q' to quit.\n") +> + (widget-insert "`?' in each Notmuch screen to display help for the current mode.\n") +> + (widget-insert "Customize ") +> + (widget-create 'link +> + :notify (lambda (&rest ignore) +> + (customize-group 'notmuch)) +> + :button-prefix "" :button-suffix "" +> + "Notmuch") +> + (widget-insert " or ") +> (widget-create 'link +> :notify (lambda (&rest ignore) +> (customize-variable 'notmuch-hello-sections)) +> :button-prefix "" :button-suffix "" +> - "Customize") +> - (widget-insert " this page.") +> + "this page.") +> (let ((fill-column (- (window-width) notmuch-hello-indent))) +> (center-region start (point))))) +> +> -- +> 2.1.4 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> https://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2