-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add mu4e layer #2514
Add mu4e layer #2514
Conversation
I can vouch that it works without problems. |
Nice! 👍 Looking forward to get this merged. |
Great! Note that it breaks |
@gabrielalmeida Yuck. I think an email client should take priority over using Emacs to control Spotify. Let Spotify be Edit: I've changed mu4e to |
+1
|
👍 |
Thanks for this. If there is any interest in adding some optional g-mail specific functionality to this layer, you can take a look at my config here: https://github.com/cmccloud/.spacemacs.d/blob/master/layers/mu4e/extensions.el |
@cmccloud I will look into borrowing some of your code, or you can pull request if you want direct credit for it. Just the extra evilify bindings for now. I don't need the extra Gmail features myself since I keep email simple (read, delete, save a copy in my org-mode notes if I need to keep it). If others want it then I will take it if they don't interfere with non-Gmail users. Why do you use progn in use-package? |
Spacemacs uses more info here: #2255 I will add it to the conventions. |
Also I'm going to merge this soon so @cmccloud can add some config if he wants. |
@darkfeline Feel free to borrow whatever you like. Honestly I think the best place for a lot of that code might be in the documentation as an example of how to add gmail specific functionality. On the other hand, none of the code will interfere with other mail services, but it may have funny behavior. e.g. adding a /Trash tag instructs g-mail to move a message to the trash - most other services probably wont do that. |
@darkfeline i've refactored my mu4e config to use the new packages.el features if you're interested in taking a look. https://github.com/cmccloud/.spacemacs.d/blob/master/layers/mu4e/packages.el |
I highly suggest to suppress The packages are loaded in alphabetical order so the loading order is deterministic and easy to know in advance. So if A require B then we can use some (EDIT: TL;DR we don't need |
👍 |
Ping @darkfeline |
👍 When this is merged I can add a few nice features that I have collected. Like attaching files using helm. |
(mu4e//map-set account-vars) | ||
(error "No email account found")))) | ||
|
||
(defun mu4e/msgv-action-view-in-browser (msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a built-in function called mu4e-action-view-in-browser
that does this
This should be mergeable as is. I'm a bit hesitant to add anything else since I only use basic email functionality, and I don't want to push any code I haven't tested personally. @syl20bnr Please merge unless you have additional comments, the community can add more features as they see fit. |
@darkfeline It seems like @syl20bnr was waiting for you to remove the Also, the directory structure for layers has changed since this PR was submitted. This layer should now be under This is awesome, looking forward to getting this merged in so the community can build this out further. |
Duh, I forgot about that.
I don't think I've used (As an aside/warning, I did a |
@darkfeline Awesome, thanks for updating. Yeah I don't know what the Shoot, I forgot to mention that @syl20bnr prefers PRs to be a single commit. Could you please squash these commits into one? That should be the last hurdle for merging/cherry-picking this in! Your git moves are good; |
@nwolfe Done. |
👍 |
Bump - I believe this is ready for merge |
👍 for this layer. mu4e is way better than gnus. |
Maybe this is a stupid question, but where is |
|
That's an exercise left for the reader, right? Not something we can hard-code into this layer itself? |
I don't know if the path to |
For OS X it is going to depend on whether the user is using stock emacs or emacs from hombrew. The latter has |
Yeah, not something we can hardcode then. Probably worthwhile to document in the README once this is merged though. |
But then you should add a note in README about it. |
+1 |
Thank you! Cherry-picked in develop. You can safely delete your branch. 🎉 I made some changes in 5f3793a:
I should note that I haven't used this layer so please, those of you who intend to use it let me know if I have messed something up. I will probably try it out in the future. :-) |
Nice, mu4e is now part of Spacemacs. Going to try it. |
Branch for developing mu4e layer for Spacemacs.