From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A13C76DE0278 for ; Mon, 1 Oct 2018 09:06:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.292 X-Spam-Level: X-Spam-Status: No, score=0.292 tagged_above=-999 required=5 tests=[AWL=-0.150, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dJGSufrSGjl9 for ; Mon, 1 Oct 2018 09:06:37 -0700 (PDT) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by arlo.cworth.org (Postfix) with ESMTPS id 492756DE0274 for ; Mon, 1 Oct 2018 09:06:37 -0700 (PDT) Received: by mail-wr1-f46.google.com with SMTP id q5-v6so8131410wrw.12 for ; Mon, 01 Oct 2018 09:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2rIhYpsjthjcZhIzGJbowlw0HEn4shfEMX8PVm/DGLs=; b=Fuvpn6XDNXmwo3ItWLoOtqoxaO4hjS7z0q7SpTRXsd8ZD1GZLSpNoeQTtjlOX00cxO 5ScVcKZcoS/6JSj/urgm6+l/Hn21n8xTfZ+5t3BXtIurb+OayihYOeJQa46KArJJiXfS djWuWE/nlQk4fhniILZn85PsVUZ3USViyfcMXjNDWKm0migGoLwXgfIE/Of3eQb3Bzs0 4jG0RTb0mMlxPI3kAy1SfMpQ5i6xT7dtKWaQHQT+/bKwLxFgzrc3UGeN/pZVRmeZ18jd WJ9qWfZJFJCCidcA6sAJVs9kz2u9hT5VFCYwHDuZX955HO7qF89V5IqgHHMDRpaNeIVz cDDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2rIhYpsjthjcZhIzGJbowlw0HEn4shfEMX8PVm/DGLs=; b=lKT5mFd+w6Mooob2OQMYI4Hk5tCYMrCpRVLFDhLx+wlkqTlBtAZW9wo2tOi0QLNvIk yDcqWIh1008H4f1PxxDLJNoIA5nuB76LSlL9g21lv3skeGbb6PjrcxEfqbw/99VHXxxi LWsUStXvpbkq3oNN9t1i8AHnyjMoKOHTnmg93a6sfi4H+grrK4vWsdGmFAPXlZbCPf+F UgSqP4AhNrIEoiTH/jkI3BzIRmKyI81sjEEjk1CzNYfKPc9GY5+N3Lxk+Hgq4i4oImpK g42B/yOkUz7USvgOYZ2GFbf0Ak4mJtscH5C/jQknbk4+XPV3nVSbfBwA9Lxe0zl8bfHt Xx6g== X-Gm-Message-State: ABuFfohBv8ggNfe8IJg837APzR2uz4mMuu8bewI1aYFa3dOg/Lp9TWer Ac0bGnpoi3ywRSfDNGYLifIB8Fm9nNpQpQ== X-Google-Smtp-Source: ACcGV60Ki9O5LXYtJJP4cTxGCS5/s757A3+tvatFLAQW6mMfZkSrtKNnTt8Rb2tK1nLPX6pO1LEw+A== X-Received: by 2002:a5d:52ce:: with SMTP id r14-v6mr2468234wrv.123.1538409994972; Mon, 01 Oct 2018 09:06:34 -0700 (PDT) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id t14-v6sm8601422wmi.35.2018.10.01.09.06.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 09:06:33 -0700 (PDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 6d1827eb for ; Mon, 1 Oct 2018 16:06:33 +0000 (UTC) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH v3 0/4] Retrieve GPG keys asynchronously. Date: Mon, 1 Oct 2018 17:06:29 +0100 Message-Id: <20181001160633.26775-1-dme@dme.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 16:06:38 -0000 Retrieve GPG keys asynchronously. v2: - Update the label on buttons when they are used to request asyncronous key retrieval. - Always update the buffer when key retrieval completes, even if the retrieval failed, so that the label is properly re-generated. v3: - Code review comments from bremner: - Fix spelling. - Fix button label. - Update docstring to describe the redisplay conditions. David Edmondson (4): emacs: Asynchronous retrieval of GPG keys emacs: Minor refactoring of crypto code emacs: Add notmuch-crypto-gpg-program and use it emacs: Improve the reporting of key activity emacs/notmuch-crypto.el | 195 ++++++++++++++++++++++++++++------------ 1 file changed, 138 insertions(+), 57 deletions(-) -- 2.19.0