Skip to content

Instantly share code, notes, and snippets.

@maxminoS
maxminoS / # ifuse-mac - 2021-08-17_18-17-27.txt
Created August 17, 2021 11:37
ifuse-mac (gromgit/fuse/ifuse-mac) on macOS 11 - Homebrew build logs
Homebrew build logs for gromgit/fuse/ifuse-mac on macOS 11
Build date: 2021-08-17 18:17:27
@maxminoS
maxminoS / mu4e.el
Last active February 13, 2021 20:20
Automatic mu4e contexts
;; I wanted to be able to use mu4e contexts without showing my emails in GitHub dotfiles or creating another file to store the email accounts.
;; All email account information can be found in "~/.mbsyncrc", so I decided to work out a way to automatically create mu4e contexts based on all the sync-ed email accounts with mbsync.
;; (This method will not work for people not using mbsync, but the same idea can be applied to achieve the same results)
;; Since this function uses regular expressions to scrape the required data, it has some pre-defined format needed in "~/.mbsyncrc":
;; - "# Account: " is placed on top of every account to indicate different accounts
;; - "# Full Name: " below "# Account: " for the user's name
;; - "# SMTP " below "# Full Name: " needs the SMTP configurations
;; - "IMAPAccount ..." is used as the name of the account context
;; - "User ..." is the email address