From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 VrPoCDRrLWIzbAAAgWs5BA (envelope-from ) for ; Sun, 13 Mar 2022 04:55:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QLccBTRrLWIatAAA9RJhRA (envelope-from ) for ; Sun, 13 Mar 2022 04:55:32 +0100 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 D134B23381 for ; Sun, 13 Mar 2022 04:55:31 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4B0835F728; Sun, 13 Mar 2022 03:49:26 +0000 (UTC) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by mail.notmuchmail.org (Postfix) with ESMTPS id 2FEB45F6CE for ; Sun, 13 Mar 2022 03:49:24 +0000 (UTC) Received: by mail-pf1-x434.google.com with SMTP id t5so11374387pfg.4 for ; Sat, 12 Mar 2022 19:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=kUpM4bqHT4hR/ks6akIevvOOIhKp7SojvLLX48Bj8yU=; b=p7bk4OjJrcgoYIe1FaIBQUSM+omr4v4OFFXvRTncBWK55Ao2p2IvevrvPlhsI60Y9T LN6X9WmAL//8x/hOjAwPrY1OsR1vAU0NZVTGUuxKQGR5Z57YOp9ncF02SHK1W95m5Dg7 E53bAYUL0uOPdTYT4bbmXVSWNPwW7D/cHejOhCV5NqFDKN+WlX/K8TTX2cHLufZSJ8HT gEaizBAY2tXtamp+fmV+wXwuD+7Rcz/EDBta2hXflBD8Ak+ZYtQxUtwo0MTJdG8Fbyuz u1tpt0KUbZDzkCFvgM/ZILP3exr5v5zXpmnkNpW2QLn/n5lrBL7M5s6ZWidoHhEHLMR7 3Daw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=kUpM4bqHT4hR/ks6akIevvOOIhKp7SojvLLX48Bj8yU=; b=R+jv/iDtn3rhCrtVmK13qo+4UyxMnbvS6UnuR3Z+zhiGTJ1MGuAUJPV+KcRBtmnwIJ RgJ/GsCl2YaccTXRm0oAthsUZNbhACv5HwoWfiaVSr9pUiqnqFSFBrwjmAoZpDGJ+u27 LHQvp0tMAtQcvaxFblT4AZNMS4NGgJjDjoa68PsucMbuLY8HE9reHM6wMVMQVPvq6UPA RUj9A7rIA6sHC5wAfoWixWFOYy4GR/uj2LWujuRXmfZKZVERI2HYK0d5K4I8I1P3hmf5 icfdkt2P42Ep8j5jIUNF0SIHv8y75xT+SOy8gtzA9DjkySVcKG7VzPlQmfGAjdTnU+77 JSkg== X-Gm-Message-State: AOAM533UwLfGAkNCcWwM2I4j3GlKbEJu/S7RLfjsFkDnyH1/68Lrwlzy K2zrYni/hqu6G4X0/Cz6QN4= X-Google-Smtp-Source: ABdhPJxPed6QNAppSJrFJ9DJ71coum/ZvivPAa/dXbhZOU3LQJ7ZPfWEdJEvIFSKSAUiIPPPycFN3A== X-Received: by 2002:a63:205c:0:b0:380:a9f7:6caf with SMTP id r28-20020a63205c000000b00380a9f76cafmr15122960pgm.365.1647143362584; Sat, 12 Mar 2022 19:49:22 -0800 (PST) Received: from localhost ([43.230.66.58]) by smtp.gmail.com with ESMTPSA id nn15-20020a17090b38cf00b001bfceefd8cfsm9615967pjb.48.2022.03.12.19.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 19:49:22 -0800 (PST) From: Utkarsh Singh To: Alexander Adolf Subject: Re: [PATCH] emacs: Add more front ends for address completion In-Reply-To: References: <87bkzhbez9.fsf@gmail.com> <115f4649ac25dff4073a32dba70e6db7@condition-alpha.com> <87wnhfjrer.fsf@gmail.com> <871qzfzgic.fsf@gmail.com> <3444ac96512ebdb53fb1faf90a2db263@condition-alpha.com> <87k0d4n8tr.fsf@gmail.com> <87ee3clysa.fsf@gmail.com> Date: Sun, 13 Mar 2022 09:21:34 +0530 Message-ID: <87ee36v7ax.fsf@gmail.com> MIME-Version: 1.0 Message-ID-Hash: W4FYX4CV7UVFOBWZVU5F4552WFHTVWS7 X-Message-ID-Hash: W4FYX4CV7UVFOBWZVU5F4552WFHTVWS7 X-MailFrom: utkarsh190601@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 CC: Notmuch mailing list 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=1647143731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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:dkim-signature; bh=PJEhWV038l2gYTsE27BY0E8ayhZRbXudIg2pG2TQKIg=; b=o6kMHbuZKWK80GKb+sRIRbisX0tA4nutb/6BornQhJRn/d5v7v0M7YEs5kildHoKujkfoU mMQGU459JASiW3ocvxTNTSOr3M1wVX33IHWU5Ex7UvlV3t/0+N+A9BOgzqVl5w5RlQ8QaJ xnb5SKQK+JZajdOhb3DDoFsEM9z2S0HruDN1Vi0QW8p2SYYTyoaU221gHRPBRgOcUo8D8Z Zoa5i8Qbn8eTAB6PhfA/v9MM2R2ftuG5o7KPsaw/M/Rh6i/lCVU04FNAmnXJgLMFBshsqt WzP6DGO6+G4PEO70mCr+cjWldM7HcrozAsQlOCr8Twj044k4s3m9wR7uyMPSrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647143731; a=rsa-sha256; cv=none; b=pNvxr6po1/OYLc3cSlImkztSZ92xUBJx0VVfA/M2c//X2WZMquJMTfMn+9LJZVe52e9JsF 114FB2ETPMeytzr43CanGZf0A6b+xUvBuaBYq9uWR1i4q9A1bxUqswADL+ybc+shZzL0zu 9yQWhXVEbzOAlLTiriueYU566f/o1B4Y9JJ2JnQcItk94qDkQurARCPwZWK7sTkQVLbro+ EYOiHHb0RH9iMWbF1DXQpZNjNEsqYqtVY5ejGXteIB1FwqWlJVWspFfB5PFG/ZS6nEQCv2 8uB2Zryb9fxxhrcthYeHLoHYZhwmYtj7F20qX/eNyLg2Q6d2x1jNDxkB0J0oxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=p7bk4OjJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=p7bk4OjJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: D134B23381 X-Spam-Score: 6.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: jeM9cbo+dnA6 On 2022-03-11, 18:50 +0100, Alexander Adolf wrote: > Utkarsh Singh writes: > >> On 2022-03-08, 16:29 +0100, Alexander Adolf wrote: >> >>> Utkarsh Singh writes: >>> >>>> [...] >>>> `notmuch-address-post-completion-functions'. >>>> [...] >>> [...] >> Although its a general customization option, here its documentation from >> company.el: >> >> `post-completion': Called after a completion candidate has been inserted >> into the buffer. The second argument is the candidate. Can be used to >> modify it, e.g. to expand a snippet. >> [...] > > Hm, that sounds like it would functionally be similar to specifying an > :exit-function property in completion-extra-properties? Great! We can definitely work with this. > And what could be a use-case for this? Honestly, I don't have a use-case. But the goal here is to use standard Emacs API with least amout of incompatible changes. -- Utkarsh Singh https://utkarshsingh.xyz/