unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Steven Allen <steven@stebalien.com>, notmuch@notmuchmail.org
Subject: Re: [RFE] Call `gpg --recv-keys` asynchronously
Date: Tue, 28 Feb 2017 16:17:37 -0800	[thread overview]
Message-ID: <87shmxrgta.fsf@alice.fifthhorseman.net> (raw)
In-Reply-To: <87poi2vyti.fsf@bistromath>

On Tue 2017-02-28 12:35:05 -0800, Steven Allen wrote:
> Currently, notmuch fetches keys synchronously. This can be *very* slow
> (I fetch keys over tor) and locks up emacs for the duration. Therefore,
> this fetch really should be asynchronous.
>
> Unfortunately, getting this to work well (i.e. not interleave output in
> the `*notmuch-crypto-gpg-out*` buffer) requires a non-trivial amount of
> work.

i agree with you that this should be asynchronous, but my elisp-foo
isn't sufficient to know how to do this correctly.  But i think you've
identified a concrete and useful improvement, fwiw.

      --dkg

  parent reply	other threads:[~2017-03-01  1:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 20:35 [RFE] Call `gpg --recv-keys` asynchronously Steven Allen
2017-02-28 22:15 ` Sebastian Schwarz
2017-02-28 23:52   ` David Bremner
2017-03-01  2:18     ` David Bremner
2017-03-01 16:13       ` Sebastian Schwarz
2017-03-05 11:49     ` Jani Nikula
2017-03-01  0:17 ` Daniel Kahn Gillmor [this message]
2021-05-05 14:01 ` David Bremner
2021-05-05 16:12   ` Steven Allen

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=87shmxrgta.fsf@alice.fifthhorseman.net \
    --to=dkg@fifthhorseman.net \
    --cc=notmuch@notmuchmail.org \
    --cc=steven@stebalien.com \
    /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).