From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YE6nJz65NWL8nwAAgWs5BA (envelope-from ) for ; Sat, 19 Mar 2022 12:06:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OIssJD65NWIUeQAAauVa8A (envelope-from ) for ; Sat, 19 Mar 2022 12:06:38 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65D053E8AC for ; Sat, 19 Mar 2022 12:06:38 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id ADD875F731; Sat, 19 Mar 2022 11:06:35 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id ED3BF5F719 for ; Sat, 19 Mar 2022 11:06:33 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 61E465FC01; Sat, 19 Mar 2022 07:06:33 -0400 (EDT) Received: (nullmailer pid 1705159 invoked by uid 1000); Sat, 19 Mar 2022 11:06:32 -0000 From: David Bremner To: Preston Miller Firestone <0x504d46@disroot.org>, notmuch@notmuchmail.org Subject: Re: WIP: asynchronous notmuch-poll in emacs client In-Reply-To: <87ee36obxb.fsf@disroot.org> References: <87ee36obxb.fsf@disroot.org> Date: Sat, 19 Mar 2022 08:06:32 -0300 Message-ID: <87tubu42x3.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: VJS4EG3BVDFBFBGBWFZJPWZETWSOTXUV X-Message-ID-Hash: VJS4EG3BVDFBFBGBWFZJPWZETWSOTXUV X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647687998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=1FMCQ6OOrWjV8ZAD+FBlqJfr+oQBpqdf9dOvz1LJBT8=; b=ntwv1ektVegwce3eZtwpE0ZcTeo7gGnHzfeQMxP4t0tjrJr2S3xx1aRM8ae1sVpyce5IYU WTEJH4w8B86nBwuQULacSlIV8qZbyn9uC4WXExQUOwH1T5Gd+Fo8y/WO3K7knMXEtSdLZp anaCPEttBo6DHPY9VLkOJFMVj4Xjku6DEnrySNhiNjrDZ5kRxjE9cq2EnNDGYKa/Ce3wDo tzqf9oJVBRpqWIILkCjPjX89kK17lyq4hnEOrc3gcYzjOgcI5wRtJzz5gDcqb3rxjGw1g2 F/TxC58ES2vut0Mbz9tKZg4Dl0G0RwMwBth3WDKkE0VuueHy5O51rRViF2xyww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647687998; a=rsa-sha256; cv=none; b=FYfnpYk8RqcZ28nB6DHWtxDjnRZAWuh56HOi85PlJucb6RueEenNYdNMU8QSZk4gNrjZcr B0Cc776LrYSgm+VyNe5Y7gktxgQ2Ey11lURg4tNwiGkxLZMjoufWAF4WrNxltw4Uch9ehI 29hLu6MHeH2/SaEmQFHwxOLp6srXe+GcSl2pGKpmiF8hi0OaKWpwX5FQZZWpQyJJCe1fd4 aQeH8KgvfNzYjB5XyifmXajmr/9DCRhTtC/RN62A28sXSR0TPcyFgkYBIg35oFd4MJVhkF lBT3Og83XUkggf8IbxxrEtZ4+Pj7y1UtHWK5LAJTPRVbc388e82XRy+KwCUEdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 65D053E8AC X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: AuAOskW05702 Preston Miller Firestone <0x504d46@disroot.org> writes: > I think that the first two problems can be solved by a more > sophisticated sentinel than the one I'm using here, but I'd love to hear > other people's thoughts. Is there a reason that notmuch-poll is > synchronous? For whatever reason (habit?) I don't use notmuch-poll personally, so I can't offer too much feedback. I do note that it is used in the test suite, so any asynch behaviour probably needs to be optional. d