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 ms5.migadu.com with LMTPS id WA0wKSIm5WKrQwAAbAwnHQ (envelope-from ) for ; Sat, 30 Jul 2022 14:37:54 +0200 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 MAMXKSIm5WIBFQEAauVa8A (envelope-from ) for ; Sat, 30 Jul 2022 14:37:54 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 5E7772DEA6 for ; Sat, 30 Jul 2022 14:37:54 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A8A2E5F381; Sat, 30 Jul 2022 12:37:51 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 74D8A5F379 for ; Sat, 30 Jul 2022 12:37:48 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id B28FE5FBC0; Sat, 30 Jul 2022 08:37:47 -0400 (EDT) Received: (nullmailer pid 2393967 invoked by uid 1000); Sat, 30 Jul 2022 12:37:46 -0000 From: David Bremner To: Alexander Adolf , notmuch@notmuchmail.org Subject: Re: [Emacs] Using notmuch-address with EUDC, and completion-at-point In-Reply-To: <8a437e3f646f7972c86c4aae57ae7452@condition-alpha.com> References: <8a437e3f646f7972c86c4aae57ae7452@condition-alpha.com> Date: Sat, 30 Jul 2022 09:37:46 -0300 Message-ID: <878roa7p45.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: AVAD2KWYS252PGVCB4P23ELONKMOUCNC X-Message-ID-Hash: AVAD2KWYS252PGVCB4P23ELONKMOUCNC 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=1659184674; 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=73neTOyxTfNlQewqhg5eZER4KdJEVFzT9NhMGHV4ktw=; b=PYc9YPlibjoxdG2hJuU/J450An7Of7qPkbN86JDELTRQGDt/XLrF7F1cIiN2HkCUa6TNxF gHwB8tw3GMiEI7PRg4BbmsvtHWcEUAbkCI5cKshGbvyCZbhoMdZy2n9dB1h4n0jeHDzKbH WyyHU0ClEknQ6alqfpe6ZoexDJ5Dg8PaE0cLb8mBSoUNaRPFRx6xq/KzzWom5m8wpoRhTm Pzn1QSNN5Fg8Lfp8CVQ4wb5E4xq6sILAzbzRpB1qdfCfJGGwaxeJCgvhMgm1yzDV7w9xQY pIk9Z4IV/t4Urrn94bP2Hw5z3FJlOsi2RGa5uVD9lmOT6wLOhnD4BmxElXPiag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659184674; a=rsa-sha256; cv=none; b=udBBTdG5iRV9DAyouJLiQP6XLMBUOgRZawcixlGhdhzR4b/ciMzNbcPAZsCbn3W6xs3FZd Svz8S+3PZ47SHS4y+oVERpItcCu3dv4HzVn3rVPpu54ZcGNd/W9qqgsWBHHDLwLpnQJPTa R3E2IXIvgzgnWYcHBs6alKObMYpP+rRJPevZuDCtMsIDGu2mz2f/NpPY0ZRbV1MsHHT4i6 BlIqTdMwRO9jBk5cLL/NsKQ1deIl8USYQJ4xFdgTjAz5YzoWy58oRUqt+toehfyNbQh1ST WFQJFbnOBpd+Pjb+s5s3kKv15p55Jbb5f9CYuVsGvXjWON/TqkYovrbUqHer+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5E7772DEA6 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1mhXzIp/WE3d Alexander Adolf writes: > As I wanted email address completion via completion-at-point in > message-mode too, I implemented a new EUDC function to go into > completion-at-point-functions [3]. > > [1] https://company-mode.github.io > [2] https://github.com/minad/corfu > [3] https://github.com/emacs-mirror/emacs/blob/master/lisp/net/eudc-capf.el > I will have to leave to others to test this, since I'm personally still running emacs 27 (and that is likely to continue for a while, at least on some machines). > To close the loop, I also wrote an EUDC back-end to get candidates from > notmuch-address (which attached). Is this something that you think should be included with notmuch? If so, is it testable without requiring any extra packages? d