From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EE/JDkm10l5PRwAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 19:34:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iC2QCkm10l4rSwAAbx9fmQ (envelope-from ) for ; Sat, 30 May 2020 19:34:33 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B32059402D1 for ; Sat, 30 May 2020 19:34:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 04BE26DE0B64; Sat, 30 May 2020 12:34:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 oRuNJKw5JSJB; Sat, 30 May 2020 12:34:25 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id B4EF06DE09CD; Sat, 30 May 2020 12:34:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id AC3526DE0E92 for ; Fri, 29 May 2020 10:31:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 CnnlMVbDTXY9 for ; Fri, 29 May 2020 10:31:39 -0700 (PDT) X-Greylist: delayed 2472 seconds by postgrey-1.36 at arlo; Fri, 29 May 2020 10:31:38 PDT Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by arlo.cworth.org (Postfix) with ESMTPS id C80106DE0B3E for ; Fri, 29 May 2020 10:31:38 -0700 (PDT) Received: from relay2-d.mail.gandi.net (unknown [217.70.183.194]) by mslow2.mail.gandi.net (Postfix) with ESMTP id B349F3A1103 for ; Fri, 29 May 2020 16:31:31 +0000 (UTC) X-Originating-IP: 78.248.96.161 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A5D374000B; Fri, 29 May 2020 16:31:23 +0000 (UTC) From: Pierre Neidhardt To: Alexander Adolf , David Bremner , notmuch@notmuchmail.org Subject: Re: wish: notmuch-emacs: notmuch-poll-and-refresh-this-buffer should use progress-reporter In-Reply-To: References: <1cc0351466ff5dfe56452f49ce9719f8@condition-alpha.com> <87v9kf1xjv.fsf@tethera.net> Date: Fri, 29 May 2020 18:31:22 +0200 Message-ID: <878shag0th.fsf@ambrevar.xyz> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 30 May 2020 12:34:22 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7949948021773285575==" Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -2.11 X-TUID: tK3AC23+aKZB --===============7949948021773285575== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alexander Adolf writes: > Hello David, > > Many thanks for your swift response.=20 > > David Bremner writes: > >> Alexander Adolf writes: >>=20 >>> [...] >>> 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? >> [...] > > I'm not subscribed to the list, so can't comment on the patch. You can use Gnus (:p) to navigate the list via the Gmane server and reply to any email. > In any case - synchronous or asynchronous - a visual indication of the > process would seem desirable. At least to know that something is going > on, and when it's finished. With my asynchronous suggestion, it's trivial to prompt a message on start and on finish. Then no need for a progress bar :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7RONoACgkQm9z0l6S7 zH/vDQf/bS6ktZJhRYGZRyrT4+TkhFhCmmcPWNQ7Q7CujTnWupvLCoaWDGyBfsOp t5dJJp1bcV80SaYzGtpUuNNvCZDWwYkmn1pTfc94zHCJXVDbexl0NLkRssezaMOw DBPWo+PWU/wuILFRijVBpOYdrxIhK+ir5ip1KaYlSFcTIcItLYr2CqB9pX2pp0Ms Tsy+ut1IQXr0vbFCPDsWwsgZkqBykN9MJh3udhy1HBK5sTv6zfHrlVxQXS8kKJKp LGoQg7yVA06PJTdGoW7RQDmiyiVdS8b/BaX2w4y/kOtMvIQdwQzQabrBjSXNFbh7 fa/2TEATpoOphLf/mq1bbwV+sUmtNQ== =Ugkb -----END PGP SIGNATURE----- --=-=-=-- --===============7949948021773285575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7949948021773285575==--