From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4NpfHCsT0F4cdwAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 19:38:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6CJQGCsT0F6zPQAA1q6Kng (envelope-from ) for ; Thu, 28 May 2020 19:38:19 +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 BEFCA940367 for ; Thu, 28 May 2020 19:38:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6322D6DE0E92; Thu, 28 May 2020 12:38:13 -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 z0Ta_6sIrK6f; Thu, 28 May 2020 12:38:12 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id F37FB6DE1040; Thu, 28 May 2020 12:38:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 23B026DE0F96 for ; Thu, 28 May 2020 09:09:55 -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 ADFNvp8sY1TX for ; Thu, 28 May 2020 09:09:53 -0700 (PDT) X-Greylist: delayed 504 seconds by postgrey-1.36 at arlo; Thu, 28 May 2020 09:09:53 PDT Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [134.119.228.97]) by arlo.cworth.org (Postfix) with ESMTPS id BAB236DE0F88 for ; Thu, 28 May 2020 09:09:53 -0700 (PDT) Received: from [46.244.209.182] (helo=condition-alpha.com) by smtprelay07.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jeKyC-0002Qk-1L for notmuch@notmuchmail.org; Thu, 28 May 2020 18:01:24 +0200 Message-Id: <1cc0351466ff5dfe56452f49ce9719f8@condition-alpha.com> From: Alexander Adolf To: notmuch@notmuchmail.org Subject: wish: notmuch-emacs: notmuch-poll-and-refresh-this-buffer should use progress-reporter Date: Thu, 28 May 2020 18:01:23 +0200 MIME-Version: 1.0 X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= X-Mailman-Approved-At: Thu, 28 May 2020 12:38:09 -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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: 0.49 X-TUID: +LYtId7etXiY 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]. [1] https://emacs.stackexchange.com/questions/36926/animated-progress-indicator#answer-37041 Many thanks and looking forward to your thoughts, --alexander