unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Alexander Adolf <alexander.adolf@condition-alpha.com>,
	notmuch@notmuchmail.org
Cc: Pierre Neidhardt <mail@ambrevar.xyz>
Subject: Re: wish: notmuch-emacs: notmuch-poll-and-refresh-this-buffer should use progress-reporter
Date: Thu, 28 May 2020 19:53:24 -0300	[thread overview]
Message-ID: <87v9kf1xjv.fsf@tethera.net> (raw)
In-Reply-To: <1cc0351466ff5dfe56452f49ce9719f8@condition-alpha.com>

Alexander Adolf <alexander.adolf@condition-alpha.com> writes:

> Dear notmuch developers,
>
> when notmuch-poll-and-refresh-this-buffer is invoked (e.g. by hitting
> "G"), the triggered operations may take some time (e.g. due to accessing
> multiple IMAP accounts with mbsync). During this time, the Emacs UI is
> essentially frozen.
>
> To give the user a visual clue that something is happening in the
> background, and Emacs has not crashed, it would be great if a progress
> indicator could be shown. See e.g. the Elisp manual `(info "(elisp)
> Progress")', or [1].

I don't use this functionality, but Pierre mentioned making the fetch
asynchronous, and provided a patch to try out in

      id:875zehszdp.fsf@ambrevar.xyz

Maybe working on that would be a better use of effort?

d

  reply	other threads:[~2020-05-28 22:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 16:01 wish: notmuch-emacs: notmuch-poll-and-refresh-this-buffer should use progress-reporter Alexander Adolf
2020-05-28 22:53 ` David Bremner [this message]
2020-05-29 12:57   ` Alexander Adolf
2020-05-29 16:31     ` Pierre Neidhardt

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=87v9kf1xjv.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=alexander.adolf@condition-alpha.com \
    --cc=mail@ambrevar.xyz \
    --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).