Re: [RFE] Call `gpg --recv-keys` asynchronously

Subject: Re: [RFE] Call `gpg --recv-keys` asynchronously

Date: Tue, 28 Feb 2017 16:17:37 -0800

To: Steven Allen, notmuch@notmuchmail.org

Cc:

From: Daniel Kahn Gillmor


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

Thread: