Re: [PATCH] improve notmuch-hello layout

Subject: Re: [PATCH] improve notmuch-hello layout

Date: Sat, 22 Jul 2023 15:19:11 -0300

To: Rudolf Adamkovič, notmuch@notmuchmail.org

Cc:

From: David Bremner


Rudolf Adamkovič <salutis@me.com> writes:

> ---
>  emacs/notmuch-hello.el | 22 +++++++++++++++++++---
>  1 file changed, 19 insertions(+), 3 deletions(-)
>
> diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
> index 3235f555..f245a7dd 100644
> --- a/emacs/notmuch-hello.el
> +++ b/emacs/notmuch-hello.el
> @@ -383,6 +383,10 @@ supported for \"Customized queries section\" items."
>  (defvar notmuch-hello-first-run t
>    "True if `notmuch-hello' is run for the first time, set to nil afterwards.")
>  
> +(defvar notmuch-hello-scheduled-to-run nil
> +  "True if `notmuch-hello' is scheduled to run during the next
> +re-display, and set to nil afterwards.")

The control flow here is already pretty complicaed. I hope that we can
simplify it (drop use run-at-time) before adding any more features.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: