I'm noticing what seems to be a recurrence of an issue that was mentioned here a year or so ago in the following thread:
https://groups.google.com/forum/#!searchin/mu-discuss/twice|sort:relevance/mu-discuss/UWsUevRn1Mw/77YMxtJySjMJThe
first time a newly arrived email is viewed, its inline images are not
displayed. However, if I exit back to header mode and view the message a
second time, the inline images will then show up.
The problem seems to be related to the following: in mu4e-view.el, there is a function called
mu4e~view-show-images-maybe. Within that function, see the following line:
(let ((imgfile (mu4e-message-part-field part :temp)))
The first time a message with an attachement is viewed, "imgfile" is set to nil. Only after exiting back to the headers buffer and viewing the message a second time does
(mu4e-message-part-field part :temp) return a non-nil result.
I'm guessing that there is some sort of caching or indexing of message parts that has to take place before `mu4e-message-part-field' will return a non-nil value. It appears that this caching or indexing doesn't take place until
after a newly arrived message is viewed for the first time.
I'm using the latest mu4e release: version 0.9.18 (under GNU emacs
25.1.13).
I also had the same problem under the previous mu4e version, 0.9.17.
Imagemagick is compiled into the emacs that I'm using, and I've
configured mu4e to use it. I'm using offlineimap to manage my email.
.