Re:Guide to email in Emacs using mu and mu4e
by dima55 on Friday October 05, 2018 @03:31PM
(#18151030)
The locking is only a problem because he's doing it wrong, I think. I'm doing this:
I.e. there's an external script that invokes IMAP IDLE. And when IMAP tells it there's new mail, the script tells EMACS there's new mail. Then the reindexing happens within the emacs, and it uses the lock it already has. Makes this particular issue go away completely.
[ Parent
| on HN ]
Re:Guide to email in Emacs using mu and mu4e
by f6e9ed793b on Friday October 05, 2018 @04:42PM
(#18151575)
That must be it. I also trigger mu4e indexing using emacsclient, after IMAP sync. BTW you do not need to have mu4e open to index mail (and single-window mu4e mode will not have a * mu4e-main * buffer), it is enough to (progn (require 'mu4e) (mu4e-update-mail-and-index)).