[PATCH] emacs: hello: tell the user about help and notmuch customization

David Edmondson dme at dme.org
Sun Feb 7 01:17:10 PST 2016


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 at notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list