3 ms·
The locking is only a problem because he's doing it wrong, I think. I'm doing this: http://notes.secretsauce.net/notes/2014/12/12_mu4e-and-desktop-notifica
by dima55 8y ago
The locking is only a problem because he's doing it wrong, I think. I'm doing this:
http://notes.secretsauce.net/notes/2014/12/12_mu4e-and-desktop-notifications.html
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.
- f6e9ed793b 8y agoThat 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)).