From: Jameson Graef Rollins <jrollins@finestructure.net>
To: David Bremner <david@tethera.net>,
George Kadianakis <desnacked@riseup.net>,
notmuch@notmuchmail.org
Subject: Re: emacs: How to tab-complete destination email addresses?
Date: Thu, 24 Sep 2020 13:09:05 -0700 [thread overview]
Message-ID: <87pn6b3pjy.fsf@caltech.edu> (raw)
In-Reply-To: <87y2kz3w3h.fsf@tethera.net>
On Thu, Sep 24 2020, David Bremner <david@tethera.net> wrote:
> George Kadianakis <desnacked@riseup.net> writes:
>
>> So I guess this ordering should happen internally in notmuch-address,
>> right? Perhaps as a new type of "--sort" option like "--most-frequent"
>> or "--best-fit".
>>
>> If this is the right way to do it, perhaps I'll take a stab at it over
>> the next days. If it's not the right way to do it, please let me know so
>> that I don't do useless things! :)
>
> there was some discussion about upstreaming some of the features of
> notmuch-addrlookup-c into notmuch-address [1]. I'm not sure what
> happened there, but maybe this helps.
I wasn't aware of notmuch-addrlookup-c as a separate tool, but I just
tried it and it looks like it could be promising. If it has better
address sorting that definitely seems like something that would be good
to pull in upstream.
>> Hmm, I've never used this interface but if you are talking about the
>> "--output" switch I see that they can be combined. So like you can do:
>>
>> $ notmuch address --output sender --output recipients jameson
>>
>> to combine both To: and From:.
>
> Maybe the elisp 'internal' front-end needs to be updated to (optionally) do what
> Jamie asks.
So I don't think these are the right options to consider, but I'm not
sure. If I'm searching for addresses associated with the user
"jameson", I think I *don't* want --output=recipients, since I imagine
that includes all the addresses that "jameson" has sent messages *to*,
which is definitely not what I would want included. But maybe I'm not
understanding. It seems like emacs must be creating a more nuanced set
of arguments somehow...
jamie.
next prev parent reply other threads:[~2020-09-24 20:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 16:00 emacs: How to tab-complete destination email addresses? George Kadianakis
2020-09-23 16:20 ` Jameson Graef Rollins
2020-09-24 17:03 ` George Kadianakis
2020-09-24 17:47 ` David Bremner
2020-09-24 20:09 ` Jameson Graef Rollins [this message]
2020-09-29 19:46 ` Alexander Adolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pn6b3pjy.fsf@caltech.edu \
--to=jrollins@finestructure.net \
--cc=david@tethera.net \
--cc=desnacked@riseup.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).