Live data from Hacker News

Setting up Gmail in Doom Emacs using mbsync and mu4e

erichgrunewald.com

21–30 of 50 posts

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#21
post #11

Earlier quoted context omitted.

I am proficient with emacs, but I've never gotten to the point where org-mode clicks. Any advice?

For me it was org-babel[1] that finally sucked me in. For example, I keep notes of various shell invocations as source blocks. Also various one-off SQL queries. Org-mode tables are surprisingly powerful too. Basically, a lot of things that I used to do occasionally are now contextualized and embedded in my notes. [1] https://orgmode.org/worg/org-contrib/babel/intro.html

And If you name tables in org-mode, you can reference them from shell with some simple functions, e.g. `fromOrg tsv Network.org:[MAC-List]`

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#22

Has anyone switched from Spacemacs to Doom Emacs? Are there special advantages Doom offers that make this switch worthwhile?

I can confirm a lot of what has already been said. I've used spacemacs since 2017, have contributed to it, and have written several private layers for it, such as a custom org layer.

But I switch to Doom emacs literally two weeks ago and I'm never going back. I find doom to be much faster not just startup time but in general responsiveness (one major exception: hitting SPC and waiting for key binding tips to show seems to be much slower in doom than spacemacs). Other than that I found doom to be much easier to configure and much more configurable.

The major selling point for me was that in doom emacs there is much much less ceremony in wrapping a new package in a module, and more importantly it is _easier_ to reuse documentation for those packages because most packages provide configuration examples using `use-package` anyway. My only hangup was less documentation around writing custom modules which took me about a day to figure out (I would advise to just read some of the source code or mimic a module that doom ships with).

YMMV, but if you feel like you've attained a certain level of emacs maturity, I would 100% recommend trying it out. Be prepared that some modules, like the haskell module, don't ship with a lot of keybindings so you'll have to set those up yourself.

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#23

Has anyone here used both offlineimap and mbsync and can speak to how these two compare?

I switched to mbsync from offlineimap about four years ago. I was having issues with offlineimap hanging during sync, as well as slow performance in general.

I switched to mbsync and have had zero issues since. Just set it and forget it.

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#26
post #11

Earlier quoted context omitted.

For me it was org-babel[1] that finally sucked me in. For example, I keep notes of various shell invocations as source blocks. Also various one-off SQL queries. Org-mode tables are surprisingly powerful too. Basically, a lot of things that I used to do occasionally are now contextualized and embedded in my notes. [1] https://orgmode.org/worg/org-contrib/babel/intro.html

And If you name tables in org-mode, you can reference them from shell with some simple functions, e.g. `fromOrg tsv Network.org:[MAC-List]`

That’s news to me. Would you please elaborate?

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#27
post #25
post #24

Would be great if there was an option for those of us that have enabled the "2-step verification" setting for our account. :(

Does https://support.google.com/accounts/answer/185833?hl=en not work?

It is silly, as I think that is disabled if you have "Advanced Protection" turned on. Which... is what I thought they now called 2-step. Seems it is 2-step+?

So, yeah, "Advanced Protection" offerings would be good. Looks like I could make my own app that uses open id to connect?

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#28

Has anyone switched from Spacemacs to Doom Emacs? Are there special advantages Doom offers that make this switch worthwhile?

I can confirm a lot of what has already been said. I've used spacemacs since 2017, have contributed to it, and have written several private layers for it, such as a custom org layer. But I switch to Doom emacs literally two weeks ago and I'm never going back. I find doom to be much faster not just startup time but in general responsiveness (one major exception: hitting SPC and waiting for key binding tips to show see…

You can fix the delay for which key using by modifying the following variable:

(setq which-key-idle-delay 0.1)

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#29

Has anyone switched from Spacemacs to Doom Emacs? Are there special advantages Doom offers that make this switch worthwhile?

I got into to emacs again about six months ago. Having not used it for about a decade, Spacemacs was a wonderful introduction to what is possible in Emacs today. I’ve since moved on to a personal straight/use-package based init with a relatively minimal package set centered on the vertico/embark ecosystem, but I remain fond of spacemacs and still look to it for ideas.

Really, I’m surprised we haven’t seen Prot on the front page here.

Re: Setting up Gmail in Doom Emacs using mbsync and mu4e

#30
post #27
post #25

Earlier quoted context omitted.

Does https://support.google.com/accounts/answer/185833?hl=en not work?

It is silly, as I think that is disabled if you have "Advanced Protection" turned on. Which... is what I thought they now called 2-step. Seems it is 2-step+? So, yeah, "Advanced Protection" offerings would be good. Looks like I could make my own app that uses open id to connect?

This is possible with mbsync. Take a look at Archlinux wiki page for mbsync.
Post reply on HN