<div dir="ltr"><div dir="ltr"><div>For some emails, notmuch-vim crashes. I can't figure out the reason for this. The stack trace is:</div><div><br></div><div>Error detected while processing function <SNR>13_search_show_thread[10]..<SNR>13_show:<br>line   39:<br>NoMethodError: undefined method `mime_type' for nil:NilClass<br>eval:22:in `block (2 levels) in <main>'<br>eval:8:in `each'<br>eval:8:in `block in <main>'<br>eval:323:in `render'<br>eval:4:in `<main>'<br>eval:8:in `command'<br>eval:8:in `<main>'</div><div><br></div><div>The error seems to only come up for multi-mime emails, but then also not all of them. It seems like the error is that find_first_text returns nil, but that can only happen if the message doesn't have any content-type "text/plain" or "text/html" AFAICT, but I checked: It does both. GMail doesn't have any problems reading that same email.</div><div><br></div><div>Any ideas? Thanks.<br></div><div><br></div><div>- Nicolas<br></div></div></div>