From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8F7hOBTBwGHlpgAAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 18:44:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +D96NBTBwGHMMwAAbx9fmQ (envelope-from ) for ; Mon, 20 Dec 2021 17:44:52 +0000 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 A6FCA12C92 for ; Mon, 20 Dec 2021 18:44:52 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D4BA85F704; Mon, 20 Dec 2021 17:44:48 +0000 (UTC) X-Greylist: delayed 55799 seconds by postgrey-1.36 at yantan; Mon, 20 Dec 2021 17:44:46 UTC Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 624085F700 for ; Mon, 20 Dec 2021 17:44:46 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id E99185FC42; Mon, 20 Dec 2021 12:44:44 -0500 (EST) Received: (nullmailer pid 480626 invoked by uid 1000); Mon, 20 Dec 2021 17:44:43 -0000 From: David Bremner To: inwit , notmuch@notmuchmail.org Subject: Re: Partial support for sorting the output of notmuch address In-Reply-To: References: <20211219181854.115918-1-david@tethera.net> Date: Mon, 20 Dec 2021 13:44:43 -0400 Message-ID: <878rwfmar8.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: CTMF5BOA37S4QB6IW2RGRYXCMJPEYPVF X-Message-ID-Hash: CTMF5BOA37S4QB6IW2RGRYXCMJPEYPVF 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-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640022292; 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=IJS6sfEaVRkH+p6pHLio3mOxxJ0xF3v8EW39vfyh300=; b=kOFzPc0nsxndRXiLYoy0aEx/MGXdfY7u6fh9b4Edti3kU6tb1QBETq8RjnBdNqV4zAxfeE RjLIzPKn18dYDb4oh8fWWywx9BIE/fCMGs4+3oOIefHd156fbxUve2XtCSp4UWrJk06cm1 sNDMW1MZ4yDYZRCPVYAtZ4GnPErxfb38zse2FoANzlWMH8003YJ3hSbkH8ytfCGye7XHoT MkOUxFRHyaW40ri7h0w3TDegj7vPOq9h9m2I8ygbleqpIW/uHVVbE+VjGFcgUr17iqwh/v tKQCgJzixPBesSWnoDTxa5jn4ys1pFrEIr27iKkBsWx+BkMbx6HrQ/kpClUjOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640022292; a=rsa-sha256; cv=none; b=UCLRLrg8BA7ohxeg4sN4kZM31ekDe/bSIXNYa5eS/0/fr51iucyu17Hl8xd5CVgBoGY1Qc onLD3+djTj+3TR97Wboxcs+YIiXrGmqXwgVaIuTCenkXoL4ejvKmko41Z3RlGE0G0KKlCT fMawlwTXKbY1K32REpJxm4292aRG8IG5FmJ8Sc4iMimvKXius5JVxb0jqPNLzwOwn6ZYhQ VoyeXkiXgWWDR7HWkzHkIFOVmuHj8qrpzluUXtPRBHvBqVqoJMGGuKCpgPI+DqOmEuH6fX v3/dddgDVvcDUxIt43FJogY6utXO9GwzD2KiXC4D8pwlLAmc3duOulB2PO1UGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=fail (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org does not designate 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=fail (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org does not designate 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: A6FCA12C92 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: IyxTDJhI+o3l "inwit" writes: > On Sun Dec 19, 2021 at 7:18 PM CET, David Bremner wrote: >> One of the annoyances with notmuch-address (and motivations for various third >> party work-a-likes) is the fact that it does not output data in (descending) >> frequency order. > Thanks, David! For those of us using company-prescient.el in emacs, this is not > really necessary. In the case of email addresses, I guess one could argue that > the responsability for sorting could be of notmuch, but this works for me so > far. Sure. I'm just intesterted in bringing notmuch-address to rough feature parity with some of the third party alternatives, particularly for command line use. > In any case, prescient's 'frecency' approach is better imho than frequency only. Yeah, I can imagine that would be an improvement.