Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My dotfiles are online if anyone wants to take a look at the actual configuration I use:

https://bitbucket.org/sjl/dotfiles/

https://github.com/sjl/dotfiles



Good post, thanks!

Do you (or anyone else reading this for that matter) have any insight on how gmail -> imap works with labels when a single message has multiple labels? For example an email may be tagged with "clients" "$JOBNAME" and "receipt". Does it put multiple copies of the message in the local cache, or does it do a hard link, or ...?


Gmail's IMAP is unfortunately broken; they implement labels as folders, not tags. This means that the same message in "All Mail", "Inbox", and "Notifications" are three different messages that happen to have the exact same content and almost identical headers/metadata.

So, by default, you're going to be storing multiple copies of each message. It's not a difficult task to use hardlinks instead if you want, but mutt can't make this judgement by itself, because not all of the metadata is identical, and mutt is designed for the general case, not specifically for Gmail.

Note that this is a Gmail issue, not strictly a mutt issue; other IMAP providers don't all have this awkward behavior.


Great writeup. Have you checked out mutt-kz[1]? It is a mutt fork with fairly seamless notmuch integration.

[1] https://github.com/karelzak/mutt-kz




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: