From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EBkNGngV0V5TCgAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 14:00:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CI/aFXgV0V7ZIwAAB5/wlQ (envelope-from ) for ; Fri, 29 May 2020 14:00:24 +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 7FAD3940981 for ; Fri, 29 May 2020 14:00:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 651DA6DE0F68; Fri, 29 May 2020 07:00:16 -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 2eJPAPm46Cfd; Fri, 29 May 2020 07:00:15 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 0CB596DE0F44; Fri, 29 May 2020 07:00:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B7AE76DE0F44 for ; Fri, 29 May 2020 06:41:21 -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 Wm5k93j7ezmx for ; Fri, 29 May 2020 06:41:18 -0700 (PDT) X-Greylist: delayed 2332 seconds by postgrey-1.36 at arlo; Fri, 29 May 2020 06:41:18 PDT Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.28]) by arlo.cworth.org (Postfix) with ESMTPS id 448916DE0EF2 for ; Fri, 29 May 2020 06:41:18 -0700 (PDT) Received: from [46.244.207.227] (helo=condition-alpha.com) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jeea9-0007qV-6U; Fri, 29 May 2020 14:57:53 +0200 Message-Id: From: Alexander Adolf To: David Bremner , notmuch@notmuchmail.org Subject: Re: wish: notmuch-emacs: notmuch-poll-and-refresh-this-buffer should use progress-reporter In-Reply-To: <87v9kf1xjv.fsf@tethera.net> References: <1cc0351466ff5dfe56452f49ce9719f8@condition-alpha.com> <87v9kf1xjv.fsf@tethera.net> Date: Fri, 29 May 2020 14:57:52 +0200 MIME-Version: 1.0 X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= X-Mailman-Approved-At: Fri, 29 May 2020 07:00:12 -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: , Cc: Pierre Neidhardt 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: -1.01 X-TUID: JUP4jLPuIvAo Hello David, Many thanks for your swift response. David Bremner writes: > Alexander Adolf writes: > >> [...] >> 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. 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. Just my two cents anyway. Many thanks and cheers, --alexander