unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: hello: tell the user about help and notmuch customization
Date: Sat, 13 Feb 2016 12:42:33 -0400	[thread overview]
Message-ID: <8760xs8sue.fsf@zancas.localnet> (raw)
In-Reply-To: <1450026221-23286-1-git-send-email-jani@nikula.org>

Jani Nikula <jani@nikula.org> writes:

> 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)))))

Unfortunately this breaks some tests.

d

      parent reply	other threads:[~2016-02-13 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-13 17:03 [PATCH] emacs: hello: tell the user about help and notmuch customization Jani Nikula
2016-02-07  9:17 ` David Edmondson
2016-02-13 16:42 ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760xs8sue.fsf@zancas.localnet \
    --to=david@tethera.net \
    --cc=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).