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
Location of email addresses #1401
Comments
You canb use (setq mu4e-compose-complete-ignore-address-regexp
(concat "\\(?:no-?reply\\|.*\\.unwanted\\.domain\\.com\\|"
"unwanted.email@domain\\.com\\)")) |
Note, mu4e doesn't really have a "Contact database", it just provides auto-completion of e-mail address that were seen before. But indeed, as @Chris00 mentions, you can filter them. |
For (2), you may want to write a script periodically runs to generate a Maybe, one could provide a standard hook as sources of addresses? @djcb Any opinion on this? |
@Chris00 I tried the regular expression approach. My regex selects the target address in a plain-text file with Nevertheless, this approach will be obsolete with version 1.4 (unreleased as of this writing):
@Chris00 The BBDB option looks promising. Have you adapted the code to provide a new source of addresses to mu4e? @djcb As in the next version contacts will be stored in the Xapian database, can users insert a new contact into that database? |
On 3 June 2019 at 18:16 CEST, miguelmorin ***@***.***> wrote:
@Chris00 I tried the regular expression approach. My regex selects the
target address in a plain-text file with re-builder, and I also see
that its value is set right with C-h v. Yet, mu4e still auto-completes
the address.
I find that strange, I can guarantee that setting `mu4e-compose-complete-ignore-address-regexp` works here. You restarted mu4e, right?
Nevertheless, this approach will be obsolete with version 1.4 […]
I suspect that the method will still work because `mu4e~fill-contacts`
is called when receiving new contacts.
|
@Chris00 It worked by restarting Emacs to force a restart of I would still like to add contacts directly to the database. Maybe that will be easier with 1.4 and the Xapian database. |
On 5 June 2019 at 18:31 CEST, miguelmorin ***@***.***> wrote:
I would still like to add contacts directly to the database. Maybe
that will be easier with 1.4 and the Xapian database.
I wonder if a better way to proceed is not to add the addresses declared in ~/.mailrc to be available for completion. IMHO, it would be nice to also see the aliases themselves in the completion list.
|
@miguelmorin: as before, a trick is to create a message with all the desired contacts (perhaps with a date in the far future). If mu could add some API for that? Perhaps. |
@djcb I just tried that trick with the |
I second this demand. My contacts DB is more and more poluted with typos and changed emails. It would be realy nice to be able to clean things up (I'm using 1.5.3) |
I accidentally sent an email to a wrong address once, and now it shows up in my contacts. Based on the above, I thought I could remove that contact if I delete the message that contains this address (so that mu returns no messages when searching for that address). But the auto-completion still shows that contact. How do I make sure that this address is deleted? Related: How do find all possible messages that contain that contact so I can delete them? I tried "mu find "address@mail.com" |
Expected or desired behavior
(1) I would like to delete the email address of a contact who changed addresses. (2) I would also like to sync the location of mu4e's email addresses with the database in Contacts.app.
Actual behavior
(1) The first email address that auto-completes is the old address. (2) New addresses that I add in Contacts.app are not seen by
mu4e
.Versions of mu, mu4e/emacs, operating system etc.
mu (mail indexer/searcher) version 1.0
Emacs: 26.1 (9.0)
macOS Mojave
Any other detail
I asked on Emacs StackExchange with no answers.
The text was updated successfully, but these errors were encountered: