New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutt queries and multiple emails #20
Comments
Ah, I see. I'll sort this out ASAP. Thanks for letting me know! |
…just one This is for #20. It seems like this is the way you're supposed to implement this for integration with mutt.
This now works fine in 1.16.0. The only issue is that the first line still returns the total number of contacts and the total number of matching contacts. This doesn't impact the functionality, but may be confusing for some users.
There is 1 matching contact, but ppl is returning emails, not contacts, so there are 2 matching values. I may have only 12 contacts, but I have more than 12 total emails for those contacts. I think it makes the most sense for ppl to report something like:
Or the total number of contacts could still be reported:
|
Agreed. To be completely honest, I simply didn't stop and think about that "one line message" when I was implementing this. I like your first suggestion the most. It gets rid of that vague word "entries" (which I copied from the documentation without much thought), and it's clear what both numbers are about. Plus when you're using this functionality to find email addresses, what you're probably interested in are the sets of email addresses and matching email addresses. Let's run with that. Unless any bugs come up in the meantime, this will be |
I feel like I'm causing a lot of version bumps! |
It's very welcome, man. I'm a big fan of "sweating the little things" when it comes to little details like that "Searching address book" message above. And the feature requests are good stuff too. For a project as esoteric as ppl, it's actually just nice to know that people are even trying it. |
…just one This is for #20. It seems like this is the way you're supposed to implement this for integration with mutt.
Let's say I have a contact
joe
with multiple emails.The Mutt query only returns the contact's first email.
I need the query to return one entry per email so that I can select which address to use in Mutt. Such as:
The text was updated successfully, but these errors were encountered: