From 644e10c4a921972fa06e036a9c52718ae900257c Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 13 Dec 2015 19:03:41 +0200 Subject: [PATCH] [PATCH] emacs: hello: tell the user about help and notmuch customization --- 3a/b85d845f8d1ad5883afb8d8753a33e80cb5bf5 | 104 ++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 3a/b85d845f8d1ad5883afb8d8753a33e80cb5bf5 diff --git a/3a/b85d845f8d1ad5883afb8d8753a33e80cb5bf5 b/3a/b85d845f8d1ad5883afb8d8753a33e80cb5bf5 new file mode 100644 index 000000000..5b488a198 --- /dev/null +++ b/3a/b85d845f8d1ad5883afb8d8753a33e80cb5bf5 @@ -0,0 +1,104 @@ +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 64C8A6DE02CE + for ; Sun, 13 Dec 2015 09:04:32 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.539 +X-Spam-Level: +X-Spam-Status: No, score=-0.539 tagged_above=-999 required=5 tests=[AWL=0.181, + 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 6Re_9zFYil-C for ; + Sun, 13 Dec 2015 09:04:30 -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 0D0836DE0231 for + ; Sun, 13 Dec 2015 09:04:30 -0800 (PST) +Received: by mail-wm0-f52.google.com with SMTP id p66so15705757wmp.0 + for ; Sun, 13 Dec 2015 09:04:29 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nikula-org.20150623.gappssmtp.com; s=20150623; + h=from:to:cc:subject:date:message-id; + bh=jVHB0bVQN+KPkYEuw7s0cUJH1W8RVIIZuF4Goo+pI9I=; + b=OlXQtgwUV7hZZ+8KhixQe4SQ4XXmkVleJRxiGXqM9iCEwrJzH8SegFjnQf3+ptZokY + gzMk2i7roAVDfsD56r5Mvwz+snVfaKxoLSKP0NWM8ZhH4SdvL7W3geiCVJmH35Qe1+d8 + 52GLet7wA51zqc38v/ZYvjDJabhmI+ApZFZdaCEGwDYPya9Hc9q6vJQg5elTHw+RiJ1F + F042q+KxQLo80PCgPHXNXq2UJfEDRXI+GRSCPmGPheMfX+9DuIRTjHm6E4P7TeR0RQ7w + DbeuhfmcKGxqnVX2DH47SR+cfIkqqaaxp3K9WjvpLG2LIiunZERnPNPpWLnF22fkkVFy + 7wnw== +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=jVHB0bVQN+KPkYEuw7s0cUJH1W8RVIIZuF4Goo+pI9I=; + b=iL6FC7yDyy1gLg6ZnloRLIP6FFiodKmjV+7VxH15+WRV66F1krgwo0unDxEfMICnvL + 8oyx/8s4O47qx4tMQ2OOkczM3eLL2kE/rAgD8b8N7IcIHkEs/vYv/iDBd5FMHeJeDTYW + Pnb5F6E36hTAsVdF9l9HnNoZpdhlQ5W3+d9LYVEtQfQN1fJHKGyXvBZf8KpoHQbWpJty + /3lEKnh+lE9EaXN2qmd1AqGGnJxEZOfRPWkUj1/WtNqanVkxR/u0e0v4sSoEDghJhU5b + HMj1540EiTldS5ugotXDklbbkE6dPZeGoElOVaATl5QCYNnIOQ9e93oNegb7PM+cYZ7S + 5fWQ== +X-Gm-Message-State: ALoCoQmf3hJigiffN0RlZYtuAd1ytUH67unV+r9aC7+LHgQYmms/3fNoRb8ZgfsU2HuIMXTWeYCG9soS9EJFToon3R9E+RlEkQ== +X-Received: by 10.194.112.131 with SMTP id iq3mr32437943wjb.35.1450026268016; + Sun, 13 Dec 2015 09:04:28 -0800 (PST) +Received: from localhost (mobile-access-bcee05-14.dhcp.inet.fi. + [188.238.5.14]) by smtp.gmail.com with ESMTPSA id + jz1sm25923651wjc.27.2015.12.13.09.04.27 (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 13 Dec 2015 09:04:27 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs: hello: tell the user about help and notmuch + customization +Date: Sun, 13 Dec 2015 19:03:41 +0200 +Message-Id: <1450026221-23286-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 2.1.4 +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, 13 Dec 2015 17:04:32 -0000 + +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 + -- 2.26.2