Skip to content
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

Fix problems with multi-account setup in mu4e #5458

Closed
wants to merge 1 commit into from

Conversation

aroig
Copy link
Contributor

@aroig aroig commented Mar 11, 2016

Currently, account guessing for mu4e with multiple accounts has several problems:

  • Detection of email in To fields is broken.
  • It misses CC field or From field (replying to oneself)
  • if we are replying and no guess can be made, it fails.

This commit rewrites the guessing function in a more robust maner, so that all the points above are addressed, and if no guess can be made, it just prompts the user asking for an account.

Currently, account guessing for mu4e with multiple accounts has several
problems:

- Detection of email in `To` fields is broken.
- It misses cc field or from field (replying to oneself)
- if we are replying and no guess can be made, it fails.

This commit rewrites the guessing function in a more robust maner, so
that all the points above are addressed, and if no guess can be made, it
just prompts the user asking for an account.
@aroig
Copy link
Contributor Author

aroig commented Mar 12, 2016

I just became aware of mu4e's 0.9.16 contexts, which I am going to use right away! In light of #4836 We can probably throw away this PR then... sorry for the noise!

@StreakyCobra
Copy link
Contributor

Closing as suggested. Feel free to reopen at any time if you change your mind :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants