Ok, the following appears to work. I imagine the issue I had before was
probably not having some sort of `wait for <n>' piece.
(defun bms/mu4e-sometimes-silent-update-force ()
"Only show minibuffer information when explicitly called."
(interactive)
(setq mu4e-hide-index-messages nil)
(mu4e-maildirs-extension-force-update)
(sleep-for 5)
(setq mu4e-hide-index-messages t))
(defun bms/mu4e-front-keys ()
"For use on mu4e main menu screen."
(local-set-key (kbd "u") 'bms/mu4e-sometimes-silent-update-force))
(add-hook 'mu4e-main-mode-hook 'bms/mu4e-front-keys)
I tried adding a hook to `mu4e-index-updated-hook` since that seemed
cleaner, but couldn't get anything which worked.
> --
> You received this message because you are subscribed to the Google Groups "mu-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
mu-discuss+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Benjamin Slade
`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux .
https://gnu.org )
`(Choose Linux ,(Choose Freedom) .
https://linux.com )