* [PATCH] emacs: hello: tell the user about help and notmuch customization
@ 2015-12-13 17:03 Jani Nikula
2016-02-07 9:17 ` David Edmondson
2016-02-13 16:42 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: Jani Nikula @ 2015-12-13 17:03 UTC (permalink / raw)
To: notmuch
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] emacs: hello: tell the user about help and notmuch customization
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
1 sibling, 0 replies; 3+ messages in thread
From: David Edmondson @ 2016-02-07 9:17 UTC (permalink / raw)
To: Jani Nikula, notmuch
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] emacs: hello: tell the user about help and notmuch customization
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
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2016-02-13 16:42 UTC (permalink / raw)
To: Jani Nikula, notmuch
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-13 16:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).